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.
You will get a BLE_GAP_EVT_ADV_REPORT event when an advertisment is recieved.
You will get a BLE_GAP_EVT_ADV_REPORT event when an advertisment is recieved.