CoreBluetooth implementation in SwiftUI

Hi there!

I’m looking to implement CoreBluetooth to connect to a BLE device as soon as the application opens.

I based made my own implementation based on a UIKit project that works and is handled as an slider.

I haven’t been able to implement the SwiftUI version or the UIKit project inside. However the UIKit version when using the wrapper to implement it in the SwiftUI project it just keeps taking up space on the screen and haven’t been able to implement a proper way to send the BLE device Int8, [Int8] or Strings successfully.

I want to have buttons that send predetermined values to the BLE.