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

peer to peer mode for three Bluetooth devices

Hi everyone,

I would like to build the Bluetooth network having three devices such that any two of them could communicate with each other. Is it possible to do it with nrf52832 and s132? If it is, would that mean each device should be implemented as a master and slave at the same time and where can I find some examples and materials about it?

Thanks in advance.

Duncan

Parents
  • Hi Duncan

    You can do this with the S132, yes, as it supports both peripheral and central links running concurrently. 

    The easiest way would be to make one device connect to the other two devices as a central, one device needs to connect to the other two devices as a peripheral, and the last device needs to connect to one device as peripheral and one as central. 

    Then they should all have a connection with each of the other two devices. 

    We don't really have any examples for this use case, but the ble_app_hrs_rscs_relay example might be a good place to start. 
    This example sets up 2 central links and one peripheral link on a single nRF52 device, making it somewhat similar to your use case. 

    Best regards
    Torbjørn

Reply
  • Hi Duncan

    You can do this with the S132, yes, as it supports both peripheral and central links running concurrently. 

    The easiest way would be to make one device connect to the other two devices as a central, one device needs to connect to the other two devices as a peripheral, and the last device needs to connect to one device as peripheral and one as central. 

    Then they should all have a connection with each of the other two devices. 

    We don't really have any examples for this use case, but the ble_app_hrs_rscs_relay example might be a good place to start. 
    This example sets up 2 central links and one peripheral link on a single nRF52 device, making it somewhat similar to your use case. 

    Best regards
    Torbjørn

Children
Related