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

LE Secure Connections compatible with Android

I have my own BLE application on the nRF52832 with SDK 11 and SD 2.0.0 that communicates to my own android app on a sony xperia z3 compact. The Android version is 6.0.1 and the tech-specs of the xperia say it's bt 4.0 compatible.

I'd like to implement Secure Connections Pairing because LE Legacy Pairing is insecure. As BT 4.2 is supposed to be only a software update from 4.1 and 4.0, I thought it could be possible with my Android version. Unfortunately, I cannot find any notes about any Android version supporting BT 4.2 and if I activate LE Secure Connections in my nRF, the pairing does not work.

Has anybody succeeded trying to implement LE Secure Connections for communication with an Android device?

Parents
  • LESC is supported on our test Sony Z3 compact Android 6.0.1

    What is the issue with yours ?

    Note that if you are testing with the example ble_app_multirole_lesc, you would need to press button 1 when pairing. It's using Numeric confirmation as the MITM mechanism. You need to use UART to get the prompt.

    Also if you are bonding using the Bluetooth Setting, the phone disconnect automatically right after bond process. If you want to keep the connection, please use an app, nRF Connect for example.

  • I'm not quite sure what the problem is. I hope to be able to do some tests in the next few days with your example programms. But I'll have to modify them anyway, because we have custom hardware with no real i/o capacity, which is why I'm using a static passkey. Or maybe, I'll just output the comparison numbers to the terminal. I'll come back, when I know more. Thanks so far.

Reply
  • I'm not quite sure what the problem is. I hope to be able to do some tests in the next few days with your example programms. But I'll have to modify them anyway, because we have custom hardware with no real i/o capacity, which is why I'm using a static passkey. Or maybe, I'll just output the comparison numbers to the terminal. I'll come back, when I know more. Thanks so far.

Children
No Data
Related