Hello,
I'm implementing an observer/peripheral device that would read the RSSI value from a device with an specific UUID.
I'm aware I can create a rssiCallback function and put it into this function array like this:
static gapRolesCBs_t simpleBLEPeripheral_PeripheralCBs =
{
peripheralStateNotificationCB, // Profile State Change Callbacks
rssiCallback, // When a valid RSSI is read from controller (not used by application)
observerEventCB
};
but of course I think this would detect any RSSI from any advertising device, right?
So, where is the relevant function and file in which I could read the RSSI with precondition checking?
Thanks for your help
Best regards,
Ernesto