How to fix the wiced_bt_dev_get_bonded_devices() API always return 0x1FA7 error code issue on CYW20719-B1 platform?

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

cross mob
LixinD_46
Employee
Employee
10 replies posted 5 replies posted 10 questions asked

Hi

WICED platform: 6.0.0.43

Chip Platform: CYW20719-B1

Issue Description:

When invoke the wiced_bt_dev_get_bonded_devices() API, the always return 0x1FA7 error code, and the input value of *p_num_devices didn't been set to 0 even failed.

So doesn't this API really supported? If it's supported, how to fix this issue.

Thanks,

Dudley

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

It appears that this API is only available when using a version of the WICED stack that handles key storage on your behalf. However, currently all the sample apps handle key storage using the NVRAM APIs. In order to read out the list of bonded devices, you will need to read out the NVRAM that is storing the keys+BD_ADDRs (as the apps do on every boot to load in the key data).

It's not clear why these APIs are exposed if they are not supported. I will look into it further.

Jacob

View solution in original post

3 Replies
ShengY_96
Employee
Employee
10 sign-ins 5 sign-ins Welcome!

Hi Dudley

Issue can been reproduce in my side. Per the wiced_result_t's comments, the eroor code:8103 meas: "Unsupported function".

Hi Jacob  jact

Could you please share some comments.

Regards

Jenson

0 Likes
JacobT_81
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

It appears that this API is only available when using a version of the WICED stack that handles key storage on your behalf. However, currently all the sample apps handle key storage using the NVRAM APIs. In order to read out the list of bonded devices, you will need to read out the NVRAM that is storing the keys+BD_ADDRs (as the apps do on every boot to load in the key data).

It's not clear why these APIs are exposed if they are not supported. I will look into it further.

Jacob

Lavanya
Level 3
Level 3
25 sign-ins 5 questions asked 10 replies posted

Hi,

Is this still not supported. We need to know howmany devices are connected bonded.

wiced_bt_dev_get_bonded_devices seems always returning unsupported. Can some one give us solution how to find the bonded devices.

0 Likes