Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

what happened when changing BLE state? From Advertising to Connection, Connection to Bonding.

hi guys,

Can you please tell me what is happening when a smart phone trying to connect to nrf51822? Any event I could use? Would the connecting process has any impact on other modules like fifo uart, fds, peer manage? 

Thank you for your support.

Parents
  • Hi,

    When you try to connect to a device with your phone, a connection request will be sent from the phone to your device. When they are connected, an EVENT is triggered, BLE_GAP_EVT_CONNECTED. You can use this event if you want the device to do something after they have connected. The connecting process shouldn't have any impact on other modules.

Reply
  • Hi,

    When you try to connect to a device with your phone, a connection request will be sent from the phone to your device. When they are connected, an EVENT is triggered, BLE_GAP_EVT_CONNECTED. You can use this event if you want the device to do something after they have connected. The connecting process shouldn't have any impact on other modules.

Children
Related