Hello,
I am trying to scan for advertising nearby peripheral devices (CC2540) using a device in central role (CC2540) (I am trying to modify simpleBLESwitch application). When I call "GAPCentralRole_StartDiscovery" function, the scan request is genrated by the central and in return, the peripheral role device also sends back scanRsp data. But the GAP_DEVICE_DISCOVERY_EVENT or GAP_DEVICE_INFO_EVENT are not set hence the "simpleBLECentralEventCB" call back function is not called by the application on the central.
Can anyone suggest a solution for this?
Thanks and regards,
Manan