Central and Server PSoC4s with authentication and encryption real example

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

cross mob
lock attach
Attachments are accessible only for community members.
HeGi_2497906
Level 5
Level 5
100 replies posted 50 replies posted 25 replies posted

We have worked this till we can try no more, it just will not connect and pair....we have two bundles, a remote and a controller.  They are both PSoC4s, the remote is central the controller is server, the pin is 000000, it connects, but will not pair, we have a security mismatch we cannot find, please see if you can help us, we have spent a ton of time on this and just cannot seem to get it to work.

The server works perfectly with the smartphone based app.  We are really stuck here, please do not just refer us to the 100 projects git, we have read them all.ChaitanyaV_41​@

Herb

0 Likes
1 Solution
GyanC_36
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hello Herb,

   In both of the projects , I/O capabilities are not set properly and hence devices will not perform Authenticated Pairing procedure.

For Passkey Pairing procedure , You need to have Keyboard/Display capabilities such that if one device displays the key ,other one has to enter it.

You could refer BLE Spec's "Pairing Method" Section for more details. Here is the spec link - https://www.bluetooth.com/specifications/bluetooth-core-specification/

-Gyan

View solution in original post

1 Reply
GyanC_36
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hello Herb,

   In both of the projects , I/O capabilities are not set properly and hence devices will not perform Authenticated Pairing procedure.

For Passkey Pairing procedure , You need to have Keyboard/Display capabilities such that if one device displays the key ,other one has to enter it.

You could refer BLE Spec's "Pairing Method" Section for more details. Here is the spec link - https://www.bluetooth.com/specifications/bluetooth-core-specification/

-Gyan