- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a device ('PSoC 4200 BLE CY8C4247LQ*-BL483') that is advertising and provides additional scan request data.
I am trying to detect when a central device sends a scan request.
I have enabled the event mask using the command:
CyBle_SetAppEventMask(CYBLE_EVT_GAP_SCAN_REQ_RECVD);
and I expect the AppCallBack event: CYBLE_EVT_GAP_SCAN_REQ_RECVD to be generated but it is not.
I know that a scan request was sent and responded to because the central device receives the additional advertising data.
This event mask functionality is new(?) so is it possible that this is a bug?
Thanks,
George
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello George,
You should enable the event mask using this -> CyBle_SetAppEventMask (CYBLE_EVT_GAP_SCAN_REQ_RECVD_MSK).
I have attached a project implementing this. Please go through it and let me know if you have any other queries.
-Sayani.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, worked