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

Studio Bluetooth Forum Discussions

suwe_4183436
Level 1
Level 1

I can pair it to the exact same headset with the exact same firmware with 3 out or 4 of our boards.

The Bluetooth module works fine otherwise.  I can communicate with it just fine.

I get the error code:

HCI_CONTROL_EVENT_PAIRING_COMPLETE

Fail: 5

When I place the headset, literally on top of the bluetooth module, it sometimes pairs.

once connected, I get reasonable distance for audio, so it does not seem to be a hardware issue.

Is there an issue during pairing that we should be aware of?

thank you

0 Likes
2 Replies
AnjanaM_61
Moderator
Moderator
Moderator
First comment on KBA 5 questions asked First question asked

Hi suwe_4183436 ,

Error code 5 seems to be SMP_PAIR_NOT_SUPPORT - means pairing is not enabled.

Can you please recheck if you have enabled pairing or not ? Please check the IO capabilities auth_req in your firmware.

Are you using any demo example available in WICED or custom application you developed?

Which WICED SDK version you are using ? If possible please share the code and steps to reproduce your issue.

Regards,

Anjana

Note:

If you are using CYBT-343026 , hope you looked into KBA Platform Files for CYBT-343026-EVAL – KBA221025

We are using WICED SDK 6.4.

pairing is enabled.

p_event_data->pairing_io_capabilities_br_edr_request.auth_req = BTM_AUTH_SINGLE_PROFILE_GENERAL_BONDING_NO;

The pairing is inconsistant.  3 of 4 modules pair just fine, but the 4th one just will not pair and continues to give the same fail error code.

The demo example I am using is hci_audio_gateway.

I have used both the client control GUI and our MCU command.

app_host_ag_connect(&g_bt_state.periphs.paired_keys.mac_addr[0]);

Both result in the same issue.

0 Likes