OVMS3-idf/components/bt
wangmengyang 61bd453c15 component/bt: implement AVRCP Target APIs
1. Add more notification events to the enum according to the event list in AVRCP specification.
2. Add API and callback events for basic AVRCP target functionalities to do init, deinit, callback-registration, connection status indication.
3. Implement API to set/get supported PASSTHROUGH command on local AVRCP TG, implement callback events for remote passthrough command indication.
4. Implement API to set/get supported notification eventIDs on local AVRCP TG, implement API to send event notifications to remote CT. \
   Currently supported event in TG only includes ESP_AVRC_RN_VOLUME_CHANGE(0xd), which can be extended in later commits.
5. Implement callback events for SetAbsoluteVolume command indication on TG.
6. Add limitation of event_ids supported in RegisterNotification command in CT. The supported event_ids include: \
   ESP_AVRC_RN_PLAY_STATUS_CHANGE(0x1), ESP_AVRC_RN_TRACK_CHANGE(0x2), ESP_AVRC_RN_PLAY_POS_CHANGE(0x5), ESP_AVRC_RN_VOLUME_CHANGE(0xd).
7. Add feature bit mask in parameter of callback event ESP_AVRC_CT_REMOTE_FEATURES_EVT for peer feature information got from SDP.
8. Add API and callback event to AVRCP CT to retrieve remote TG's supported notification event capabilities.
9. Modify data type for parameter of callback event ESP_AVRC_CT_CHANGE_NOTIFY_EVT.
10. Change AVRCP version from 1.3 to 1.4 for compatibility cause in using AbsoluteVolume feature.
11. Modify local AVRCP device to be category 1 as CT and category 2 as TG that applies to bluetooth headphones or speakers.
12. Update the use of AVRCP APIs and events in the two examples: a2dp_sink and a2dp_gatts_coex, which include the demo of volume control and notification.
2019-04-10 16:34:13 +08:00
..
bluedroid component/bt: implement AVRCP Target APIs 2019-04-10 16:34:13 +08:00
include components/bt: Add precautions for esp_vhci_host_send_packet 2019-01-31 11:47:58 +08:00
lib@3928105411 components/bt: Fix disconnect with apple device 2019-04-03 17:22:01 +08:00
test bt: Fix unit tests build with CMake 2018-11-28 15:19:04 +08:00
bt.c misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
CMakeLists.txt component/bt: implement AVRCP Target APIs 2019-04-10 16:34:13 +08:00
component.mk build system: Add a compatible old GCC flag 2018-09-20 18:53:14 +08:00
Kconfig Component/bt: add BLE adv report flow control 2019-03-12 11:10:26 +08:00