cancel
Showing results for 
Search instead for 
Did you mean: 

Studio Bluetooth

MaCh_4826131
New Contributor II

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

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

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