-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hello,
I'm trying to develop an executable using swift on my rasp PI using the BLE module.
I'm trying to use your library but once it tries to resolve the dependency I experience a lot of issue particularly they seems to be related to name space issues.
/home/pi/Desktop/RaspberryBLE/.build/checkouts/SwiftLinuxBLE/Sources/SwiftLinuxBLE/Characteristic.swift:10:44: error: no type named 'Permission' in module 'GATT'
var permissions: BitMaskOptionSet<GATT.Permission> { get }
/home/pi/Desktop/RaspberryBLE/.build/checkouts/SwiftLinuxBLE/Sources/SwiftLinuxBLE/Characteristic.swift:11:43: error: 'Descriptor' is not a member type of generic struct 'GATT.Characteristic'
var descriptors: [GATT.Characteristic.Descriptor] { get }
// ... and so on
I think that probably they are due to a missmatched versions between the current version of SwiftLinuxBLE and the PureSwift side.
The swift version I have installed on my Raspberry is the 5.5, using the latest 64 version of Rasperry PI OS, but I also experience the same issue while tryins to build on macOS.
Have you any suggestions about how the get rid of this errors and make the library compile?
Best,
Andrea
Metadata
Metadata
Assignees
Labels
No labels