Commit Graph

2568 Commits

Author SHA1 Message Date
chenjianhua
4dd50e9f34 fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting 2023-09-05 20:29:03 +08:00
chenjianhua
a5da0ebd0c fix(bt/bluedroid): Fixed GATTC cache address save when list is full 2023-09-05 20:29:03 +08:00
chenjianhua
0b3ea0fcde feat(bt/bluedroid): Support high duty adv interval setting 2023-09-05 20:29:03 +08:00
chenjianhua
30609ba7f0 fix(bt/bluedroid): Fix address check when using NRPA as random device address 2023-09-05 20:29:03 +08:00
Rahul Tank
d89b1e45fa Merge branch 'feat/add_high_duty_adv_interval_v4.4' into 'release/v4.4'
feat(nimble): Added support for high duty adv interval (v4.4)

See merge request espressif/esp-idf!25555
2023-09-01 15:02:24 +08:00
wanglai@espressif.com
08be89bd3e fix(bt/avdtp): Reject SET CONFIGURATION command with error code INVALID_CODEC_TYPE
1: reset p_scb->avdt_handle in cleanup function.
2: cancel comparing p_scb->codec_type and p_scb->seps[xx].codec_type to
   send the error INVALID_CODEC_TYPE.
2023-08-31 19:49:38 +08:00
Rahul Tank
13afbeb7cb feat(nimble): Added support for high duty adv interval 2023-08-25 10:36:31 +05:30
Rahul Tank
bd5f10b1fd Merge branch 'bugfix/remove_global_min_max_def_v4.4' into 'release/v4.4'
Nimble: Removes global min/max definition causing problems with other libraries(v4.4)

See merge request espressif/esp-idf!25472
2023-08-25 01:17:12 +08:00
Rahul Tank
6d6a0eddc9 fix(nimble): Removed global min/max definition causing problems with other libraries 2023-08-23 11:15:50 +05:30
Jin Cheng
83f6cc60bc fix(bt): Increased SDP maximum connections to avoid connection exhausted 2023-08-21 11:23:20 +08:00
Jiang Jiang Jian
8c1e87e0c8 Merge branch 'backport_v4.4' into 'release/v4.4'
fix(bt): Fix ble periodic advertising data length 0 error(backport v4.4)

See merge request espressif/esp-idf!25008
2023-08-16 10:16:14 +08:00
Wang Meng Yang
d1f93778d4 Merge branch 'bugfix/remove_deprecated_err_code_v4.4' into 'release/v4.4'
fix(bt): Removed an incorrectly defined HCI error code (4.4)

See merge request espressif/esp-idf!25290
2023-08-14 15:09:42 +08:00
Jin Cheng
b48eb195b8 fix(bt): Removed an incorrectly defined HCI error code 2023-08-09 17:38:37 +08:00
isha.pardikar@espressif.com
863fd0c9b7 fix(nimble): Added checks before accessing event pointers 2023-08-08 15:55:08 +05:30
Wang Meng Yang
9e987ea312 Merge branch 'bugfix/role_switch_enc_mode_lmp_timeout_v4.4' into 'release/v4.4'
fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides(v4.4)

See merge request espressif/esp-idf!25204
2023-08-07 10:50:16 +08:00
xiongweichao
c372c48439 fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides
The master sent lmp_enc_mode_req, and the slave sent lmp_switch_req.
However, both sides failed to handle the LMP message, resulting in LMP timeout.
2023-08-04 11:07:41 +08:00
Rahul Tank
190e4dee28 fix (nimble): Add check to set length only if data is valid in periodic adv 2023-08-03 14:51:30 +05:30
zhanghaipeng
abd4778195 fix(bt): Fix bug with address resolution enabling during non-connected activities 2023-07-26 16:39:34 +08:00
zhanghaipeng
8e632e84a1 docs(bt): Organize header files for esp32c3 and esp32s3 2023-07-26 16:39:34 +08:00
zhanghaipeng
f25afd6afe 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:39:34 +08:00
Rahul Tank
dd0a5c0c26 fix(nimble): Update connection type in reattempt connection code
Added change to set connection type correctly and clear array when it is
    full in reattempt connection flow
2023-07-20 09:40:24 +05:30
chenjianhua
b2325e50bb fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection 2023-07-18 11:53:24 +08:00
chenjianhua
bddb13efb2 bluedroid: fixed gatt tcb free when disconnecting 2023-07-18 11:53:14 +08:00
chenjianhua
2101438df6 bluedroid: fixed compile warning when optimize for performance 2023-07-18 11:52:49 +08:00
Jiang Jiang Jian
922af41ba0 Merge branch 'backport_v4.4' into 'release/v4.4'
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32(backport v4.4)

See merge request espressif/esp-idf!24778
2023-07-18 10:47:53 +08:00
wangmengyang
1e1c46b2f7 bt-coexist: fix the issue for BLE scan in using whitelist that scan PTI keeps high and not resumes after reception of ADV_EXT_IND but no AUX_ADV_IND followed on ESP32-C3 and ESP32-S3, which causes Wi-Fi unable to work normally 2023-07-17 06:17:18 +00:00
zhanghaipeng
05faa8f213 fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32
- Add a log statement to print the Bluetooth MAC address
2023-07-13 16:42:06 +08:00
zhanghaipeng
688c7b41ec fix(bt): Fix ble advertising data length 0 error
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-07-13 16:42:06 +08:00
xiongweichao
2685472da0 bt: Fixed some bluetooth bugs
1. Fixed LC_AFH_UPDATE_IND  has not benn processed causing memory exhaustion
2. Fixed no free elt in prog push
3. Fixed disconnect due to sniff with error Dsniff
4. Fixed the problem that the host continued to send ACL data to the controller after disconnection, which caused the connection to fail again
2023-07-11 07:23:45 +00:00
chenjianhua
ac27406dcb Update bt-lib for esp32
- Fixed memory leak when setting adv data
2023-07-11 07:23:45 +00:00
xiongweichao
8148b5deb9 components/bt: Fix crash due to NULL point 2023-07-11 07:23:45 +00:00
Rahul Tank
15466cf14a fix(Nimble): Add debug code to print HCI events information
Added debug prints to collect information about LE events and
subevents
2023-07-07 19:47:43 +05:30
Roshan Bangar
4258c409b0 fix(nimble): Fix assert due to controller event while stack deinit 2023-07-06 12:10:16 +05:30
Jiang Jiang Jian
a7c461032b Merge branch 'bugfix/hfp_packet_type_err_v4.4' into 'release/v4.4'
Revised (e)SCO configuration parameter sets (v4.4)

See merge request espressif/esp-idf!24348
2023-06-28 10:04:44 +08:00
Jiang Jiang Jian
ddae3618dd Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit_v4.4' into 'release/v4.4'
bugfix/Fixed the issue of alarm leak (v4.4)

See merge request espressif/esp-idf!24353
2023-06-28 10:04:26 +08:00
Jin Cheng
28747f432f Fixed the issue of alarm leak in hf-ag 2023-06-21 15:35:25 +08:00
Jin Cheng
028d551101 Fixed the issue of alarm leak in A2DP 2023-06-21 15:35:14 +08:00
Jin Cheng
7837fd484e Revised (e)SCO configuration parameter sets 2023-06-21 14:06:16 +08:00
Rahul Tank
6e8dd38cee Nimble:Added change to expose addr resolution API outside stack_v4.4 2023-06-20 19:58:16 +05:30
Jiang Jiang Jian
efdd0859f6 Merge branch 'bugfix/fix_some_ble_bugs_v4.4' into 'release/v4.4'
Fixed some BLE bugs (backport v4.4)

See merge request espressif/esp-idf!24283
2023-06-20 19:12:41 +08:00
Wang Meng Yang
58544cfbca Merge branch 'feature/add_ext_adv_instance_check_v4.4' into 'release/v4.4'
NimBLE: Added ble_gap_ext_adv_active() to check if extended advertising instance is active or not (v4.4)

See merge request espressif/esp-idf!23546
2023-06-20 17:36:02 +08:00
chenjianhua
b8e4f091f6 Update bt-lib for esp32
1 Fixed disconnection delay on peripheral when slave latency is not zero
2 Fixed LLCP info init for central and peripheral
3 Fixed sent cmd status evt twice when process disconnect cmd
2023-06-16 17:21:33 +08:00
chenjianhua
35a14bf383 bluedroid: fixed default extended connection params 2023-06-16 16:28:07 +08:00
zhiweijian
6d59258519 Fixed BLE disconnection failure on ESP32 2023-06-16 16:26:52 +08:00
zwj
1728b49d7f Fixed disconnection due to consecutive CRC errors in first 6 intervals 2023-06-16 16:26:44 +08:00
Rahul Tank
b7e5be07de Blufi: Fixed compilation issue in blufi for nimble 2023-06-09 17:10:35 +05:30
Jiang Jiang Jian
7053e483ea Merge branch 'feature/add_bluetooth_nimble_lightsleep_example_v4.4' into 'release/v4.4'
bt: Added an example of Bluetooth using light sleep(v4.4)

See merge request espressif/esp-idf!23694
2023-06-09 19:20:31 +08:00
Jiang Jiang Jian
b4c06edfd6 Merge branch 'bugfix/fix_bleqabr23_250_v4.4' into 'release/v4.4'
Fixed crash when controller initialization fails due to insufficient memory (backport 4.4)

See merge request espressif/esp-idf!24090
2023-06-09 19:19:28 +08:00
Jiang Jiang Jian
4a4fea5746 Merge branch 'bugfix/hfp_ag_idx_invalid_v4.4' into 'release/v4.4'
bt: Fixed out of bounds access due to variable length array(v4.4)

See merge request espressif/esp-idf!23667
2023-06-09 19:18:58 +08:00
Jiang Jiang Jian
ff4ae8df34 Merge branch 'bugfix/hf_cind_ind_index_v4.4' into 'release/v4.4'
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator(v4.4)

See merge request espressif/esp-idf!23562
2023-06-09 19:18:16 +08:00