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

doubt on central and peripheral device

Hi, I am using SDK v12.2 and gcc compiler. S132 softdevice for nrf51822 controller. And i am using s132 softdevice. I want to connect multiple nrf51 devices (approx. 14) for sharing data among themself. So, i think i will have to use 2 central and other peripheral device, right? Or is it possible to use all as central?

In SDK there is an example as "examples/ble_central/ble_app_multilink_central/". So is this means there can be multiple central devices can connect and share the data?

Parents
  • No, you cannot use S132 on nRF51, that won't work. Then it seems you are mixing basics (like that BLE link must have always Master and Slave, in case that your devices support GAP layer then they are called Central and Peripheral etc.) Are you sure you don't want to start with some more reading on the internet before going into development of embedded FW with BLE radio stack?

    To your topic of "multiple" connections by one device:

    • All BLE connections (now excluding some higher-level architectures like mesh network) are peer to peer. So if your device needs to be connected to more then one peer it must support parallel connections (and these will be "logically independent" in the system).
    • Luckily for you basically all modern BLE chips and stacks support multiple connections. However they typically support multiple Master (GAP Central if you want) roles and only one Slave (GAP Peripheral). That kind of limits your possible topologies.
    • Again latest Nordic stacks on nRF52 chips go beyond this limitation and support up to 20 links with whatever Master/Slave configurations so if you choose that HW you can do pretty anything.
    • And finally yes, multilink example from SDK is goo thing to read for inspiration if you do such FW on nRF5x.
  • Yes, that should work. Is there anything unclear on the topic of this question? If net then let's close it.

Reply Children
No Data
Related