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

Can I bond master when conected?

In the example of hid_mouse, ble device will bond master when disconnect event happen.

I try to add this two codes to Implement my idea.

            err_code = ble_bondmngr_bonded_masters_store();
            APP_ERROR_CHECK(err_code);

But when I did this error appears

error:-559038737 ...line:783 file_name:src\ll_lm.s0.c

It must be some info lack to save when ble device bond the master.

Before func "ble_bondmngr_bonded_masters_store()" runs, what should I get from master?

Or when can I bond master (before disconnect happen)?

Best wishes!

Parents
  • Thank you very much!

    SDK : nrf51_sdk_v4_4_2_33551 Softdevice: s110_nrf51822_5.2.1

    My chip is too old to run latest SDK v5.x and SD v6.x

    I just want to save white list info to non-volatile flash memory when I am connected to master, it seems impossible to do this in older version of SDK. I don't know whether can my version of SDK can do this or not.

    When I connect to the master at the first time, I should disconnect it to save whitelist info to connect auto to this master.

    If not do this , some issue comes:

    1. I can't connect auto to win8 PC
    2. I can connect auto to win8.1 but media button will become invalid.

    So how can I capture this in this version SDK of nrf51822?

Reply
  • Thank you very much!

    SDK : nrf51_sdk_v4_4_2_33551 Softdevice: s110_nrf51822_5.2.1

    My chip is too old to run latest SDK v5.x and SD v6.x

    I just want to save white list info to non-volatile flash memory when I am connected to master, it seems impossible to do this in older version of SDK. I don't know whether can my version of SDK can do this or not.

    When I connect to the master at the first time, I should disconnect it to save whitelist info to connect auto to this master.

    If not do this , some issue comes:

    1. I can't connect auto to win8 PC
    2. I can connect auto to win8.1 but media button will become invalid.

    So how can I capture this in this version SDK of nrf51822?

Children
No Data
Related