Skip to content

IpadOS 17.5.1 "Encryption is insufficient." when subscription #764

@gtedeschi

Description

@gtedeschi

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:

  1. scan device
  2. connect (disconnect - close - connect )
  3. list services
  4. list characteristics
  5. subscribe to service - characteristic
  6. write to service - charateristic
  7. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions