zhiweijian
c35b14bb49
Fixed BLE array access out of bounds
2022-10-31 20:13:26 +08:00
Roshan Bangar
ab2dee9439
Nimble/blufi: Added an API to stop Bluetooth / Blufi
2022-10-31 09:49:13 +05:30
zwl
3bc38b7ff4
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
2022-10-31 12:01:35 +08:00
Jiang Jiang Jian
a43a6809c7
Merge branch 'feature/esp32c2_optimize_npl_os_freertos_ram_v5.0' into 'release/v5.0'
...
Feature/esp32c2 optimize npl os freertos ram v5.0
See merge request espressif/esp-idf!20776
2022-10-28 11:42:16 +08:00
xiongweichao
cb647b5198
bt: Fixed SPP VFS mode not being able to send data
2022-10-26 16:41:09 +08:00
xiongweichao
47232f54a8
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-26 16:40:56 +08:00
zwl
333c3db233
Modify ESP32C2's default ble tx output power
2022-10-25 16:50:21 +08:00
zwl
be07eb4757
Reduced the RAM size of npl_os_freertos.c file
2022-10-25 16:50:07 +08:00
Rahul Tank
11c44c9838
Nimble: Added check to allocate memory for extended adv
...
reports from lower prioirty buffers instead of high prioirty pool.
2022-10-21 12:47:14 +05:30
tgotic
11b6c25641
[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:44:39 +08:00
Evan Neidler
ffcabde96d
Update #define BT_CONTROLLER_INIT_CONFIG_DEFAULT().
...
Corrects header names in string from "bt.h" to "esp_bt.h".
2022-10-21 11:58:30 +08:00
Jin Cheng
3314fcfdf7
Revert "fixed the issue iOS devices cannot initiate connection"
...
This reverts commit da44fc9cbe
.
2022-10-18 19:47:10 +08:00
Rahul Tank
50b1a99a47
Nimble: Update the esprv_intc_int_set_type() usage
2022-10-18 06:06:44 +00:00
wangjialiang
54f18a4fa3
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update
2022-10-17 16:52:01 +08:00
wangjialiang
3d695cec32
ble_mesh: stack: Fix send fast interval prov_adv failed when PB-ADV and PB-GATT enable simultaneously
2022-10-17 16:38:09 +08:00
Jiang Jiang Jian
5c2a41d659
Merge branch 'bugfix/close_stack_callback_during_ble_stop_v5.0' into 'release/v5.0'
...
Nimble: Added check to deregister stack callback with controller during (v5.0)
See merge request espressif/esp-idf!20603
2022-10-16 11:14:46 +08:00
Jiang Jiang Jian
6713c745c2
Merge branch 'bugfix/esp32c2_scan_assert_v5.0' into 'release/v5.0'
...
Fixed occasional crash during scanning
See merge request espressif/esp-idf!20580
2022-10-16 11:01:13 +08:00
Jiang Jiang Jian
7bd5af7f1e
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v5.0' into 'release/v5.0'
...
fixed the issue iOS devices cannot initiate connection (v5.0)
See merge request espressif/esp-idf!20403
2022-10-14 17:15:15 +08:00
Rahul Tank
d6ea9b9643
Nimble: Added check to deregister stack callback with controller during
2022-10-14 12:08:15 +05:30
Jiang Jiang Jian
d1b989dae2
Merge branch 'bugfix/reorder_stack_deinit_function_v5.0' into 'release/v5.0'
...
Nimble: Removed extra deinit for flow timer (v5.0)
See merge request espressif/esp-idf!20308
2022-10-14 13:58:53 +08:00
Jin Cheng
dec4052ed7
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-14 03:28:18 +00:00
Jiang Jiang Jian
65bf1ff368
Merge branch 'bugfix/use_nonblocking_coex_callback_v5.0' into 'release/v5.0'
...
bluetooth: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth(backport v5.0)
See merge request espressif/esp-idf!20414
2022-10-14 11:25:21 +08:00
zwl
6b980e526a
Fixed occasional crash during scanning
2022-10-13 14:05:45 +08:00
Jiang Jiang Jian
2978de0f75
Merge branch 'rebase/fix_ble_mem_leak_issue_rls' into 'release/v5.0'
...
fix ble mem leak when sleep is enabled
See merge request espressif/esp-idf!20528
2022-10-13 10:49:46 +08:00
wangmengyang
2d4f6d5b62
bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth
2022-10-12 19:42:55 +08:00
cjin
baca425ce8
fix ble mem leak when sleep is enabled
2022-10-12 11:29:55 +08:00
Jiang Jiang Jian
d3ae5ed08f
Merge branch 'backport/cjh_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs on bluedroid (backport v5.0)
See merge request espressif/esp-idf!20510
2022-10-11 17:47:26 +08:00
Jiang Jiang Jian
09018a6af4
Merge branch 'bugfix/eanble_bluedroid_host_adv_ind_report_individually_v5.0' into 'release/v5.0'
...
allow bluedroid host to report adv_ind separately(backport v5.0)
See merge request espressif/esp-idf!20440
2022-10-11 17:46:45 +08:00
Jiang Jiang Jian
5ae4f34cb8
Merge branch 'bugfix/fix_ble_lld_per_adv_assert_on_esp32c3_s3_v5.0' into 'release/v5.0'
...
Fixed BLE lld_per_adv.c line 401 assert (backport v5.0)
See merge request espressif/esp-idf!20506
2022-10-11 17:46:10 +08:00
Jiang Jiang Jian
bb6e0e52b8
Merge branch 'bugfix/fix_esp32_ble_assert_32_v5.0' into 'release/v5.0'
...
Fixed ESP32 BLE assert(32 0) (backport v5.0)
See merge request espressif/esp-idf!20508
2022-10-11 17:45:55 +08:00
chenjianhua
a207f218ea
bluedroid: configurable max gattc cache characteristic count
2022-10-09 17:07:53 +08:00
chenjianhua
3f3ca8bf60
fix ble adv tx power map
2022-10-09 17:07:53 +08:00
chenjianhua
548cce624c
bluedroid: fix ble rpa generate and update by host
2022-10-09 17:07:53 +08:00
chenjianhua
e9dd8a6bf5
Revert "component/bt: add local irk to controller"
...
This reverts commit 95c35288bc
.
2022-10-09 17:07:53 +08:00
chenjianhua
f96e38a70d
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 1cc0f6aac5
.
2022-10-09 17:07:53 +08:00
chenjianhua
03832cceeb
Bluedroid: Configurable option to modify max gatt service attributes count
2022-10-09 17:07:53 +08:00
zwj
60ece59f04
Fixed ESP32 BLE assert(32 0)
2022-10-09 16:06:28 +08:00
zwj
1030bdd299
Fixed BLE lld_per_adv.c line 401 assert
2022-10-09 16:02:06 +08:00
zwj
2fe4ff7031
allow bluedroid host to report adv_ind separately
2022-10-08 14:53:53 +08:00
zwl
719f05306f
Fixed the issue that master sends retransmitted data incorrectly on ESP32C2
2022-09-30 12:02:58 +08:00
cjin
0010f4c3a8
update controller lib for bugfix on light-sleep
2022-09-30 12:02:57 +08:00
cjin
9d7a7001ac
fix ble compilation error
2022-09-30 12:02:57 +08:00
Rahul Tank
f61c51567f
Nimble: Re-ordered the function sequence in stack deinit to be reverse of stack init process
2022-09-23 15:41:50 +05:30
Jiang Jiang Jian
096fdb8bb4
Merge branch 'bugfix/bluedroid_debug_esp32c2_rls' into 'release/v5.0'
...
Bugfix/bludroid debug esp32c2
See merge request espressif/esp-idf!20244
2022-09-21 20:37:17 +08:00
cjin
d5349fcc53
update ble controller lib for bugfix on esp32c2
2022-09-21 14:16:52 +08:00
Jiang Jiang Jian
4bcf814855
Merge branch 'bugfix/ble_light_sleep_error_on_esp32c2' into 'release/v5.0'
...
Bugfix/ble light sleep error on esp32c2
See merge request espressif/esp-idf!20237
2022-09-21 10:53:29 +08:00
Jiang Jiang Jian
58afbf71ae
Merge branch 'bugfix/lpn_not_recv_message_to_all_node_5.0' into 'release/v5.0'
...
ble_mesh: stack: Add option for lpn auto sub all-nodes(v5.0)
See merge request espressif/esp-idf!20260
2022-09-21 10:01:51 +08:00
Jiang Jiang Jian
27a9e68d2c
Merge branch 'bugfix/fix_vhci_hack_for_external_bt_v5.0' into 'release/v5.0'
...
Nimble: Added check to not include VHCI buffer handling code if controller support is disabled (v5.0)
See merge request espressif/esp-idf!20185
2022-09-21 09:41:33 +08:00
wangjialiang
74ceccaf62
ble_mesh: stack: Add option for lpn auto sub all-nodes.
2022-09-20 20:29:11 +08:00
Jin Cheng
b7ad8a150f
fixed the exhaustion of ACL buffer
...
fixed the duplication of connection request from the same device
2022-09-20 11:19:02 +00:00
cjin
a5c543a7a9
fix err using rpa for confirmation calculation
2022-09-20 18:06:45 +08:00
cjin
3112c8b954
mbuf copy hci data error fix
2022-09-20 18:06:45 +08:00
cjin
143a572b55
fix on data len change cmd malfunction
2022-09-20 18:06:45 +08:00
Jiang Jiang Jian
b585bdd739
Merge branch 'bugfix/fix_extend_adv_tx_pwr_signed_type_err_v5.0' into 'release/v5.0'
...
Fixed extend adv tx power range error (backport v5.0)
See merge request espressif/esp-idf!20226
2022-09-20 16:07:26 +08:00
zwl
549eb762d8
fixed wifi can't be connected after enable bt sleep mode
2022-09-20 14:26:28 +08:00
Jiang Jiang Jian
4b01f4080c
Merge branch 'bugfix/fix_ble_disconnect_due_to_channel_map_instant_passed_v5.0' into 'release/v5.0'
...
Fixed BLE disconnection issue when channel map instant passed due to bad channels(backport v5.0)
See merge request espressif/esp-idf!20190
2022-09-20 14:24:32 +08:00
Rahul Tank
75e375b257
Nimble: Added check to not include VHCI buffer handling code if
...
controller support is disabled
2022-09-20 11:08:16 +05:30
Jiang Jiang Jian
c85d364720
Merge branch 'feature/sink_support_mono_v5.0' into 'release/v5.0'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v5.0)
See merge request espressif/esp-idf!20075
2022-09-20 11:04:44 +08:00
Jiang Jiang Jian
959dd90787
Merge branch 'bugfix/memory_leak_init_deinit_blufi_example_v5.0' into 'release/v5.0'
...
Fix: blufi example memory leak while init and deinit (v5.0)
See merge request espressif/esp-idf!20219
2022-09-20 10:46:28 +08:00
Wang Meng Yang
e1a845f7f8
Merge branch 'bugfix/change_log_level_for_print_v5.0' into 'release/v5.0'
...
Nimble : updated debug level for a print to avoid unwanted console log. (v5.0)
See merge request espressif/esp-idf!20110
2022-09-20 10:41:05 +08:00
zwl
89a141eea2
fixed ble can't enter light sleep
2022-09-19 21:32:54 +08:00
Jiang Jiang Jian
9f31b718c9
Merge branch 'bugfix/adjust_mblock_size_on_esp32c2_v5.0' into 'release/v5.0'
...
change block1 size and num for esp ble controller
See merge request espressif/esp-idf!20187
2022-09-19 17:22:32 +08:00
zwj
07c4eb8841
Fixed extend adv tx power range error
2022-09-19 16:21:22 +08:00
satish.solanke
00beda2ef1
Fix: blufi example memory leak while init and deinit
2022-09-19 11:51:05 +05:30
Jiang Jiang Jian
03b10661b4
Merge branch 'bugfix/adapt_new_btc_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used (v5.0)
See merge request espressif/esp-idf!20165
2022-09-19 11:07:07 +08:00
wangjialiang
0dde7cf3f0
ble_mesh: stack: Fix friend relay lpn message when relay disable.
2022-09-18 14:37:57 +08:00
zwj
a2575d6b4d
update BLE lib for ESP32C3 and ESP32S3
...
Fixed BLE disconnection issue when channel map update failed due to bad channels
2022-09-16 21:23:40 +08:00
zwl
a5b0009cf8
change block1 size and num for esp ble controller
2022-09-16 14:41:28 +08:00
xiongweichao
09cc360b43
Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-15 11:35:25 +00:00
Roshan Bangar
05863cb267
Nimble : updated debug level for a print to avoid unwanted console log.
2022-09-15 15:27:13 +05:30
wangjialiang
4611e8971b
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:12:51 +00:00
Jiang Jiang Jian
7221510205
Merge branch 'fix/DOC_3566_v5.0' into 'release/v5.0'
...
Updating doc for the issue doc_3566 (v5.0)
See merge request espressif/esp-idf!20059
2022-09-14 13:49:10 +08:00
Jiang Jiang Jian
d66d0f6b8d
Merge branch 'bugfix/remove_bt_dft_init_semicolon_v5.0' into 'release/v5.0'
...
bt: Remove trailing semicolon from bt dft initializer(v5.0)
See merge request espressif/esp-idf!19903
2022-09-14 13:41:42 +08:00
satish.solanke
622bfa3e28
updating doc for the issue doc_3566
2022-09-09 10:32:53 +05:30
zwj
73d00170d6
Update ESP32-C3 and ESP32-S3 BLE lib
...
- Fixed the performance issue of BLE sync scan in coexistence scenario when PLL track is enabled
- 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-08 13:30:23 +00:00
Jiang Jiang Jian
cb508c7d6a
Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable_v5.0' into 'release/v5.0'
...
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()(v5.0)
See merge request espressif/esp-idf!19950
2022-09-08 17:25:24 +08:00
Jiang Jiang Jian
5f86aaafdb
Merge branch 'feature/add_qa_test_funcs_v5.0' into 'release/v5.0'
...
Add QA test Functions for esp32 (backport v5.0)
See merge request espressif/esp-idf!19742
2022-09-08 17:19:07 +08:00
Jiang Jiang Jian
3be0bae9d8
Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting_v5.0' into 'release/v5.0'
...
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting(backport v5.0)
See merge request espressif/esp-idf!19995
2022-09-08 17:18:22 +08:00
zwj
dc010b701b
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-06 21:28:06 +08:00
Rahul Tank
4ffafc3aa6
Nimble: Add extra allocation for data pointer returned by controller for ESP IP
2022-09-06 11:21:47 +05:30
xiongweichao
607400a048
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:19:21 +08:00
zhiweijian
b6ec98535d
Add QA test Functions
2022-09-01 13:56:52 +00:00
Pedro
6ebd5381fb
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-09-01 12:01:24 +08:00
zwl
502d47fa44
add set/get txpwr api and fix issues such as disconnect and abnormal tx behavior for esp32c2
2022-08-29 15:39:01 +00:00
Jiang Jiang Jian
16e961a336
Merge branch 'bugfix/fix_memory_corruption_in_recon_code_v5.0' into 'release/v5.0'
...
Nimble: Fixed memory corruption introduced in reconnection attempt code (v5.0)
See merge request espressif/esp-idf!19747
2022-08-29 22:47:38 +08:00
xiongweichao
7dcf576659
Fix bluetooth disconnection issue when light sleep and baseband power down are enabled
2022-08-26 15:59:33 +08:00
Jiang Jiang Jian
40ca58496b
Merge branch 'bugfix/fix_ble_sch_arb_assert_v5.0' into 'release/v5.0'
...
Fixed BLE sch_arb assert on ESP32-C3 and ESP32-S3(backport v5.0)
See merge request espressif/esp-idf!19732
2022-08-25 13:44:29 +08:00
Rahul Tank
b316ff3661
Nimble: Fixed memory corruption introduced in reconnection attempt code
2022-08-25 10:49:43 +05:30
Jiang Jiang Jian
4b02b56f77
Merge branch 'bugfix/bt_invalid_workqueue_num_v5.0' into 'release/v5.0'
...
Bluetooth: fixed the invalid workqueue number for BTU thread in Bluedroid(backport v5.0)
See merge request espressif/esp-idf!19580
2022-08-24 16:49:26 +08:00
Jiang Jiang Jian
c9124823ef
Merge branch 'contrib/github_pr_9529_mr_5.0' into 'release/v5.0'
...
bt:No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post()(v5.0)
See merge request espressif/esp-idf!19691
2022-08-24 14:42:46 +08:00
Jiang Jiang Jian
c05c1a2e11
Merge branch 'bugfix/increase_leading_space_for_alloc_v5.0' into 'release/v5.0'
...
Nimble: Add extra space for buffer allocation for ESP IP (v5.0)
See merge request espressif/esp-idf!19731
2022-08-24 14:00:06 +08:00
zwj
ccd9d0f8ce
Update BLE lib for ESP32-C3 and ESP32-S3
...
- update ble tx power level mapping
- Fixed ble sch_arb assert
2022-08-23 19:42:28 +08:00
zwj
1c1a3845ba
fix extend adv set remove failed
2022-08-23 19:42:16 +08:00
Rahul Tank
c6d3708558
Nimble: Add extra space for buffer allocation for ESP IP
2022-08-23 17:09:15 +05:30
satish.solanke
9b6d1b91c0
Support of Micro defination in header file
2022-08-23 12:05:30 +05:30
tgotic
cd5e85aa19
update code to use osi_free()
2022-08-22 15:37:16 +08:00
tgotic
40addb8faa
local copy of btc_msg_t
...
No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post().
2022-08-22 15:37:08 +08:00
zwl
65d35b0b45
update ble controller lib for ble issues fixed on esp32c2(8dbbbf0269)
2022-08-16 22:04:30 +08:00
wangmengyang
518ace6bb5
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-16 17:19:58 +08:00
Jiang Jiang Jian
4ba5515dc0
Merge branch 'backport/backport_master_to_release_v5.0' into 'release/v5.0'
...
backport master to release v5.0(Backport v5.0)
See merge request espressif/esp-idf!19560
2022-08-16 16:37:54 +08:00