Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 4

Anonymous
Not applicable

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

0 Likes
1 Solution
SayaniS_66
Moderator
Moderator 10 likes received First like received
Moderator

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.

View solution in original post

2 Replies
SayaniS_66
Moderator
Moderator 10 likes received First like received
Moderator

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.

Anonymous
Not applicable

Thank you, worked

0 Likes