This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Connection issues pc-ble-driver-py with android 10 and IOS 13

Hello,

I am emulating the behaviour of a device doing this operations (Using pc-ble-driver-py 0.14.0 and nrf52840 dongle):

  1. Is connected by a smartphone app
  2. Exchanged data on a custom service with two custom characteristic:
    1. One characteristic is for pushing notifications and it's readable by the client.
    2. The other is writable by the client with and without response.

Tested with the app that my colleagues are developing and with nrfConnect for mobile we had different results: on many phones the mobile app and the device simulator that I am developing works correctly, we've been able to use the device simulator to test the mobile app. In some cases we had issues on the connection process, here's a brief list of the results of our tests;

  • On an Iphone XR running IOS 13.2 the mobile app performs the connection but could'nt enable notifications logging a "Write not authorized" error, nrfConnect remains stucked in "Connecting..." status and does not show the service and characteristic table. We repeated the test on that hardware updating to IOS 13.3 version and the results were the same.
  • On an Iphone 7 running IOS 13.3 nrfConnect works fine and can enable notifications but we could'nt test the mobile app for other reasons.
  • On an Android 10 device both the mobile app and nrfconnect aren't able to write on the CCCD to enable notifications. nrfConnect shows the "Write not permitted" label.
  • On an Iphone 6s a wety weird thing happened:
    • with a first nrf52840 dongle it worked fine
    • on a second nrf52840 dongle issued in 2018 but identical to the previous one (same hardware revision, same firmware loaded) we had the problem of enabling notification on both the mobile app and nrfConnect.

We tested all the phones with another smartphone running nrfConnect as a GATT server, and we tested with an older version of the emulated devices and it worked fine.

Best Regards,

Mirko

Parents Reply Children
No Data
Related