Where can I find a working application that has an observer callback function (not a beacon) . this application must have also the broadcaster callback function.
Where can I find a working application that has an observer callback function (not a beacon) . this application must have also the broadcaster callback function.
Please have a look at the ble_app_hrs_rscs_relay example in the ble_central_and_peripheral folder in SDK 11. This example on GitHub may also be of interest, it is made for an older SoftDevice and SDK though.
Look like this application is advertising the observation data from observed sensors (RSC Measurement (0x2A53) and HRS Measurement (0x2A37) ). I am seeking an example application that the nRF51 is on a BLE (RF) observation mode or can be set into BLE observation mode.
It is advertising (broadcasting) and scanning (observing). If this is not what you need, could you elaborate a bit?
Can you please specify in which function can I set a breakpoint to get the data of another advertising node?
You will get a BLE_GAP_EVT_ADV_REPORT event when an advertisment is recieved.