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!

Related