- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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( ¶ms, &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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.