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
chenjianhua
38d1250788
bluedroid: fix ble rpa generate and update by host
2022-10-09 16:25:17 +08:00
chenjianhua
cfc85ac1c6
Revert "component/bt: add local irk to controller"
...
This reverts commit 95c35288bc
.
2022-10-09 16:23:24 +08:00
chenjianhua
f943f37927
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 1cc0f6aac5
.
2022-10-09 16:16:59 +08:00
chenjianhua
83c9d18309
Bluedroid: Configurable option to modify max gatt service attributes count
2022-10-09 16:13:20 +08:00
Rahul Tank
e7db4ff5ec
Nimble: Added check to deregister stack callback with controller during
...
stack deinit
2022-10-06 09:44:45 +05:30
Jiang Jiang Jian
e53ea6c776
Merge branch 'bugfix/acl_buf_ocf_and_conn_fail_v4.4' into 'release/v4.4'
...
bugfix/fixed the exhaustion of ACL buffer and duplicated connection requests (v4.4)
See merge request espressif/esp-idf!20384
2022-09-28 16:31:38 +08:00
Jin Cheng
339eca61ad
fixed the exhaustion of ACL buffer
...
fixed the duplication of connection request from the same device
2022-09-28 10:12:29 +08:00
cjin
403bff2a2b
fix err using rpa for confirmation calculation
2022-09-27 19:32:26 +08:00
cjin
b063151c4b
fix on data len change cmd malfunction
2022-09-27 19:32:11 +08:00
zwj
358a03e844
Fixed extend adv tx power range error
2022-09-27 19:30:06 +08:00
zwj
cac46cb107
update BLE lib for ESP32C3 and ESP32S3
...
Fixed BLE disconnection issue when channel map update failed due to bad channels
2022-09-27 19:24:58 +08:00
Jiang Jiang Jian
ae263f1bc8
Merge branch 'feature/sink_support_mono_v4.4' into 'release/v4.4'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v4.4)
See merge request espressif/esp-idf!20077
2022-09-26 17:47:31 +08:00
Island
3ea96f0e22
Merge branch 'bugfix/relay_friend_cred_message_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Fix friend relay lpn message when relay disable(v4.4)
See merge request espressif/esp-idf!20204
2022-09-22 14:17:25 +08:00
Island
7d4d75c507
Merge branch 'doc/support_micro_def' into 'release/v4.4'
...
Support of Micro definition in header file
See merge request espressif/esp-idf!20071
2022-09-21 13:53:53 +08:00
wangjialiang
bf9b44f7fc
ble_mesh: stack: Fix friend relay lpn message when relay disable.
2022-09-21 03:39:56 +00:00
wangjialiang
e4df3e2ad7
ble_mesh: stack: Add option for lpn auto sub all-nodes.
2022-09-20 20:30:08 +08:00
satish.solanke
bb6f2ca740
Support of Micro defination in header file
2022-09-20 11:07:06 +05:30
Jiang Jiang Jian
e80057035a
Merge branch 'bugfix/adapt_new_btc_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used (v4.4)
See merge request espressif/esp-idf!20166
2022-09-16 10:53:55 +08:00
Roshan Bangar
d2b1ea9ac1
Nimble : updated debug level for a print to avoid unwanted console log.
2022-09-15 15:24:53 +05:30
wangjialiang
87921558fd
ble_mesh: stack: added the judgment that the parameter is NULL but the parameter len is not zero to avoid btc_transfer_context failed
2022-09-15 09:14:39 +00:00
Jiang Jiang Jian
481d00be93
Merge branch 'bugfix/fix_memory_corruption_in_recon_code_v4.4' into 'release/v4.4'
...
Nimble: Fixed memory corruption introduced in reconnection attempt code (v4.4)
See merge request espressif/esp-idf!19745
2022-09-14 16:34:22 +08:00
Zim Kalinowski
6c3267e8a9
Merge branch 'feature/s2_s3_support_ext_mem_stack_v4.4' into 'release/v4.4'
...
soc: support placing task stacks in external memory for S2 and S3 (v4.4)
See merge request espressif/esp-idf!20001
2022-09-13 21:24:02 +08:00
Wang Meng Yang
224871784b
Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting_v4.4' into 'release/v4.4'
...
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting (backport v4.4)
See merge request espressif/esp-idf!20042
2022-09-09 21:05:52 +08:00
Wang Meng Yang
8e6af17ee5
Merge branch 'bugfix/fix_some_ble_bugs_on_esp32c3_and_esp32s3_v4.4' into 'release/v4.4'
...
Fixed some BLE controller bugs on ESP32-C3 and ESP32-S3 (backport v4.4)
See merge request espressif/esp-idf!19988
2022-09-09 19:39:57 +08:00
xiongweichao
4c4799ac49
bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-09 17:31:04 +08:00
satish.solanke
a44071ab14
updating doc for the issue doc_3566
2022-09-09 10:40:44 +05:30
zhiweijian
c0c1485dc4
Add QA test Functions
2022-09-08 17:55:54 +08:00
zwj
4bf2eb3f48
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-08 17:54:43 +08:00
zwj
c1e54ac0fa
Update ESP32-C3 and ESP32-S3 BLE lib
...
- Fixed the performance issue of BLE sync scan in coexistence scenario when PLL track is enabledFixed the usage of PLL track related baseband IRQs
- Fixed connect failed due to error sync found signal
- Fixed BLE disconnect failed due to terminate_ind have sent but no ACK is received
- Added ADV mode error check in ADV rx isr handler function
- Fixed BLE RAL_UNDERRUN and TX_CRYPT_ERR assert
- Disable scan continue
- Fixed scan forever if scan continue is disable
2022-09-07 12:33:33 +08:00
Wang Meng Yang
6e6c8135d5
Merge branch 'bugfix/remove_bt_dft_init_semicolon_v4.4' into 'release/v4.4'
...
bt: Remove trailing semicolon from bt dft initializer(v4.4)
See merge request espressif/esp-idf!19914
2022-09-07 12:00:32 +08:00
Marius Vikhammer
16459d0d42
soc: support placing task stacks in external memory for S2 and S3
2022-09-07 11:46:56 +08:00
xiongweichao
d0c19a0e74
Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
...
Closes https://github.com/espressif/esp-idf/issues/9672
2022-09-05 14:23:16 +08:00