Bluetooth Low Energy on iOS
-
I have implemented the new Bluetooth Low Energy API from 5.5 in my project on Android (Love it by the way! Took me about an hour to implement and hookup all the callbacks. Before I had a JNI layer that took me several days to write and debug). I started looking at implementing the new Bluetooth Low Energy API on iOS, but realized I am not sure how to connect to a peripheral. iOS does not give back an address, it just hands back a UUID, but QLowEnergyController expects a QBluetoothAddress...
Has anyone connected to a ble device from an iOS device? How do you tell the QLowEnergyController what the remote address is? I can use the QBluetoothDeviceDiscoveryAgent on the iOS device to find the ble devices but they come back with all 0's for the address, a name, and a UUID.
What am I missing?
-
I have implemented the new Bluetooth Low Energy API from 5.5 in my project on Android (Love it by the way! Took me about an hour to implement and hookup all the callbacks. Before I had a JNI layer that took me several days to write and debug). I started looking at implementing the new Bluetooth Low Energy API on iOS, but realized I am not sure how to connect to a peripheral. iOS does not give back an address, it just hands back a UUID, but QLowEnergyController expects a QBluetoothAddress...
Has anyone connected to a ble device from an iOS device? How do you tell the QLowEnergyController what the remote address is? I can use the QBluetoothDeviceDiscoveryAgent on the iOS device to find the ble devices but they come back with all 0's for the address, a name, and a UUID.
What am I missing?
@csanders Bump this. I've got the same issue. Anyone at Qt able to shed some light on why it's so difficult to perform these features on iOS?
I'm assuming it's something to do with Apple's MFi?