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

[nRF51822] Connectable Indirected advertising after pairing was done.

Hi sir In Desktop 2, before BTLE pairing, nRF51 uses Connectable Indirected advertising. After BTLE pairing with BTLE host, nRF51 will select Directed advertsing for saving connection time. Could nRF51use Connection Indirected advertising type to the BTLE host which was already paired with it? Then, like mouse or keyboard device, can they still work well?

Regards, Jeffery

Parents Reply Children
  • The encryption keys are handled by the bond manager, and written to flash once a bond has been successfully established. You should therefore look at the ble_bondmngr.c file to see how it's stored. Encryption keys are generated when a bond is first established, and then reused on all subsequent connections.

    What you want to do is not trivial, and as I said, I'd normally not recommend anyone going down this path.

Related