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

nRF Master Control Panel in Android

I have developed my custom board and my custom application based on nRF51822 and S110-v8. It perfectly works with Master Control Panel v9.0: connection, bonding, dfu,... But when I try to test it with my Android device (v5.0) and nRF Master Control Panel, my custom board always disconnect when introducing the pairing key (static) in my Android device. So, why it is working with Master Control Panel v9.0 for Windows and I have such problems with Android? Is there any similar application for iOS?

Parents
    • I'm using the following firmware on my nRF51822-QFAC:

      • s110_nrf51_8.0.0_softdevice
      • DFU
      • My app
    • In what regards Android device, I have tried with Huawey-P8-Lite (v5.0) and Sony-XPeria-C5303 (v4.3)

    • Without passkey, my app is perfectly working with both Android devices.

    • With passkey, my custom board initially connects. Then, when I try to send something from Android device, it asks me to introduce the passkey and then: it says 'bonded' but disconnected.

    • The example you provide is the one I have followed to implement static passkey. The only difference to work with or without passkey is:

    • #define SEC_PARAM_BOND (1 with passkey) (0 without passkey)

    • #define SEC_PARAM_MITM (1 with passkey) (0 without passkey)

    • In services attributes: BLE_GAP_CONN_SEC_MODE_SET_ENC_WITH_MITM (with passkey) or BLE_GAP_CONN_SEC_MODE_SET_OPEN (without passkey)

Reply
    • I'm using the following firmware on my nRF51822-QFAC:

      • s110_nrf51_8.0.0_softdevice
      • DFU
      • My app
    • In what regards Android device, I have tried with Huawey-P8-Lite (v5.0) and Sony-XPeria-C5303 (v4.3)

    • Without passkey, my app is perfectly working with both Android devices.

    • With passkey, my custom board initially connects. Then, when I try to send something from Android device, it asks me to introduce the passkey and then: it says 'bonded' but disconnected.

    • The example you provide is the one I have followed to implement static passkey. The only difference to work with or without passkey is:

    • #define SEC_PARAM_BOND (1 with passkey) (0 without passkey)

    • #define SEC_PARAM_MITM (1 with passkey) (0 without passkey)

    • In services attributes: BLE_GAP_CONN_SEC_MODE_SET_ENC_WITH_MITM (with passkey) or BLE_GAP_CONN_SEC_MODE_SET_OPEN (without passkey)

Children
No Data
Related