This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Communicate with two Nrf51822

I want to Communicate with two Nrf51822 device

The slave (S110 SDK6.1) will do a echo function . For example Get uart data and will send out same data but over BLE. And get data by BLE will send it out over UART.It tested by mobile,it's ok.

And I try to use the master Nrf51822 device to do the same thing, let two devices Communicate. (s120 nrf51_2.1 SDK 9.0 ) I use the project in the SDK .

C:\Keil_v5\ARM\Device\nRF51_SDK_9.0.0_2e23562\examples
ble_central\ble_app_multilink_central\pca10028\s120\arm5_no_packs

I Can let two devices's BLE connected .(Use LED to show it's connected or not ). But I don't know how to send data from Master to the Slave over BLE.

My question is,it's there a function or command that can do the thing i want? Send data from Master to Slave by BLE?

Please,if anyone have some direction or suggestion please let me know. Thank you.

  • You should be able to connect more peripherals (slaves), but I believe the example is made to connect to one peripheral. You can have a look at the multilink example, found in \examples\ble_central, and see how multiple connections are handled there. Changing the slave UUID may let you connect, but it wouldn't really work, because the discovery module wouldn't find the service. If there is a relationship between the UUID and the device name? It could be, depends on what you set the device name to be...

  • Thank you again.Your support really give me a big help.

Related