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

Communication between two nRF52840 boards through BLE

Hello,

I have 2 pieces of nRF52840 and I managed to connect each other. One is central, uploaded the code: 'nRF5_SDK_15.3.0_59ac345\examples\ble_central\ble_app_multilink_central' and the second is peripheral, with the code: 'nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral\ble_app_blinky\'.

The problem is that I don't know how to communicate each other/ send a string from central to peripheral and when the peripheral receives that string, to do something.

Do you have an example code or how can I do this?

Thank you.

Related