Commit Graph

113 Commits

Author SHA1 Message Date
Jiang Jiang Jian
4ed2e6130a Merge branch 'feature/add_l2cap_ertm_api' into 'master'
Component_bt:Add l2cap and sdp api

Closes IDF-4487

See merge request espressif/esp-idf!18034
2022-05-29 17:34:38 +08:00
Jiang Jiang Jian
ffbc25056c Merge branch 'feature/add_avdtp_delay_reporting' into 'master'
component_bt: add avdtp delay reporting

Closes BT-2308

See merge request espressif/esp-idf!17475
2022-05-29 17:03:36 +08:00
xiongweichao
b777a53fe8 support add and search raw sdp record 2022-05-28 23:34:21 +00:00
xiongweichao
4faf4e760a sdp support create and search PBAPC record 2022-05-28 23:34:21 +00:00
xiongweichao
1d9fd4707a add sdp api 2022-05-28 23:34:21 +00:00
xiongweichao
4719db7047 add l2cap api 2022-05-28 23:34:21 +00:00
xiongweichao
b0551ef456 add source handle the delay report 2022-05-28 23:31:45 +00:00
xiongweichao
9126e4f07b add sink send delay reporting 2022-05-28 23:31:45 +00:00
keymoon
2c4b135be6
add address field to read_rmt_name_param 2022-05-26 23:24:56 +09:00
weitianhua
4c370cc437 component_bt: Fix build doc errors of bt
1. bluedroid: use standard function pointer define.
   2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
   3. doc/sphinx_known_warnings: Remove fixed parts.
2022-05-11 14:30:20 +00:00
Xiong Wei Chao
af84842e8b Component_bt/Fix spp crash after call esp_spp_deinit 2022-04-27 13:02:23 +08:00
liqigan
81829c2670 add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT 2022-04-11 17:14:02 +08:00
liqigan
2ce516e455 fix SPP initiator can not free resource when connection is failed 2022-04-06 18:17:07 +08:00
Bao Hong De
2748b3a4be Merge branch 'bugfix/not_use_malloc_in_bluedroid' into 'master'
component/bt: use osi_malloc instead of malloc in bluedroid

See merge request espressif/esp-idf!17663
2022-04-03 04:24:08 +08:00
Wei Tian Hua
dbe4606eab Merge branch 'feature/hfp_hf_vendor_batt_level' into 'master'
components/bt: support for vendor specific battery level and docker status...

See merge request espressif/esp-idf!17601
2022-04-01 14:43:51 +08:00
baohongde
65b15cd75a component/bt: use osi_malloc instead of malloc in bluedroid 2022-03-31 22:27:54 +08:00
baohongde
418b546a7c components/bt: support for vendor specific battery level and docker status indication over HFP profile 2022-03-29 11:38:09 +08:00
xiongweichao
7dd9ac9997 Add some bluetooth debug log 2022-03-22 10:35:50 +08:00
xiongweichao
7ee85858b4 Update HFP_HF version to 1.7.2 2022-03-04 11:52:12 +00:00
xiongweichao
83b9320d2e btc_a2dp_control_set_datachnl_stat is only used by a2dp sink 2022-01-06 14:10:18 +08:00
xiongweichao
688700f33b remove btc_a2dp_dispatch_datapath_evt and event 2022-01-06 14:02:03 +08:00
xiongweichao
c5af97759f Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started 2022-01-06 14:02:03 +08:00
xiongweichao
061ae4c07a Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink 2022-01-06 14:02:03 +08:00
liqigan
66e88fbdbe clear old event bits when malloc a slot 2021-12-22 16:44:51 +08:00
baohongde
c138e47f45 components/bt: Update licenses 2021-12-08 10:59:06 +08:00
liqigan
aa6f86fbc5 fix SPP server bugs when the BTC layer can not allocate a slot for the listen port 2021-12-01 14:59:14 +08:00
“YangZhao”
12ec4866b8 Fix the high-impact issues from the code analysis report from customer.
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 17:38:02 +08:00
xiongweichao
101ad32110 Dereference before null check 2021-11-18 19:38:48 +08:00
jincheng
52e7b99630 fix wrong clock_id in function time_now_us
Close https://github.com/espressif/esp-idf/issues/7561
2021-09-23 09:47:35 +08:00
liqigan
1c15c9207c 1. transparent HID device
2. add esp API for HID
3. add PM config for HID
4. add HID device demo

Closes https://github.com/espressif/esp-idf/issues/5311
Closes https://github.com/espressif/esp-idf/issues/5635
Merges https://github.com/espressif/esp-idf/pull/3425
2021-09-07 16:59:30 +08:00
Wang Meng Yang
7df2a22faa Merge branch 'bugfix/spp_memory_leak' into 'master'
Fix spp memory leak

Closes IDFGH-5508

See merge request espressif/esp-idf!14319
2021-08-19 00:12:51 +00:00
xiongweichao
7960110729 components/bt: fix spp memory leak
closes https://github.com/espressif/esp-idf/issues/7238
2021-07-19 21:19:49 +08:00
xiongweichao
55fe021ddb fix a2dp deinit crash 2021-07-19 11:06:21 +08:00
liqigan
fd83938f39 fix a2dp sink RxSbcQ bugs
Closes https://github.com/espressif/esp-idf/issues/6712
Closes https://github.com/espressif/esp-idf/issues/7100
2021-06-21 20:02:36 +08:00
Wang Meng Yang
e245d4c9cd Merge branch 'bugfix/bta_hf_client_co_cb_ptr_macro' into 'master'
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used

See merge request espressif/esp-idf!12335
2021-06-18 09:03:33 +00:00
xiongweichao
d38a91ee95 Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions 2021-05-10 11:11:02 +08:00
xiongweichao
be6b25b9d9 fix ag use dynamic memory error 2021-05-10 10:56:46 +08:00
liaowenhao
048f527883 bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used 2021-03-22 03:07:49 +00:00
Jiang Jiang Jian
d01c951d46 Merge branch 'bufix/ag_deep_copy_crash' into 'master'
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL

Closes BT-1355

See merge request espressif/esp-idf!12338
2021-03-18 09:49:57 +00:00
liqigan
408a1490a9 add API esp_spp_stop_srv_scn to stop a specific server 2021-03-03 15:02:23 +08:00
xiongweichao
d39756d8e7 components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL 2021-03-01 12:54:21 +00:00
Jiang Jiang Jian
6a7781b92a Merge branch 'bugfix/fix_a2dp_underun' into 'master'
bugfix/component_bt: Fix A2DP Underrun Issue

Closes AUD-2681

See merge request espressif/esp-idf!12093
2021-02-04 19:28:07 +08:00
liaowenhao
e502893f18 bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected 2021-01-27 19:46:13 +08:00
weitianhua
1404879bf4 Fix A2DP Underrun Issue 2021-01-25 17:44:11 +08:00
weitianhua
bfad85a372 Add init & deinit event for a2dp 2021-01-25 16:30:09 +08:00
Jiang Jiang Jian
f7c9f1afd7 Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle' into 'master'
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd

Closes BT-711

See merge request espressif/esp-idf!11807
2021-01-20 23:39:57 +08:00
Jiang Jiang Jian
ffa29f8098 Merge branch 'feature/hfp_console' into 'master'
Feature/modify hfp console style by using esp console

Closes BT-1052

See merge request espressif/esp-idf!10973
2021-01-20 23:39:45 +08:00
zwj
1d1754e4b4 - fix congest return value
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-01-15 18:03:56 +08:00
zwj
7c1c669799 component/bt: add BLE v5.0 feature for bluedroid host 2021-01-15 17:55:12 +08:00
liaowenhao
6c0e3fe23c bugfix:unhandle event when tg receive set_player_app_value cmd 2021-01-08 20:58:35 +08:00