How to do a GapAuthPassKey static?

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

cross mob
DaGa_4352226
Level 2
Level 2
10 questions asked 5 replies posted 5 questions asked

hello community,

I am working with a device witch has only a BLE chip, (PSOC 6) no LCD screen and I want to do a the authentication request with a  static GapAuthPassKey.

is it posible to hard code the six nummbers in my chip?

Regards,

David

0 Likes
1 Solution
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello David,

Please use the API Cy_BLE_GAP_AuthPassKeyReply(), this function is called to pass 6 digit passkey in reply to passkey entry request event CY_BLE_EVT_GAP_PASSKEY_ENTRY_REQUEST received by the BLE Stack. This function is used to accept the passkey request and send the passkey or reject the passkey request.

Please refer to this API in the BLE component PDL Documentation in PSoC Creator. In PSoC Creator, Right click on the BLE Component ->click on "Open PDL Documentation".

Thanks,

P Yugandhar.

View solution in original post

0 Likes
1 Reply
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello David,

Please use the API Cy_BLE_GAP_AuthPassKeyReply(), this function is called to pass 6 digit passkey in reply to passkey entry request event CY_BLE_EVT_GAP_PASSKEY_ENTRY_REQUEST received by the BLE Stack. This function is used to accept the passkey request and send the passkey or reject the passkey request.

Please refer to this API in the BLE component PDL Documentation in PSoC Creator. In PSoC Creator, Right click on the BLE Component ->click on "Open PDL Documentation".

Thanks,

P Yugandhar.

0 Likes