Jiang Jiang Jian
fb2076c2e9
Merge branch 'bugfix/use_bt_sdp_bqb_include_macro_for_ertm_mode_flag_v5.1' into 'release/v5.1'
...
fix(bt/bluedroid): Add correct macro for ertm mode included flag (backport v5.1)
See merge request espressif/esp-idf!26455
2023-10-18 10:42:00 +08:00
Jiang Jiang Jian
da79b8aa5a
Merge branch 'bugfix/config_tpoll_fail_v5.1' into 'release/v5.1'
...
Bugfix/config tpoll fail v5.1
See merge request espressif/esp-idf!26451
2023-10-17 14:34:24 +08:00
zhanghaipeng
296a6cddee
fix(bt/bluedroid): Fix remove resolving list error for esp32
2023-10-16 19:56:31 +08:00
zhanghaipeng
f2c3bd38af
fix(bt/bluedroid): Fix bugs in ble service change characteristic
2023-10-16 19:56:21 +08:00
gongyantao
d62393472c
fix(bt/bluedroid): Add correct macro for ertm mode included flag
2023-10-13 14:44:25 +08:00
baohongde
9fc04635d1
fix(bt/bluedroid): Triggering disconnect event of GAP correctly
2023-10-13 14:20:04 +08:00
Wang Meng Yang
5a06ceebda
Merge branch 'bugfix/fix_hid_congestion_v5.1' into 'release/v5.1'
...
Fix(bt/bluedroid): Fix the issue for HID congestion checking[backport 5.1]
See merge request espressif/esp-idf!26230
2023-09-27 16:24:56 +08:00
Jiang Jiang Jian
8008dbe624
Merge branch 'test/bqb_test_bt_classic_hfp_v5.1' into 'release/v5.1'
...
feat(bt/hfp): Add support for HFP BQB auto test (backport v5.1)
See merge request espressif/esp-idf!26222
2023-09-27 14:15:22 +08:00
Wang Meng Yang
28e62166a0
Merge branch 'test/bqb_test_bt_classic_l2cap_v5.1' into 'release/v5.1'
...
feat(bt/bluedroid): Add flags for BQB auto test of L2CAP (backport v5.1)
See merge request espressif/esp-idf!26218
2023-09-27 09:52:15 +08:00
wanglai@espressif.com
e989d9eb32
feat(bt/bluedroid): Add supprot for specific indicator sending from AG to Client
2023-09-26 15:10:04 +08:00
liqigan
f8402c7721
fix(bt/bluedroid): Fix the issue for HID congestion checking
2023-09-26 14:13:36 +08:00
wanglai@espressif.com
19575dbe3c
feat(bt/bluedroid): Add flags for BQB auto test of L2CAP
...
1: add sdp_bqb_disable_flag to avoid running sdpu_build_n_send_error.
2: add sdp_bqb_inact_timeout_flag to set the SDP inactivity timeout to 90 seconds.
3: add l2cap_bqb_bad_cmd_len_rej_flag to reject the C-Frame with invalid PDU length
4: add l2cap_bqb_ertm_mode_included_flag to set L2CAP_FCR_ERTM_MODE for most L2CAP cases
2023-09-26 14:06:14 +08:00
chenqingqing
36563c86be
fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics
2023-09-25 10:29:34 +08:00
liqigan
fe5734b4f1
change(bt/bluedroid): Limit sniff request when pending mode change event
2023-09-19 20:08:04 +08:00
zhanghaipeng
5438cfa49f
fix(bt/bluedroid): Fix set periodic advertising data error
2023-09-13 17:28:15 +08:00
liqigan
1963f75fa7
change(bt/bluedroid): Optimize HIDD sending interrupt report behavior
...
HID device is allowed to trigger reconnection by sending an interrupt
report. When reconnection is in progress, no more interrupt report can
be sent until the procedure is accomplished.
2023-09-11 20:12:35 +08:00
Jiang Jiang Jian
680a254b18
Merge branch 'bugfix/hf_ag_report_event_with_null_bdaddr_v5.1' into 'release/v5.1'
...
Bugfix/fixed bugs of HFP in BlueDroid (v5.1)
See merge request espressif/esp-idf!25827
2023-09-11 10:54:09 +08:00
chenqingqing
7e406acb95
feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent
2023-09-08 00:52:07 +00:00
zhanghaipeng
0f6a7ac7b1
fix(bt): Fix bugs about updating connect param
2023-09-07 11:05:10 +08:00
zhanghaipeng
e3c5c4fb7b
fix(bt): Fix bug while calculating block cipher using aes-128
2023-09-07 11:05:10 +08:00
zhanghaipeng
98f59569b0
docs(bt): Update comment in ble
2023-09-07 11:05:10 +08:00
zhanghaipeng
cc9c5b78b9
feat(bt/bluedroid): Support periodic adv adi feature
2023-09-07 11:05:09 +08:00
chenjianhua
985f6a4892
fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting
2023-09-07 11:05:09 +08:00
chenjianhua
35af1c03e2
feat(bt/bluedroid): Support high duty adv interval setting
2023-09-07 11:05:09 +08:00
chenjianhua
52a0a10ef4
fix(bt/bluedroid): Fix address check when using NRPA as random device address
2023-09-07 11:05:09 +08:00
chenjianhua
e451b967d6
bluedroid: add periodic adv sync transfer API and EVT
2023-08-30 14:50:21 +08:00
chenjianhua
97dd2dc88e
bluedroid: support gatts show local database
2023-08-30 14:50:21 +08:00
Jiang Jiang Jian
b20c3f8a79
Merge branch 'bugfix/remove_deprecated_err_code_v5.1' into 'release/v5.1'
...
fix(bt): Removed an incorrectly defined HCI error code (5.1)
See merge request espressif/esp-idf!25288
2023-08-28 10:30:00 +08:00
Jiang Jiang Jian
d7020c02f4
Merge branch 'backport_v5.1' into 'release/v5.1'
...
fix(bt): Fix ble periodic advertising data length 0 error(backport v5.1)
See merge request espressif/esp-idf!25005
2023-08-28 10:22:11 +08:00
Jiang Jiang Jian
60143c7f68
Merge branch 'bugfix/fix_idfgh_10045_v5.1' into 'release/v5.1'
...
Bluedroid: fixed compile warning when optimize for performance (backport v5.1)
See merge request espressif/esp-idf!24844
2023-08-28 10:21:37 +08:00
Jin Cheng
6a859a6cc5
fix(bt): Removed an incorrectly defined HCI error code
2023-08-25 11:54:39 +00:00
chenjianhua
62f5905be2
bluedroid: fixed compile warning when optimize for performance
2023-08-19 12:26:19 +08:00
wanglai@espressif.com
2b8e8e832a
fix(bt/bqb): Modify BQB related configurations
2023-07-31 15:28:33 +08:00
wanglai@espressif.com
f05c0a36e8
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-31 15:28:20 +08:00
zhanghaipeng
b1799a7042
fix(bt): Fix bug with address resolution enabling during non-connected activities
2023-07-26 16:36:19 +08:00
zhanghaipeng
d01fa70ba8
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-26 16:35:57 +08:00
chenjianhua
62bd3973f6
bluedroid: fixed gatt tcb free when disconnecting
2023-07-13 12:13:47 +08:00
xiongweichao
015555c6fb
change(bt/Bluedroid): Update AVRCP version to 1.5
2023-07-04 15:52:29 +08:00
chenjianhua
3758e37024
bluedroid: fixed default extended connection params
2023-06-16 11:02:17 +08:00
chenjianhua
c5e580e522
Revert "bluedroid: report disconnect event after BLE link closed"
...
This reverts commit d751960b27
.
2023-06-02 16:51:07 +08:00
chenjianhua
b77479df39
bluedroid: fix ble ext adv rand addr setting for NRPA
2023-05-11 14:36:39 +08:00
chenjianhua
ac42a8f2c7
bluedroid: fix ble adv data construct for device name
2023-05-11 14:36:39 +08:00
chenjianhua
d751960b27
bluedroid: report disconnect event after BLE link closed
2023-05-11 14:36:39 +08:00
zwj
daf2622a5b
Fixed no error report when own address type is rpa_random and no random address setting
2023-05-08 11:31:06 +08:00
chenjianhua
d0011b778a
bluedroid: report status after clearing the BLE white list
2023-04-20 18:58:38 +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
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