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

Can central board comunication with peripheral board and other central board

Hi all , I have one question . I have 3 board NRF : 1 peripheral and 2 central board . I want to transmiss data from peripheral board to central board 1 then from central board 1 to central board 2 . I want to ask Can central board comunication with peripheral board and other central board ? If it is impossible , pls give me a example for it . Thank very much

  • In BLE there are only peer-to-peer links and roles on them are always asymmetric. So if you want to connect you always need one Master and one Slave and these roles must be taken from the beginning (broadcasting/scanning phase). On higher layer we usually talk about GAP Central (= Master) and Peripheral (= Slave) but that's just different vocabulary for almost the same. So no, you cannot connect Master to Master (Central to Central). Luckily for you this is basic problem which was solved many years ago by fact that basically all BLE stacks today (from any vendor on almost every HW) support multi-roles. So solution to your problem should be: each device is concurrent Peripheral and Central and once they detect good match of roles they simply connect. Alternatively you can somehow pre-provision the topology so each device will know exactly what role it should use when it wants to communicate with specific peer.

  • Hi endnote , I understand what you mean each board is concurrent Peripheral and Central .So My problem can be solved . But I dont know where to find the example for that . Can you give me an example for that ? Thank you very much

Related