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

Beaconing and periodic Pairing

I have two nRF52832 feather boards. Trying to set a simple connection between them so that board 1 sends beacons and board 2 receive them. Every few minutes, board 1 pair with board 2 and receive some data to update some data in board 1. 

Are there any templates in SDK for that?

Thanks

Parents
  • Hi

    The distinguishing feature of a beacon is usually that only broadcasts data, and does not accept connections. A "connectable beacon" will just be a normal BLE peripheral. If you want it to advertise as a beacon for a time, and then switch to connectable, you will need to stop advertising and reinitialize the advertising module with "connectable" settings. I'm afraid we don't have any examples doing exactly this already, but you can check out the BLE multiperipheral application and try implementing the beacon feature so the device switches between beacon and "connectable" mode. Either by the press of a button, or a timer/event being called.

    Best regards,

    Simon

Reply
  • Hi

    The distinguishing feature of a beacon is usually that only broadcasts data, and does not accept connections. A "connectable beacon" will just be a normal BLE peripheral. If you want it to advertise as a beacon for a time, and then switch to connectable, you will need to stop advertising and reinitialize the advertising module with "connectable" settings. I'm afraid we don't have any examples doing exactly this already, but you can check out the BLE multiperipheral application and try implementing the beacon feature so the device switches between beacon and "connectable" mode. Either by the press of a button, or a timer/event being called.

    Best regards,

    Simon

Children
No Data
Related