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

Studio Bluetooth

MaCh_4826131
Level 1
25 sign-ins 10 sign-ins 5 questions asked
Level 1

Hi I am trying to automatically pair with a known MAC address bluetooth headphone and establish a A2DP connection with it (without HCI).

I have looked through demo/watch, however I still can't seem to connect to the bluetooth headphones.

I have set the bluetooth device to be connectable, discoverable and pairable and it is able to find the headphones using wiced_bt_start_inquiry( &params, &inquiry_result_cback). Do i use wiced_bt_dev_sec_bond(); to establish a connection to the headphones?

Any help would be greatly appreciated, I have been stuck on this for the whole week.

0 Likes
1 Solution
Owen_Zhang123
Moderator
Moderator 500 solutions authored 250 sign-ins 1000 replies posted
Moderator

Please refer to the function a2dp_app_hci_control_connect() and avrc_app_hci_connect() to create a connection.

The wiced_bt_dev_sec_bond() is used to initiate the pairing procedure.

View solution in original post

0 Likes
1 Reply
Owen_Zhang123
Moderator
Moderator 500 solutions authored 250 sign-ins 1000 replies posted
Moderator

Please refer to the function a2dp_app_hci_control_connect() and avrc_app_hci_connect() to create a connection.

The wiced_bt_dev_sec_bond() is used to initiate the pairing procedure.

0 Likes