- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to make a custom project by referring the sample WATCH project provided as an example in ModusToolbox. I am doing this by extracting only the AVDT, AVRCP CT & TG APIs and neglecting all HCI related code. when I try to connect with peer with API wiced_bt_avdt_connect_req(), I am getting AVDT_DISCONNECT_IND_EVT in the callback. And also I am getting the Bluetooth management callback event BTM_SECURITY_FAILED_EVT sometimes. I have set like this av_app_cb.avdt_register.sec_mask = BTM_SEC_NONE; Please let me know if there's any potential cause for AVDT_DISCONNECT_IND_EVT and BTM_SECURITY_FAILED_EVT to happen.
Regards,
Tamilarasan C.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can test the demo and open the BTSpy log to compare with your own application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you want to create a A2DP connection? Please refer to the function a2dp_app_hci_control_connect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, for your reply. I am using that function, but I am getting AVDT_DISCONNECT_IND_EVT in the callback i.e. av_app_connect_request_cback.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can test the demo and open the BTSpy log to compare with your own application.