cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

saga_1136906
New Contributor

Hi everyone,

I'm trying to find a way to make two BLE modules communicate under password. I would like them to check a password, unique for both of them, defined in both modules and then connect if the check was successful. I read "Day016_Authentication" but I am confused because a new pw is always generated and in any case there is always a need for a screen and keyboard, which is not available to me.

Can someone help me?

Thank you

0 Likes
1 Solution
GyanC_36
Employee

You can use a fixed passkey for your application. Please refer attached project for setting a fixed passkey. If you do not have I/O capabilities for entering the passkey in other device , you can use API CyBle_GapAuthPassKeyReply() on request event CYBLE_EVT_GAP_PASSKEY_ENTRY_REQUEST.

-Gyan

View solution in original post

0 Likes
1 Reply
GyanC_36
Employee

You can use a fixed passkey for your application. Please refer attached project for setting a fixed passkey. If you do not have I/O capabilities for entering the passkey in other device , you can use API CyBle_GapAuthPassKeyReply() on request event CYBLE_EVT_GAP_PASSKEY_ENTRY_REQUEST.

-Gyan

View solution in original post

0 Likes