So, I finally managed to connect heartmonitor to my iPhone 5 running iOS 7.0.4 using a private BluetoothManager infrastructure similar to this tutorial . If you want to connect to some service (0xFFFFFFFF), the infrastructure detects the service 0x00002000 (I don’t know what it is, cannot find it anywhere) and it manages to contact it.
2014-02-13 14:58:41.640 HeartRate[1192:60b] BTM: connecting to device "Heartman_C152" 00:A0:96:20:3D:CD
2014-02-13 14:58:42.042 HeartRate[1192:60b] BTM: attempting to connect to service 0x00002000 on device "Heartman_C152" 00:A0:96:20:3D:CD
2014-02-13 14:58:42.545 HeartRate[1192:60b] BTM: connection to service 0x00002000 on device "Heartman_C152" 00:A0:96:20:3D:CD succeeded
2014-02-13 14:58:42.550 HeartRate[1192:60b] ____________________ CONNECTION SUCCESSFUL
2014-02-13 14:58:42.552 HeartRate[1192:60b] Connected Services Count: 1
2014-02-13 14:58:42.554 HeartRate[1192:60b] Connected Service(s): 8192
2014-02-13 14:58:46.643 HeartRate[1192:60b] Devices connected: (
"\"Heartman_C152\" 00:A0:96:20:3D:CD"
)
If I leave it like this, the device will be lost again after a few seconds. I think because I am not doing anything with this connection.
So, how do I access the service I'm connected to?
, . , API BluetoothManager BluetoothDevice. - ?
P.S.: GameKit, iOS, CoreBluetooth, Heartmonitor BLE.