Commit Graph

1298 Commits

Author SHA1 Message Date
baohongde
b20d8cb16c component/hli: Fix hli queue send error 2021-01-06 14:22:08 +08:00
weitianhua
d2ddfa5183 Add A2DP Init and Deinit Complete Evt 2021-01-06 14:22:08 +08:00
baohongde
69fd702b1d Disable rmt debug log 2021-01-06 14:21:54 +08:00
weitianhua
f0206427b0 Rewrite av clean_up procedure 2021-01-06 14:21:54 +08:00
baohongde
1a78389a91 using dport instead of AHB in assert model 2021-01-06 14:21:54 +08:00
baohongde
1f152b5146 Waits for all previously fetched WSR and XSR instructions to be performed before interpreting the register fields of the next
instruction

delete logs about livelock
2021-01-06 14:21:54 +08:00
baohongde
73153d9bf6 Fix assert when start sscan twice 2021-01-06 14:21:54 +08:00
gengyuchao
6903865b9c Fix the int_enable_flag may not compile without bt problem 2021-01-06 14:21:54 +08:00
gengyuchao
1f286c2ba9 Add debug log for int enable 2021-01-06 14:21:40 +08:00
baohongde
a0226f1793 components/bt: ignore useless set scan mode command 2021-01-06 14:21:40 +08:00
gengyuchao
7f6c5585e2 Fix hci opcode check problem and add ble inten check 2021-01-06 14:21:40 +08:00
gengyuchao
b04afa39fe Add more check for hci timeout 2021-01-06 14:21:25 +08:00
baohongde
f1412a2799 components/bt: add bugfix for some risk item 2021-01-06 14:21:24 +08:00
xutao
b94eec73fa support moving the a2dp_sink task stack to external memory 2020-08-25 10:55:38 +08:00
baohongde
03affa7058 component/bt: Add Wide Bond Speech(WBS) and packet loss concealment (PLC) for HFP 2020-07-21 11:44:48 +08:00
wangmengyang
2612854838 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.
6. 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.
7. Implement callback events for SetAbsoluteVolume command indication on TG.
8. 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).
9. Add feature bit mask in parameter of callback event ESP_AVRC_CT_REMOTE_FEATURES_EVT for peer feature information got from SDP.
10. Add API and callback event to AVRCP CT to retrieve remote TG's supported notification event capabilities.
11. Modify data type for parameter of callback event ESP_AVRC_CT_CHANGE_NOTIFY_EVT.
12. Change AVRCP version from 1.3 to 1.4 for compatibility cause in using AbsoluteVolume feature.
13. Modify local AVRCP device to be category 1 as CT and category 2 as TG that applies to bluetooth headphones or speakers.
14. Update the use of AVRCP APIs and events in the two examples a2dp_sink a2dp_gatts_coex, which includes the demo of volume control and notification.
2020-07-21 11:44:36 +08:00
wangcheng
dcf351888e component/bt: remove duplicate events in r_lld_evt_end 2020-07-21 10:01:50 +08:00
gengyuchao
b6f67aebb3 Add more debug info for lmp and isr. 2020-07-20 17:10:10 +08:00
gengyuchao
a6e06d7711 Reopen BT Debug log func. 2020-07-20 17:10:09 +08:00
Joseph Tang
a7840de9d8 core dump update 2020-07-20 17:10:09 +08:00
gengyuchao
1e25c373c1 Close RMT Debug log temporary 2020-07-20 17:10:09 +08:00
zwj
1c382e94db add heap size check and optimize adv lsit refresh time 2020-07-20 17:10:09 +08:00
gengyuchao
293e02f32a Fix rmt dbg save size bug 2020-07-20 17:10:09 +08:00
gengyuchao
9b28e15688 Reduce rmt debug log size to 4k 2020-07-20 17:10:08 +08:00
baohongde
afde3607da components/bt: Fix using NULL data in LC_FREE 2020-07-20 17:10:08 +08:00
baohongde
34d2e45ab2 Fix no sent buf 2020-07-20 17:10:08 +08:00
gengyuchao
c534295225 Init log function in esp_bt_controller_init 2020-07-20 17:10:08 +08:00
gengyuchao
da66192023 Fix memery risk of rmt log,and return NULL if rmt log is unavailable 2020-07-20 17:10:07 +08:00
gengyuchao
aaf6c1a0d0 Change dbg log in one buffer 2020-07-20 17:10:07 +08:00
gengyuchao
f51a055736 Add save log function and API for rmt debug info 2020-07-20 17:10:07 +08:00
baohongde
d3fb83421c Fix some assert
data_len is 0 in ld_acl_data_tx
frcntl format error
sniff remove when active
rxlinklbl error in ld_acl_rx
Increase memory pool
2020-07-20 17:10:07 +08:00
baohongde
7552f9cad9 components/bt: Fix crash in ld_acl_tx
add fixed bug record into coredump
2020-07-20 17:10:07 +08:00
gengyuchao
5a522a8029 Change the hci timeout time for wait user to confirm dhkey rsp status. 2020-07-20 17:10:07 +08:00
weitianhua
69aa2121cc Fix audio underrun issue with oppo x20 2020-07-20 17:10:06 +08:00
baohongde
8a074d7b40 components/bt: Add debug for HCI timeout 2020-07-20 17:10:06 +08:00
baohongde
9d0d5a1b24 components/bt: Increase BTU queue size 2020-07-20 17:10:06 +08:00
baohongde
ac8f85c3dd Fix some assert
Fix ld_pscan.c line 249
Fix no FIFO in RX ISR
Fix HW error 16384, cased by DMA access memory too slow or fail
Set default log level to ERROR
2020-07-20 17:10:06 +08:00
baohongde
3b3467b884 components/bt: Make sleep available in hli 2020-07-20 17:10:06 +08:00
weitianhua
c85876ab51 1.Change position of tx free function before ld_read_clock
2.Comment out log.
2020-07-20 17:10:06 +08:00
baohongde
f2082ad2ea components/bt: Fix cache disable 2020-07-20 17:10:05 +08:00
weitianhua
3198b4861d Abbreviate ld_acl reschedule log for quicker process 2020-07-20 17:10:05 +08:00
baohongde
eb0ca8317a components/bt: Fix radio EM access error 2020-07-20 17:10:05 +08:00
baohongde
7e8e30c77e components/bt: Make sure good channel number is no less than 20 2020-07-20 17:10:05 +08:00
baohongde
ef64f1d56b components/bt: Fix assert when controller received an HCI but did not want it 2020-07-20 17:10:05 +08:00
gengyuchao
d3c1530745 Fixed rare bug in the ble mesh run outof btc queue. Change the task_post abort to abort_with_coredump. 2020-07-20 17:10:05 +08:00
baohongde
07dbcee626 components/bt: assert in host, to coredump param 2020-07-20 17:10:05 +08:00
baohongde
a3188d7fd9 Fix live lock in bt isr immediately 2020-07-20 17:10:04 +08:00
Li Shuai
c69c066641 Fix live lock int bt isr using cod multicore debug 2020-07-20 17:10:04 +08:00
weitianhua
7b20091c1e Fix for mi6 compatibility 2020-07-20 17:10:04 +08:00
baohongde
44985f00d3 components/bt: Disable exception mode after saving special registers
To store some registers first, avoid stuck due to live lock after disabling exception mode
2020-07-20 17:10:04 +08:00