Bug report: wiced_bt_get_identity_address(*,*) function fails

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.
StN__1917156
Level 4
Level 4
25 replies posted 10 replies posted 5 replies posted

Bug report: wiced_bt_get_identity_address(*,*) function fails outside of the power cycle when last device was paired.

Tested with: WICED 6.2.1 on CYBT-413034- EVAL (CYW-20719)

Attached is a hello_sensor example modified with couple lines to printout wiced_bt_get_identity_address result immediately after new connection is established and connected BT device’s Public address is available.

  1. As soon as a BT device is successfully paired/bonded,  wiced_bt_get_identity_address returns status Ok and correct identity address on every connection to the same BT device
  2. As soon as CYW 20719 is reset, with any further connections to the same paired/bonded device before,  wiced_bt_get_identity_address returns status Fail and wrong  identity address is reported in the result parameter.

If you publish the code behind the wiced_bt_get_identity_address function might give you more serious hint what could be wrong there, but right now – just wild guess – the IRK etc. data stored in the NVRAM and restored after reset to address resolution database is not enough for wiced_bt_get_identity_address to works properly.

Thanks

0 Likes
4 Replies