A2DP auto connect with smart phone

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

cross mob
anhnhancao
Level 1
Level 1
10 sign-ins 5 sign-ins First reply posted

Dear all,

I owned a CYW20721B2 evaluation KIT and want to run A2DP profile on it.

Everything seems to work fine if the device doesn't lose bluetooth connection, then the connection can not be automatically

re-established.

Is there a way to automatically reconnect after disconnection? 

I really appreciate for your help.

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hello,

If you want to reconnect from 20721 side, Can you try using the below API for reconnection depending upon your application requirement  :

wiced_result_t wiced_bt_a2dp_sink_connect( wiced_bt_device_address_t bd_address );

Thanks & Regards,

Anjana

View solution in original post

0 Likes
1 Reply
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hello,

If you want to reconnect from 20721 side, Can you try using the below API for reconnection depending upon your application requirement  :

wiced_result_t wiced_bt_a2dp_sink_connect( wiced_bt_device_address_t bd_address );

Thanks & Regards,

Anjana

0 Likes