-
Notifications
You must be signed in to change notification settings - Fork 356
Description
Hi,
thank for your plugin, I need to thank all for your job!
I've a problems
I need to subscribe to service in a BLE device, in android there are no problems, but in IOS ( iPad 17.5.1) I'm not able to connect...
the steps are:
- scan device
- connect (disconnect - close - connect )
- list services
- list characteristics
- subscribe to service - characteristic
- write to service - charateristic
- get data
In the 5 step, I catch this errors:
{"error":"subscription","message":"Error Domain=CBATTErrorDomain Code=15 "Encryption is insufficient." UserInfo={NSLocalizedDescription=Encryption is insufficient.}"
In IOS I didn't see the device until the step 2 (after that is connected, but disconnect and connect repeatly) so I think that could be a OS problems?
I've read some threads, make different changes of code nothing works... I'm not sure if the problem Is the I need to pair device, if this is the problems, is possible pair with the plugin? It's a IOS problem?
I've tried also with ligthblue, I'm not sure that works with subscription and write...
the plugin version:
"name": "cordova-plugin-bluetoothle",
"version": "6.7.4",
best regards!