chenjianhua
59825e3c9c
update esp32 bt-lib (7b24543)
...
- Support BLE RX error packet count record
- Fixed instant setting for LLC procedures with instants
- Fixed adv random delay when adv interval is less than 20ms
2023-09-05 20:29:03 +08:00
chenjianhua
377501aaad
Update bt lib for ESP32-C3 and ESP32-S3(59725b5)
...
- Support BLE RX error packet count record
- Fixed adv random delay when adv interval is less than 20ms
- Fixed adv random address setting when owner address type is public
2023-09-05 20:29:03 +08:00
chenjianhua
2792f318c3
Update bt lib for ESP32-C3 and ESP32-S3(ff6efe7)
...
- fix(bt/controller): Fixed PHY enable and disable
- feat(bt/controller): Support DAA and LBT mode for BLE CCA
2023-09-05 20:29:03 +08:00
zhanghaipeng
b06db3565a
fix(bt): Fix bugs about updating connect param
2023-09-05 20:29:03 +08:00
zhanghaipeng
eb449b401a
fix(bt): Fix bug while calculating block cipher using aes-128
2023-09-05 20:29:03 +08:00
zhanghaipeng
76e4e6601d
docs(bt): Update comment in ble
2023-09-05 20:29:03 +08:00
zhanghaipeng
571e6f0580
feat(bt/bluedroid): Support periodic adv adi feature
2023-09-05 20:29:03 +08:00
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
183eab756b
fix(nimble): add flag to indicate 5.0 feature support
2023-09-05 11:21:22 +05:30
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
Jiang Jiang Jian
4462c00107
Merge branch 'bugfix/a2dp_source_crash_connect_to_Bose_speaker_v4.4' into 'release/v4.4'
...
Bugfix/a2dp source crash connect to bose speaker (v4.4)
See merge request espressif/esp-idf!23350
2023-06-09 19:17:10 +08:00
chenjianhua
3c606bf79c
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed crash when controller initialization fails due to insufficient memory
2023-06-07 11:19:38 +08:00
xiongweichao
0ba101dfac
ble: Fixed bluetooth can only use main XTAL as low power clock source due to configuration on ESP32S3
2023-05-30 20:27:06 +08:00
zhiweijian
c76c6508a1
Fixed battery profile wrong condition
2023-05-25 10:46:12 +00:00
zwj
ecc2cc1be0
Fixed no error report when own address type is rpa_random and no random address setting
2023-05-25 10:46:12 +00:00
chenjianhua
31166e0884
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed remote mic error during encryption procedure
2023-05-25 10:46:12 +00:00
chenjianhua
1ddc3a1d5c
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-05-25 10:46:12 +00:00
zhiweijian
f886e3c057
Disable controller 5.0 feature bits if host 5.0 feature is not enabled
2023-05-25 10:46:12 +00:00
zwj
509fedeed0
improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3
2023-05-25 10:46:12 +00:00
chenjianhua
bd77f3d436
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-05-25 10:46:12 +00:00
xiongweichao
f3b2e22d74
bt: Deleted some redundant variables in HFP_AG
2023-05-10 10:24:54 +08:00
xiongweichao
074f0ad41c
bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 3268075231
...
Closes https://github.com/espressif/esp-idf/issues/11264
2023-05-10 10:24:50 +08:00
xiongweichao
e3263ad608
bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT
2023-05-10 10:24:45 +08:00
xiongweichao
017517b804
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
...
Closes https://github.com/espressif/esp-idf/issues/6486
2023-05-04 14:16:12 +08:00
isha.pardikar@espressif.com
04798f62ab
NimBLE: Added ble_gap_ext_adv_active() to check if extended advertising instance is active or not.
2023-05-03 14:44:28 +05:30
Jin Cheng
8704eb1713
fix a2dp source crash when connect to Bose speaker
2023-04-21 21:20:57 +08:00
chenjianhua
8f3f635e8c
bluedroid: report status after clearing the BLE white list
2023-04-20 15:59:07 +08:00
chenjianhua
908c5e1fd2
bluedroid: fix GATTC cache address save
2023-04-20 15:59:07 +08:00
chenjianhua
e2a307bd8f
bluedroid: fix adv and scan state conflict
2023-04-20 15:59:07 +08:00
chenjianhua
814bcf4021
bluedroid: support get bluetooth device name
2023-04-20 15:59:07 +08:00
Jiang Jiang Jian
7eba5f8002
Merge branch 'bugfix/bt_diable_enbale_crash_v4.4' into 'release/v4.4'
...
bt:Fixed esp32 controller bug(v4.4)
See merge request espressif/esp-idf!23151
2023-04-17 16:16:23 +08:00
zwj
b69ec22cb9
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
2023-04-14 12:10:38 +08:00
wangmengyang
7a7090a46a
bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller
2023-04-13 10:24:01 +08:00
wangjialiang
ab48bfb5b7
ble_mesh: stack: Update the heartbeat filter entry add/remove handling
2023-04-12 15:03:07 +08:00
xiongweichao
f9bfdd0b1e
bt:Fixed esp32 controller bug
...
1. Fixed crash after controller disable and re-enable
2. Fixed the crash caused by processing the HCI_Read_Remote_Extented_Features command in the non-connected state
3. Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
4. Fixed crash caused by supervision timeout greater than sniff interval
Closes https://github.com/espressif/esp-idf/issues/11164
Closes https://github.com/espressif/esp-idf/issues/10835
2023-04-12 09:15:49 +08:00
Jin Cheng
3a361bc62f
fixed the crash of LoadProhibited caused by taht
...
the nodes are deleted during the traversal of the linked list
2023-04-08 11:30:35 +08:00
Jiang Jiang Jian
c0efc25049
Merge branch 'bugfix/fix_hw_ralunderrun_assert_v4.4' into 'release/v4.4'
...
Fixed BLE HW RAL_UNDERRUN asser and backport some bug fix 23-03-30 (back port v4.4)
See merge request espressif/esp-idf!23004
2023-04-04 10:50:25 +08:00
zhiweijian
db3e673053
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing
2023-03-30 17:50:20 +08:00
zwj
0ab020fef0
Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3
2023-03-30 17:07:19 +08:00
zwj
bd8d473006
If it is not esp32 chips, hide the configuration item: BT_BLE_RPA_SUPPORTED
2023-03-30 17:00:56 +08:00
zhiweijian
e7fd58d77a
set BT_CTRL_BLE_MAX_ACT default value to 6
2023-03-30 16:14:18 +08:00
zhiweijian
49691b6a9e
Fixed ATT Ignore wrong response error
2023-03-30 16:13:32 +08:00
zwj
b475798ad6
- Support ESP32C3 and ESP32S3 new BLE lib
...
- Disable controller 5.0 feature bits if host 5.0 feature is not enabled
- Fixed extend ADV parameters check for ADV_DIRECT_HI
2023-03-30 16:10:42 +08:00
zwj
50163578bf
Merge ESP32C3 and ESP32S3 BLE bt.c files to one
2023-03-30 15:54:37 +08:00
Jin Cheng
8daf85b32a
Optimized the document for GAP API:
...
`esp_bt_gap_set_cod`
2023-03-30 14:17:17 +08:00
lly
18a5b07607
ble_mesh: stack: Minor fix for provisioner provisioning timeout
2023-03-28 04:29:57 +00:00
wangjialiang
6c55c9c800
ble_mesh: add BQB LOG
2023-03-28 04:29:57 +00:00
luoxu
0ec64df258
ble_mesh: stack: forward rfu dst for the case NODE/RLY/BV-01
2023-03-28 04:29:57 +00:00
luoxu
8f5c5a3972
ble_mesh: stack: add send transaction ack befor provisioner send prov failed msg
2023-03-28 04:29:57 +00:00
luoxu
34841a97a5
ble_mesh: stack: for the case MESH/PVNR/PBADV/BV-01, add the close link reason before reset link
2023-03-28 04:29:57 +00:00
wangjialiang
dad6588e3d
ble_mesh: stack: bug fix in bqb
2023-03-24 17:13:11 +08:00
wangjialiang
1a412555cd
ble_mesh: stack: add description of internal BQB Test
2023-03-24 17:12:57 +08:00
lly
4737b4865d
ble_mesh: stack: Minor updates for BQB test log
2023-03-24 17:12:47 +08:00
wangjialiang
14d90c4534
ble_mesh: stack: Add a BQB macro for BQB test to enable some internal function or log
2023-03-24 17:12:23 +08:00
Jin Cheng
c8a3237309
Fixed the index out of bounds of hfp_ag BTC control block
2023-03-22 15:49:56 +08:00
Jiang Jiang Jian
188bb8df22
Merge branch 'bugfix/add_debug_check_v4.4' into 'release/v4.4'
...
Nimble: Added debug relate flag around debug code_v4.4
See merge request espressif/esp-idf!22783
2023-03-20 14:04:54 +08:00
Jiang Jiang Jian
7cfc1a747f
Merge branch 'docs/update_esp_hid_device_v4.4' into 'release/v4.4'
...
docs: fixed missing API-reference documents for Bluetooth HID device(backport v4.4)
See merge request espressif/esp-idf!19582
2023-03-17 19:40:43 +08:00
Jiang Jiang Jian
11e20bbf7b
Merge branch 'bugfix/avrcp_psth_cmd_rsp_v4.4' into 'release/v4.4'
...
bt:Added a parameter to tell the user the result of the pass through command implementation(v4.4)
See merge request espressif/esp-idf!22789
2023-03-17 13:52:39 +08:00
Rahul Tank
4b40662fad
Nimble: Added debug relate flag around debug code
2023-03-15 16:49:25 +05:30
xiongweichao
0ac35d3f09
bt:Added a parameter to tell the user the result of the pass through command implementation
2023-03-14 16:44:10 +08:00
wangmengyang
67cc93b1d5
bt: fix the documentations for Bluetooth HID device APIs
2023-03-14 12:13:48 +08:00
Marius Vikhammer
f262f1c361
docs: fix broken links
2023-03-14 10:26:37 +08:00
liqigan
f0394b03bc
fix HID Host bug when handling the two consecutive connection request
...
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-13 10:22:28 +08:00
Jiang Jiang Jian
17a0cdae49
Merge branch 'bugfix/fix_some_ble_bug_v4.4' into 'release/v4.4'
...
Fixed some BLE bugs (backport v4.4)
See merge request espressif/esp-idf!22364
2023-02-26 16:13:07 +08:00
Jiang Jiang Jian
f89eedd2dc
Merge branch 'bugfix/blufi_notify_v4.4' into 'release/v4.4'
...
BluFi : Fixed hdr getting free twice (v4.4)
See merge request espressif/esp-idf!22449
2023-02-26 16:11:22 +08:00
wangmengyang
50015c6047
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-23 14:21:08 +08:00
isha.pardikar@espressif.com
8486207ac1
BluFi : Fixed hdr getting free twice
...
Closes IDFGH-9378
2023-02-21 11:45:26 +05:30
chenjianhua
f986abd482
bluedroid: support ble privacy by controller
2023-02-14 11:13:56 +08:00
chenjianhua
f953320c96
bluedroid: add params in GATT connect event
2023-02-14 11:13:27 +08:00
chenjianhua
293c4d9f71
update bt-lib for ESP32
...
fix ble disconnect due to channel map update instant passed
2023-02-14 11:11:36 +08:00
Jin Cheng
123b6f132b
Fixed build errors when sniff subrating is enabled.
2023-02-13 17:27:24 +08:00
Jiang Jiang Jian
bd54673f81
Merge branch 'doc/update_nimble_mesh_example_information_v4.4' into 'release/v4.4'
...
Nimble: Update Mesh example documentation (v4.4)
See merge request espressif/esp-idf!21579
2023-02-03 13:53:29 +08:00
Jiang Jiang Jian
5360833e0b
Merge branch 'bugfix/peer_dev_rec_add_and_clear_issue_v4.4' into 'release/v4.4'
...
NimBLE: Fix incomplete clearing of peer_dev_rec (v4.4)
See merge request espressif/esp-idf!22012
2023-02-03 13:51:55 +08:00
Jiang Jiang Jian
f46b03fd91
Merge branch 'bugfix/a2dp_error_code_v4.4' into 'release/v4.4'
...
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code(v4.4)
See merge request espressif/esp-idf!21623
2023-02-03 13:51:10 +08:00
Jiang Jiang Jian
a60b89bb49
Merge branch 'bugfix/coex_enable_disable_not_in_pairs_v4.4' into 'release/v4.4'
...
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs(backport v4.4)
See merge request espressif/esp-idf!22095
2023-02-03 13:50:53 +08:00
Jiang Jiang Jian
320894986d
Merge branch 'bugfix/fix_ble_some_bugs_20221219_v4.4' into 'release/v4.4'
...
backport some BLE bugs 20221219 (backport v4.4)
See merge request espressif/esp-idf!21709
2023-02-03 13:50:26 +08:00
Jiang Jiang Jian
b818abb0d7
Merge branch 'bugfix/fix_some_ble_bugs_by_cjh_v4.4' into 'release/v4.4'
...
Fixed some BLE bugs (backport v4.4)
See merge request espressif/esp-idf!21691
2023-02-03 13:50:12 +08:00
Jiang Jiang Jian
202e1c1fb8
Merge branch 'feature/report_acl_conn_cmp_stat_to_app_v4.4' into 'release/v4.4'
...
feature/report ACL link related events to application (v4.4)
See merge request espressif/esp-idf!21525
2023-02-03 13:49:59 +08:00
wangmengyang
86b2779adc
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3 and ESP32-S3
2023-01-20 10:53:52 +08:00
Sumeet Singh
2a4fd41d9a
NimBLE: Fix incomplete clearing of peer_dev_rec
2023-01-11 16:24:50 +05:30
jincheng
48212875f8
Added reporting for ACL link related events to application
2023-01-04 11:48:51 +08:00
Jiang Jiang Jian
cfeccaa685
Merge branch 'bugfix/correct_the_default_SR_mode_v4.4' into 'release/v4.4'
...
bugfix/correct the SR_mode selection when konw nothing about Peripheral's SR_mode (v4.4)
See merge request espressif/esp-idf!21520
2022-12-22 19:37:27 +08:00
zwj
046a5b145d
Update bt lib for ESP32
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-20 11:40:34 +08:00
zwj
4cb0e30b08
Update bt lib for ESP32-C3 and ESP32-S3
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-20 11:39:35 +08:00
chenjianhua
41c643909e
update bt lib for ESP32-C3 and ESP32-S3
...
1 fixed privacy error for directed adv
2 fixed multi periodic adv sync failed in air
2022-12-20 11:38:22 +08:00
zwj
c32c9d8833
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3
2022-12-20 11:36:58 +08:00
chenjianhua
bdfc1426ac
update bt-lib for ESP32
...
1 change default TX power to 9 dBm
2 fixed disconnect reason 0x1f (unspecified error)
3 fixed connection timeout due to terminate ind has not been acknowledged
2022-12-20 11:34:43 +08:00
zwj
13493a6137
Fixed some memory was not released after bluetooth controller initialization failed on ESP32
2022-12-20 11:29:33 +08:00
chenjianhua
f44f3d13bc
bluedroid: fix ble connection update with same params
2022-12-19 19:10:26 +08:00
chenjianhua
8cf14e42ba
bluedroid: fix encrypt keysize of GATT characteristic permission
2022-12-19 17:42:08 +08:00
chenjianhua
0cb30a3da0
bluedroid: correct the length of att read by type pdu
2022-12-19 17:41:45 +08:00
xiongweichao
d1ce1f9586
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code
2022-12-15 17:01:32 +08:00
Rahul Tank
f1ee4f551d
Nimble: Update documentation to include distinction between upstream
...
mesh example and ESP-BLE-MESH
2022-12-13 12:56:17 +05:30
Rahul Tank
7c75d88da5
Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3
2022-12-11 18:17:25 +05:30
Jin Cheng
efcef1a400
correct the SR_mode selection when konw nothing about Peripheral
2022-12-09 10:28:06 +08:00
Ivan Grokhotkov
a82a530387
Merge branch 'staging/esp_static_assert_v4.4' into 'release/v4.4'
...
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT (v4.4)
See merge request espressif/esp-idf!21439
2022-12-07 16:58:01 +08:00
Wang Meng Yang
77b37716a3
Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption_v4.4' into 'release/v4.4'
...
Reduce the stack consumption of BTU_TASK (backport v4.4)
See merge request espressif/esp-idf!21435
2022-12-07 11:29:48 +08:00
Jiang Jiang Jian
4e083d8214
Merge branch 'bugfix/spp_vfs_memory_leak_v4.4' into 'release/v4.4'
...
Component_bt/fix esp_spp_vfs_register memory leak(v4.4)
See merge request espressif/esp-idf!21440
2022-12-06 20:40:33 +08:00
Jiang Jiang Jian
52ba3f1ee0
Merge branch 'bugfix/Fix_exceptional_list_params_check_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Fix exceptional list parameters check issue(v4.4)
See merge request espressif/esp-idf!21442
2022-12-06 14:13:20 +08:00
Wang Meng Yang
e0b8f83253
Merge branch 'bugfix/reattempt_crash_v4.4' into 'release/v4.4'
...
NimBLE: Fixed going for reattempt connection code (v4.4)
See merge request espressif/esp-idf!21176
2022-12-06 14:02:25 +08:00
xiongweichao
8246d6bec6
Assert when malloc user_data fail
2022-12-06 06:02:01 +00:00
xiongweichao
cdbdb31d6d
Fixed memory leak when SPP initialization failed
2022-12-06 06:02:01 +00:00
xiongweichao
67341a31b7
Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register()
2022-12-06 06:02:01 +00:00
xiongweichao
91983ad0cf
bt: Fixed incorrect parameters in switching to BTC context
2022-12-05 20:49:18 +08:00
xiongweichao
5c14b6eed1
bt:Modify the member variable *arg in struct btc_msg to arg[0]
2022-12-05 20:48:16 +08:00
xiongweichao
9ec06ba4ac
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-12-05 20:48:04 +08:00
wangjialiang
4aa7b2a837
ble_mesh: stack: Fix exceptional list parameters check issue
2022-12-05 20:25:07 +08:00
Omar Chebib
049d21bb12
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
...
Closes https://github.com/espressif/esp-idf/issues/9938
2022-12-05 18:16:08 +08:00
isha.pardikar@espressif.com
d927830b81
NimBLE: Fixed going for reattempt connection code
2022-12-05 14:36:48 +05:30
zwj
b07e7d7c3f
Reduce the stack consumption of BTU_TASK
2022-12-05 15:50:09 +08:00
Jiang Jiang Jian
694bc6bf47
Merge branch 'feature/backport_blufi_coexist_phy_init_flag_v4.4' into 'release/v4.4'
...
esp_wifi: backport coexist fix, connectionless ps fix, blufi feature
See merge request espressif/esp-idf!21411
2022-12-05 15:04:43 +08:00
Wang Meng Yang
6672ec0692
Merge branch 'feature/support_ble_max_conn_num_to_9_v4.4' into 'release/v4.4'
...
Support bluedroid host maximum number of connections to 9 (backport v4.4)
See merge request espressif/esp-idf!21399
2022-12-05 12:16:55 +08:00
Jiang Jiang Jian
8b24bbd919
Merge branch 'bugfix/fix_c3_s3_ble_temperature_performance_v4.4' into 'release/v4.4'
...
Fixed bluetooth disconnection caused by HW temperature rise or fall(backport v4.4)
See merge request espressif/esp-idf!21371
2022-12-05 10:52:27 +08:00
liuning
b6800c3e01
phy: only set phy_init_flag at power domain off, when all modems deinit
2022-12-02 19:54:58 +08:00
liuning
2d2177b4ad
blufi: update version to 1.3
...
record connecting status, got ip status, maximum retry, connection end info (reason code, rssi) and provide greater information to phone
2022-12-02 19:45:28 +08:00
zwj
417dff3a1e
update BLE lib for ESP32-C3 and ESP32-S3
...
- Fixed lld_con.c line 3048 assert
- Fixed crash sometimes when connected as a slave by 8th device
2022-12-02 12:01:04 +08:00
zhiweijian
6e1eb4af26
bluedroid host supports the maximum number of connections to 9
2022-12-02 12:00:53 +08:00
zhiweijian
2902766706
- update phy lib
...
- Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3
- call pll track in controller task
2022-12-01 19:43:55 +08:00
liqigan
7ba36f4d47
fix HID device can not remove virtually cabled device without a connection
...
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-01 15:18:19 +08:00
xiongweichao
a2e8c6f95c
Fixed a2dp failing to connect again after disconnect
2022-11-30 19:11:27 +08:00
Jin Cheng
2c38701f68
optimized a2dp_sink audio datapath
...
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer
Closes https://github.com/espressif/esp-idf/issues/9622
2022-11-24 12:14:08 +08:00
Wang Meng Yang
4f3f8ebb3d
Merge branch 'bugfix/fix_hfp_clcc_parser_bug_4.4' into 'release/v4.4'
...
Bugfix/Fix HFP client parse CLCC command response bug[backport 4.4]
See merge request espressif/esp-idf!21157
2022-11-23 11:09:41 +08:00
zwj
8e50c5acb2
support BLE memory release on ESP32C3 and ESP32S3
2022-11-21 10:46:30 +08:00
liqigan
a96c1fc7c6
fix HFP client parse CLCC command response bug
2022-11-18 19:41:41 +08:00
zwj
b6f3bfaa13
Update bt lib for ESP32C3 and ESP32S3
...
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-17 03:46:02 +00:00
zwj
80078b6192
Fixed errors reported by CI clang_tidy_check
2022-11-17 03:46:02 +00:00
zwj
d6e3d887c1
Fixed sometimes BTU task overflow when doing read and write performance test
2022-11-17 03:46:02 +00:00
zwj
485f3a4ce1
change default tx power from 3dBm to 9dBm
2022-11-17 03:46:02 +00:00
Jin Cheng
07518cf467
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-11-14 09:48:13 +08:00
Zim Kalinowski
2e1deb55c0
Merge branch 'bugfix/bt_bss_wrong_address_v4.4' into 'release/v4.4'
...
Bluetooth: fix BSS placement in the linker script generated by ldgen (backport v4.4)
See merge request espressif/esp-idf!20978
2022-11-11 12:14:51 +08:00
wangmengyang
b2c7f7689c
bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth on ESP32
2022-11-09 19:32:01 +08:00
Jiang Jiang Jian
a3379e3405
Merge branch 'bugfix/fix_fast_interval_prov_adv_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Fix send fast interval prov_adv failed(v4.4)
See merge request espressif/esp-idf!20640
2022-11-09 17:58:12 +08:00
Jiang Jiang Jian
3f3e9744ef
Merge branch 'feature/Add_IVI_recovery_option_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update(v4.4)
See merge request espressif/esp-idf!20642
2022-11-09 17:57:52 +08:00
Jiang Jiang Jian
6ea8717373
Merge branch 'bugfix/esp_spp_write_len_0_v4.4' into 'release/v4.4'
...
bt: Fixed esp_spp_write() crash when len is 0 (v4.4)
See merge request espressif/esp-idf!20705
2022-11-09 17:57:10 +08:00
Jiang Jiang Jian
f57a4e51ce
Merge branch 'bugfix/update_ctrl_init_config_macro_v4.4' into 'release/v4.4'
...
Bugfix/update ctrl init config macro (v4.4)
See merge request espressif/esp-idf!20712
2022-11-09 17:56:42 +08:00
Jiang Jiang Jian
b07b2d529b
Merge branch 'bugfix/handle_issue_of_malloc_fail_v4.4' into 'release/v4.4'
...
bugfix/avoid unexpected free when malloc failed (v4.4)
See merge request espressif/esp-idf!20727
2022-11-09 17:55:57 +08:00
Jiang Jiang Jian
fa83153105
Merge branch 'bugfix/fix_trans_optional_info_using_group_addr_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Fix can't trans optional info to group address(v4.4)
See merge request espressif/esp-idf!20959
2022-11-09 17:55:27 +08:00
Jiang Jiang Jian
9e9f0592f8
Merge branch 'bugfix/fix_esp32_esp32c3_some_bugs' into 'release/v4.4'
...
Fixed BLE lld_per_adv.c line 401 assert on ESP32C3 and ESP32S3 (backport v4.4)
See merge request espressif/esp-idf!20757
2022-11-09 17:52:42 +08:00
Jiang Jiang Jian
aac7947003
Merge branch 'backport/cjh_v4.4' into 'release/v4.4'
...
Fixed some BLE bugs on bluedroid (backport v4.4)
See merge request espressif/esp-idf!20509
2022-11-09 17:50:54 +08:00
Omar Chebib
a4df6776b6
Bluetooth: fix BSS placement in the linker script generated by ldgen
2022-11-08 14:02:31 +08:00
wangjialiang
2d3582403e
ble_mesh: stack: Fix can't trans optional info to group address
2022-11-07 15:48:10 +08:00
xiongweichao
c4fd19c144
bt: Fixed SPP VFS mode not being able to send data
2022-10-26 16:43:49 +08:00
zwj
290a6c8ade
allow bluedroid host to report adv_ind separately
2022-10-24 19:28:23 +08:00
zwj
94c74bd866
Fixed BLE lld_per_adv.c line 401 assert
2022-10-24 19:27:56 +08:00
zwj
d2ebe4e7bb
Fixed ESP32 BLE assert(32 0)
2022-10-24 19:27:32 +08:00
tgotic
dc059fe2ee
[bt] fix if allocation fails
...
If osi_malloc fails for work_queues or osi_work_queue_create fails, osi_work_queue_delete in _err may release unallocated memory.
2022-10-21 14:45:25 +08:00
Evan Neidler
1f2e831ad2
Update #define BT_CONTROLLER_INIT_CONFIG_DEFAULT().
...
Corrects header names in string from "bt.h" to "esp_bt.h".
2022-10-21 12:02:51 +08:00
xiongweichao
b35c2f9794
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-21 11:18:25 +08:00
wangjialiang
f1e7252d4d
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update
2022-10-17 16:52:53 +08:00
wangjialiang
45a3ec7983
ble_mesh: stack: Fix send fast interval prov_adv failed when PB-ADV and PB-GATT enable simultaneously
2022-10-17 16:39:16 +08:00
chenjianhua
cd92bad84a
bluedroid: configurable max gattc cache characteristic count
2022-10-09 16:27:54 +08:00
chenjianhua
bec6de98c4
fix ble adv tx power map
2022-10-09 16:27:06 +08:00