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

nrf52832 , switch central mode to peripheral mode

Hi, 

I have to nrf52832 , s132 modules working as peripheral and central.

I would like to get an idea and input on how to change central mode to peripheral mode.

The purpose of my project is to fetch the advertising device RSSI (nrf52832- peripheral)and then forward(nrf52832 central mode to peripheral mode) the data to another BLE module and publish the data.

1) How to change the operating modes?

2} What are the settings that i should consider at the peripheral that is advertising?

3)How can i proceed ?

4) How can i send the RSSI values of the advertising packet, in the scan report of central after changing in the operating mode to peripheral to advertise that data?

Thanks,

Uma

Parents Reply
  • I did go through relay example , let me know if i have understood it correctly.

    The connection parameters, scan parameters , for central to scan a peripheral and connect.

    The gap parameters and connection parameters are for peripheral to advertise and connect to central.


    So combining the two together, and checking device state if central or peripheral and their respective events.

    is what it refers to running both modes at the same time and there is no need to switch?

Children
No Data
Related