- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
i have found the bonding status of pairing event is changed when device is connecting.
i want to know what is bonding status. it is different with "wiced_result_t"
where the mean of bonding status is in?
i want to know bonding status value it have same with structure as below.
typedef struct {
uint8_t *bd_addr; /**< peer address */
wiced_bt_transport_t transport; /**< BT_TRANSPORT_BR_EDR or BT_TRANSPORT_LE */
wiced_bt_dev_pairing_info_t pairing_complete_info; /**< Transport dependent pairing complete infomation */
wiced_result_t bonding_status; /**< current status of bonding process to notify app of completion status of storing keys */
} wiced_bt_dev_pairing_cplt_t;
thanks.
- Labels:
-
WICED Studio Bluetooth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @hyhw_4628441 ,
If the Bonding status shows Success means both the devices have finished bonding. You can find the wiced_result_t values in /mtb_shared/wiced_btsdk/dev-kit/baselib/<chip>/<btsdk_version>/include/wiced_result.h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it is different with value in wiced_result.h
i have found the log as below.
Pairing Complete status:0 addr:98 2c bc 08 08 8a , trasport:1, bonding_status:0xdfa0
it triggered on BTM_PAIRING_COMPLETE_EVT, bonding status is not matched with value in wiced_result.h
please help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which BTSDK version are you using?
There is no bonding_status info generated in BTSDK2.9.
Following is the structure-
/** Pairing complete notification (BTM_PAIRING_COMPLETE_EVT event data type) */
typedef struct
{
uint8_t *bd_addr; /**< peer address */
wiced_bt_transport_t transport; /**< BT_TRANSPORT_BR_EDR or BT_TRANSPORT_LE */
wiced_bt_dev_pairing_info_t pairing_complete_info; /**< Transport dependent pairing complete infomation */
wiced_result_t unused;
} wiced_bt_dev_pairing_cplt_t;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My sdk version is 6.2
The bonding_status is same with unused of wiced_bt_dev_pairing_cplt_t. it just different name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So I believe you are using WICED Studio 6.2. Is it chip CYW20706?
I can see bonding_status in wiced_bt_dev.h, but the data type is wiced_result_t only. bonding_status is just the name which is bit confusing.
I would suggest you to use latest BTSDK version with ModusToolbox.