CYW20719 BLE Does Not Generate Local_Identity_Keys Events

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

cross mob
JoOr_4004241
Level 3
Level 3
25 sign-ins 10 replies posted 5 replies posted

I am using a CYBT-423028-EVAL board with CYBT-423028-02/CYW20719 dual mode Bluetooth BR/EDR + BLE module. I'm using WICED Studio 6.2 for software development and I'm connecting and pairing to the EVAL board using a CY5677 BLE 4.2 USB dongle with CySmart 1.3 software.

My application is configured to require an authenticated, bonded connection and everything is working as expected. On initial pairing I get the passkey from the CYW20719, enter it in the dialog box of the CySmart software and an authenticated, bonded connection is created. Subsequent connections always result in an authenticated connection using the keys stored by CySmart and by my application.

However, when I power cycle the EVAL board (CYW20719) a connection and pairing only results in an encrypted connection (no MITM protection). After some research, I believe the problem is that I don't see the BTM_LOCAL_IDENTITY_KEYS_UPDATE_EVT or BTM_LOCAL_IDENTITY_KEYS_REQUEST_EVT events in my bt_management_cback function so the local keys on the EVAL board are being regenerated each time the board is powered on (instead of restoring them from NV

memory).

What would prevent the BTM_LOCAL_IDENTITY_KEYS_UPDATE/REQUEST_EVT events from occurring?

0 Likes
2 Replies