Closed MasDevProject closed 4 months ago
Having same problem, any solution?
As a workaround we used a long timeout on ios platform..
BleClient.connect(deviceId, , { timeout: this.platform.is('ios') ? 60000 * 60 : 5000 })
This could potentially happen if there are no services to discover on the device, or service discovery somehow fails. Perhaps it's worth trying with another BLE program to confirm the service discovery phase is working correctly for your peripheral?
This could potentially happen if there are no services to discover on the device, or service discovery somehow fails. Perhaps it's worth trying with another BLE program to confirm the service discovery phase is working correctly for your peripheral?
BLE scanner works well, also nrF Connect on the same device
What services are available after connection?
It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot.
Have a great day! Capacitor Community Bot 💙
Describe the bug Using the following code on iOS the connection is interrupted after 5000ms even if the device is exchanging data. This happen only on iOS, on Android everything is ok. It seems that the connection is interrupted after the time specified in timeout parameter.
To Reproduce Use the code above
Expected behavior The timeout should interrupt the connection only if the devices is not able to exchange data.
Plugin version: