zhanghaipeng
9a9ce20e41
fix(bt): Fix bug with address resolution enabling during non-connected activities
2023-07-25 21:53:04 +08:00
wanglai@espressif.com
c9d77f7028
fix(bt/bqb): Modify BQB related configurations
2023-07-25 14:17:28 +08:00
wanglai@espressif.com
d1443a91fa
feat(bt): Add BQB enabling and rfcomm msc command sending support
...
1: add the CONFIG_BT_BQB_ENABLED for some functions of bqb test.
2: add bqb_rfc_send_msc_cmd function to send rfcomm msc command with
only address arg input.
2023-07-19 11:59:07 +08:00
zhanghaipeng
f83664929a
fix(bt): Fix ble periodic advertising data length 0 error
...
- Fixed issues about data length 0 when set ext adv data,ext scan rsp data and periodic adv data
2023-07-18 21:33:56 +08:00
xiongweichao
e86b367f21
change(bt/Bluedroid): Update AVRCP version to 1.5
2023-07-03 03:57:26 +00:00
chenjianhua
e748546365
bluedroid: fixed gatt tcb free when disconnecting
2023-06-29 18:03:49 +08:00
Jiang Jiang Jian
7cea35193b
Merge branch 'bugfix/fix_bluedroid_host_build_warning_when_log_is_disabled' into 'master'
...
Fixed bluedroid host build warning when log is disabled
See merge request espressif/esp-idf!24003
2023-06-20 15:51:11 +08:00
Wang Meng Yang
126b98d889
Merge branch 'bugfix/fix_idfgh_10045' into 'master'
...
Bluedroid: fixed compile warning when optimize for performance
See merge request espressif/esp-idf!24161
2023-06-14 12:22:06 +08:00
Wang Meng Yang
40d1d7f43b
Merge branch 'bugfix/fix_bleqabr23_213' into 'master'
...
Bluedroid: fixed default extended connection params
See merge request espressif/esp-idf!24025
2023-06-14 12:21:51 +08:00
chenjianhua
0634bb904e
bluedroid: fixed compile warning when optimize for performance
2023-06-11 16:06:07 +08:00
chenjianhua
e039b788df
Revert "bluedroid: report disconnect event after BLE link closed"
...
This reverts commit c8a380500a
.
2023-06-02 16:28:29 +08:00
chenjianhua
5ee2ad7552
bluedroid: fixed default extended connection params
2023-06-01 17:37:49 +08:00
zhiweijian
ddb8368aad
Fixed bluedroid host build warning when log is disabled
2023-05-31 17:00:09 +08:00
chenjianhua
b87f96e115
bluedroid: fix ble ext adv rand addr setting for NRPA
2023-05-06 15:26:45 +08:00
chenjianhua
7593466dc6
bluedroid: fix ble adv data construct for device name
2023-05-06 15:26:45 +08:00
Jiang Jiang Jian
cac7a5c9cb
Merge branch 'bugfix/fix_bleqabr23_28' into 'master'
...
Bluedroid: report disconnect event after BLE link closed
See merge request espressif/esp-idf!23156
2023-04-28 17:59:29 +08:00
Chen Jian Hua
b2906d412d
Merge branch 'feature/support_periodic_adv_sync_trans' into 'master'
...
Bluedroid: add periodic adv sync transfer API and EVT
See merge request espressif/esp-idf!22146
2023-04-27 14:19:43 +08:00
Zhi Wei Jian
0b5b9520ba
Merge branch 'bugfix/fix_own_addr_is_rap_random_err' into 'master'
...
Fixed no error report when own address type is rpa_random and no random address setting
Closes BLEQABR23-159
See merge request espressif/esp-idf!23363
2023-04-26 20:15:53 +08:00
chenjianhua
0f7446f93f
bluedroid: support gatts show local database
2023-04-23 17:22:04 +08:00
zwj
7d1e7d2766
Fixed no error report when own address type is rpa_random and no random address setting
2023-04-23 16:15:39 +08:00
chenjianhua
c8a380500a
bluedroid: report disconnect event after BLE link closed
2023-04-12 11:13:15 +08:00
chenjianhua
3a7dea67eb
bluedroid: report status after clearing the BLE white list
2023-04-10 12:12:32 +08:00
Jin Cheng
a7a2e5d407
fixed the crash of LoadProhibited caused by taht
...
the nodes are deleted during the traversal of the linked list
2023-04-06 14:13:05 +08:00
zhiweijian
588626d64e
Fixed ATT Ignore wrong response error
2023-03-14 08:49:19 +00:00
Jiang Jiang Jian
251e0c5fc7
Merge branch 'bugfix/fix_adv_scan_state_conflict' into 'master'
...
Bluedroid: fix adv and scan state conflict
See merge request espressif/esp-idf!22685
2023-03-13 10:52:40 +08:00
chenjianhua
7bbfd28d44
bluedroid: fix adv and scan state conflict
2023-03-09 16:36:54 +08:00
liqigan
20c9efed4d
fix HID Host bug when handling the two consecutive connection request
...
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-09 14:25:25 +08:00
Alexey Lapshin
d4b7be4a73
bt: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Jiang Jiang Jian
0591695a81
Merge branch 'bugfix/bluedroid_le_coc_compile_error' into 'master'
...
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
Closes BT-2862
See merge request espressif/esp-idf!22321
2023-02-20 13:23:51 +08:00
Jin Cheng
eac73d8f58
Fixed build errors when sniff subrating is enabled.
2023-02-11 08:29:09 +00:00
wangmengyang
3279b4d41d
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
...
This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
2023-02-10 21:51:08 +08:00
Wang Meng Yang
e0e3700142
Merge branch 'feature/support_ble_privacy_by_controller' into 'master'
...
Support ble privacy by controller on bluedroid
See merge request espressif/esp-idf!21966
2023-02-10 14:34:36 +08:00
chenjianhua
0976a1d7f6
bluedroid: add periodic adv sync transfer API and EVT
2023-01-30 14:32:04 +08:00
chenjianhua
708ca0181c
bluedroid: support get bluetooth device name
2023-01-13 10:39:57 +08:00
chenjianhua
175be1c42c
bluedroid: support ble privacy by controller
2023-01-10 18:50:11 +08:00
Zhi Wei Jian
c08cd91da3
Merge branch 'bugfix/fix_bluedroid_bug_for_pts' into 'master'
...
Bluedroid: fixed GATT multi notify and robust caching
Closes BT-3142
See merge request espressif/esp-idf!21871
2023-01-10 10:49:21 +08:00
chenjianhua
70bb6c7388
bluedroid: fixed GATT multi notify and robust caching
2023-01-06 20:13:58 +08:00
Jin Cheng
2e9a180f43
Fixed crash caused by accessing nullptr in btm_acl_disconnected
2023-01-04 11:47:05 +08:00
Wang Meng Yang
1ac3595bde
Merge branch 'bugfix/a2dp_error_code' into 'master'
...
bt: Update A2DP version to v1.4
Closes BT-2918, BT-2919, and BT-2932
See merge request espressif/esp-idf!21142
2022-12-13 14:56:18 +08:00
Zhi Wei Jian
6d676019c1
Merge branch 'bugfix/fix_gatt_char_perm_key_size' into 'master'
...
Bluedroid: fix encrypt keysize of GATT characteristic permission
Closes BT-2992
See merge request espressif/esp-idf!21250
2022-12-12 16:23:59 +08:00
Zhi Wei Jian
250f2c4a89
Merge branch 'bugfix/fix_ble_conn_param_update' into 'master'
...
Bluedroid: fix ble connection update with same params
Closes BT-2943
See merge request espressif/esp-idf!21309
2022-12-12 15:18:26 +08:00
Jiang Jiang Jian
706a2c779f
Merge branch 'bugfix/correct_the_default_SR_mode' into 'master'
...
bugfix/correct the SR_mode selection when konw nothing about Peripheral
See merge request espressif/esp-idf!21355
2022-12-12 14:57:16 +08:00
chenjianhua
5a0bc5c1fd
bluedroid: fix ble connection update with same params
2022-12-09 14:40:57 +08:00
chenjianhua
2afe5cdc76
bluedroid: add config for GAP service and periodic adv sync transfer
2022-12-09 13:28:31 +08:00
chenjianhua
702e06e09e
bluedroid: add internal GATT API for PTS
2022-12-09 13:28:31 +08:00
chenjianhua
fa06476806
bluedroid: add config for robust caching and RPA timeout
2022-12-09 13:28:31 +08:00
chenjianhua
238d1375a8
bluedroid: support GATT robust caching feature
2022-12-09 13:28:31 +08:00
chenjianhua
f4cd0b687d
bluedroid: support GATT services database hash calculate
2022-12-09 13:28:31 +08:00
chenjianhua
4a487a6a5c
bluedroid: support periodic advertising sync transfer cmd
2022-12-09 13:28:31 +08:00
chenjianhua
6f0d34d323
bluedroid: support LE L2CAP credit based connection
2022-12-09 13:28:31 +08:00
chenjianhua
2048322429
bluedroid: support oob pairing for smp secure connection
2022-12-09 13:28:31 +08:00
Jin Cheng
f2f6aef019
correct the SR_mode selection when konw nothing about Peripheral
2022-12-07 09:47:03 +00:00
jincheng
228bf596dc
Added reporting for ACL link related events to application
2022-12-07 02:33:55 +00:00
chenjianhua
c37184aa85
bluedroid: fix encrypt keysize of GATT characteristic permission
2022-12-02 15:10:39 +08:00
xiongweichao
40f6239fd7
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-11-30 10:41:52 +08:00
xiongweichao
ecf2eea1d6
bt: Added esp_spp_enhance_init() API to indicate whether to enable L2CAP ERTM
2022-11-28 20:42:53 +08:00
xiongweichao
923cdcf75a
bt: Update A2DP version to v1.4
2022-11-23 20:17:22 +08:00
xiongweichao
33d351898a
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code
2022-11-23 20:17:22 +08:00
Alexey Gerenkov
47c2c13de5
build: Adds support for universal Clang toolchain
2022-11-23 13:25:16 +03:00
zwj
39c03e0ce0
Fixed errors reported by CI clang_tidy_check
2022-11-16 15:58:31 +08:00
Jin Cheng
042fd5f895
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-10-31 11:08:15 +00:00
xiongweichao
ea41a21b0e
bt: Split SPP application layer data packets according to the MTU of the peer
2022-10-27 19:45:25 +08:00
xiongweichao
a0ec1c8291
bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size
2022-10-27 19:45:25 +08:00
Wang Meng Yang
2cbc83a4c7
Merge branch 'bugfix/fix_gattc_disc_char_by_uuid_panic' into 'master'
...
Bluedroid: correct the length of att read by type pdu
Closes BT-2874
See merge request espressif/esp-idf!20686
2022-10-21 17:24:03 +08:00
Jin Cheng
36d8e0b9ad
Revert "fixed the issue iOS devices cannot initiate connection"
...
This reverts commit da44fc9cbe
.
2022-10-20 06:17:33 +00:00
chenjianhua
bc1762e806
bluedroid: correct the length of att read by type pdu
2022-10-19 21:58:28 +08:00
zwj
01faa7b664
allow bluedroid host to report adv_ind separately
2022-10-08 14:49:36 +08:00
Jin Cheng
da44fc9cbe
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-09-23 17:58:39 +08:00
Chen Jian Hua
76834a767f
Merge branch 'bugfix/fix_ble_adv_tx_power_map' into 'master'
...
Fix ble adv tx power map
Closes IDFGH-8299
See merge request espressif/esp-idf!20225
2022-09-23 16:03:12 +08:00
cjin
42a07cf16b
fix err using rpa for confirmation calculation
2022-09-21 12:34:41 +00:00
cjin
b345e89b4a
fix on data len change cmd malfunction
2022-09-21 12:34:41 +00:00
Chen Jian Hua
6014e92a8d
Merge branch 'bugfix/fix_ble_gen_rpa_by_host' into 'master'
...
Bluedroid: fix ble rpa generate and update by host
See merge request espressif/esp-idf!19617
2022-09-20 14:49:26 +08:00
chenjianhua
940ee1f7f4
fix ble adv tx power map
2022-09-19 12:02:40 +08:00
chenjianhua
8598610ccd
bluedroid: fix ble rpa generate and update by host
2022-09-16 16:54:58 +08:00
zwj
e9f4a4e92d
Fixed extend adv tx power range error
2022-09-16 15:45:40 +08:00
Island
71bc1a28cc
Merge branch 'fix/DOC_3566' into 'master'
...
Updating doc for the issue doc_3566
Closes DOC-3566
See merge request espressif/esp-idf!19971
2022-09-08 19:27:18 +08:00
satish.solanke
50ec07c45d
updating doc for the issue doc_3566
2022-09-07 15:05:49 +05:30
zwj
2942a98f5d
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-06 21:12:30 +08:00
chenjianhua
0067c28013
Revert "component/bt: add local irk to controller"
...
This reverts commit 95c35288bc
.
2022-08-19 11:03:15 +08:00
chenjianhua
eaa9897386
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 1cc0f6aac5
.
2022-08-19 11:03:15 +08:00
wangmengyang
9a6101bfed
components/bt: fixed the invalid workqueue number for BTU thread in Bluedroid
...
There should be only one workqueue for BTU task. The queue length for the second workqueue of BTU can be uninitialized and caused memory overflow and corruption.
Closes https://github.com/espressif/esp-idf/issues/9507
2022-08-11 16:09:44 +08:00
wangmengyang
f402778320
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-02 17:40:00 +08:00
Karl Wang
8c756dad23
component/bt: allocate and use one static buffer for HCI adv flow control command
2022-08-02 17:40:00 +08:00
wangmengyang
85fc8321c8
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-02 17:37:24 +08:00
wangmengyang
5f074e1336
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-02 14:14:07 +08:00
wangmengyang
0a1fa3e204
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-02 14:14:07 +08:00
Karl Wang
a075aa564f
component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
2022-08-02 14:14:07 +08:00
wangmengyang
81c87cf4ca
component/bt: make OSI thread workqueue length configurable through API
...
reduce the length of workqueue1 for BTC and HCI task
# Conflicts:
# components/bt/common/osi/thread.c
2022-08-02 14:14:07 +08:00
weitianhua
e51df179ad
components_bt/bluedroid: Fix Memory&String Copy Build Err
...
1. When setting compilier into -O2 optimization, build for classic bt demo will get wrong
2. Fix a memcpy bug that maybe get memory truncated
Closes https://github.com/espressif/esp-idf/issues/9398
2022-08-01 11:37:46 +08:00
Jiang Jiang Jian
7497a5287c
Merge branch 'bugfix/fix_bluedroid_host_memory_overflow' into 'master'
...
Fixed bluedroid host memory overflow
Closes BT-2397
See merge request espressif/esp-idf!18897
2022-07-15 11:52:33 +08:00
zhiweijian@espressif.com
4bd267ac9a
Fixed bluedroid host memory overflow
2022-07-14 19:35:22 +08:00
Jiang Jiang Jian
258585f50a
Merge branch 'bugfix/correct_blecmd_for_rf_path' into 'master'
...
Bluedroid: Fixed compilation error due to incorrect macro name
See merge request espressif/esp-idf!18983
2022-07-12 19:35:40 +08:00
Jiang Jiang Jian
4c1f114eab
Merge branch 'bugfix/ble_50_sync_periodic_adv_lost_data' into 'master'
...
components/bt: Fix ble sync periodic adv report will lost data
See merge request espressif/esp-idf!18957
2022-07-12 16:18:01 +08:00
Rahul Tank
ac54468d1b
Bluedroid: Fixed compilation error due to incorrect macro name
2022-07-11 16:40:51 +05:30
xiewenxiang
947d082b44
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:51:22 +08:00
xiongweichao
90510fb597
Fix crash when sending data by spp
2022-06-20 17:12:07 +08:00
xiongweichao
a2ea4f5bc9
Fix AVDTP general reject format error.
2022-06-07 02:45:46 +00:00
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
740dc8795d
rfcomm supports the use of ERTM
2022-05-28 23:34:21 +00:00