Jiang Jiang Jian
8facf6fbb1
Merge branch 'feature/support_le_power_control' into 'master'
...
Nimble: Add LE Power control HCI Command / Event
See merge request espressif/esp-idf!15773
2022-11-04 17:21:19 +08:00
Rahul Tank
4641f84998
Nimble: Corrected macro used in memcpy to copy address
2022-11-03 15:59:16 +05:30
Zhi Wei Jian
d5306303f0
Merge branch 'feature/support_ble_memory_release_on_esp32c3_and_esp32s3' into 'master'
...
Support Bluetooth to release .bss and .data segment memory on ESP32C3 and ESP32S3
Closes IDFGH-8470
See merge request espressif/esp-idf!20700
2022-11-02 11:00:53 +08:00
Jiang Jiang Jian
b313d7e2cd
Merge branch 'bugfix/esp32c2_create_sync_lost' into 'master'
...
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
See merge request espressif/esp-idf!20861
2022-11-01 21:00:47 +08:00
Jiang Jiang Jian
203596f3d5
Merge branch 'bugfix/fix_ble_array_access_out_of_bounds' into 'master'
...
Fixed BLE array access out of bounds
Closes BT-2889
See merge request espressif/esp-idf!20873
2022-11-01 20:32:00 +08:00
Rahul Tank
6f806e126b
Merge branch 'feat/NimBLE-Blufi-custom-use' into 'master'
...
Nimble: Add support to expose blufi handler for external BLE application
See merge request espressif/esp-idf!20424
2022-11-01 16:20:28 +08:00
zhiweijian
29e4fab59e
Fixed BLE array access out of bounds
2022-10-31 20:03:41 +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
zwl
de3f7888c6
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
2022-10-31 11:44:50 +08:00
Wang Meng Yang
d938cb7e28
Merge branch 'bugfix/spp_50005_crash' into 'master'
...
bt: Fixed L2CAP ERTM tx window size being too large causing memory exhaustion in case of multiple SPP connections
Closes BT-2411
See merge request espressif/esp-idf!20228
2022-10-28 17:12:44 +08:00
Island
dd127151b8
Merge branch 'bugfix/fix_trans_optional_info_using_group_addr' into 'master'
...
ble_mesh: stack: Fix can't trans optional info to group address
See merge request espressif/esp-idf!20731
2022-10-28 17:05:18 +08:00
Rahul Tank
7ca82b1b29
Support BLE memory release on ESP32C2
2022-10-27 18:00:01 +05:30
xiongweichao
01a67d001e
bt: Keep the maximum number of credits unchanged
2022-10-27 19:45:25 +08:00
xiongweichao
7885f80597
bt: Replaced the tx queue in SPP VFS mode with ringbuffer
2022-10-27 19:45:25 +08: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
Rahul Tank
fe5d4e0f39
Nimble: Add LE Power CTRL changes
2022-10-27 16:30:44 +05:30
zwj
d600496800
support BLE memory release on ESP32C3 and ESP32S3
2022-10-27 14:22:15 +08:00
Rahul Tank
a6251da049
Merge branch 'feature/LE_Conn_Subrating' into 'master'
...
Nimble: Stack support for Connection subrating
See merge request espressif/esp-idf!20377
2022-10-26 21:18:33 +08:00
Island
afeb7dbbd8
Merge branch 'feature/esp32c2_optimize_npl_os_freertos_ram' into 'master'
...
Feature/esp32c2 optimize npl os freertos ram
Closes IDF-6100
See merge request espressif/esp-idf!20775
2022-10-26 16:52:35 +08:00
Wang Meng Yang
db9caf4354
Merge branch 'bugfix/spp_vfs_mode_send_data_fail' into 'master'
...
bt: Fixed SPP VFS mode not being able to send data
See merge request espressif/esp-idf!20758
2022-10-26 15:24:41 +08:00
Wang Meng Yang
2d2d0ba1f3
Merge branch 'bugfix/handle_issue_of_malloc_fail' into 'master'
...
bugfix/avoid unexpected free when malloc failed
Closes IDFGH-8518
See merge request espressif/esp-idf!20723
2022-10-25 20:16:20 +08:00
Omar Chebib
8e9b1e8a7a
Merge branch 'bugfix/bt_bss_wrong_address' into 'master'
...
Bluetooth: fix BSS placement in the linker script generated by ldgen
Closes BT-2883
See merge request espressif/esp-idf!20749
2022-10-25 16:34:30 +08:00
zwl
efd10a6af4
Modify ESP32C2's default ble tx output power
2022-10-25 16:29:10 +08:00
zwl
76cd979dbb
Reduced the RAM size of npl_os_freertos.c file
2022-10-25 16:28:38 +08:00
Lu Ai Jun
23cac269f6
Merge branch 'bugfix/handle_buffers_for_ext_adv_rpt' into 'master'
...
Nimble: Allocate memory for ext adv reports from lower priority pool.
See merge request espressif/esp-idf!20678
2022-10-25 15:43:16 +08:00
xiongweichao
bda54af557
bt: Fixed SPP VFS mode not being able to send data
2022-10-25 14:17:45 +08:00
Rahul Tank
5a08ba15b5
Nimble: Stack support for Connection subrating feature
2022-10-25 10:21:46 +05:30
Omar Chebib
950981906b
Bluetooth: fix BSS placement in the linker script generated by ldgen
2022-10-24 16:37:30 +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
tgotic
cd2492f98b
[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:43:12 +08:00
wangjialiang
7e0b57f9ef
ble_mesh: stack: Fix can't trans optional info to group address
2022-10-21 12:07:53 +08:00
Wang Meng Yang
af3e6d6398
Merge branch 'bugfix/esp_spp_write_len_0' into 'master'
...
bt: Fixed esp_spp_write() crash when len is 0
Closes IDFGH-8523
See merge request espressif/esp-idf!20659
2022-10-21 07:47:47 +08:00
xiongweichao
4e895104ef
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-20 06:18:14 +00: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
Rahul Tank
2abc451d90
Nimble: Added check to allocate memory for extended adv
...
reports from lower prioirty buffers instead of high prioirty pool.
2022-10-19 14:11:46 +05:30
Mathis
ca024c119d
Blufi: Add function for blufi management inside custom gap event handler
2022-10-19 09:24:40 +05:30
Mathis
140f40a1d9
Blufi: use blufi_env.conn_id instead of local variable
2022-10-19 09:21:45 +05:30
Wang Meng Yang
55f92ec268
Merge branch 'bt/opt_audio_datapath' into 'master'
...
bt/optimized a2dp_sink audio datapath
Closes IDFGH-8124 and AUD-4106
See merge request espressif/esp-idf!20592
2022-10-18 19:27:29 +08:00
Jiang Jiang Jian
b540fb44e1
Merge branch 'bugfix/esprv_intc_int_set_type_error' into 'master'
...
Nimble: Fixed esprv_intc_int_set_type() usage
See merge request espressif/esp-idf!20615
2022-10-18 15:58:43 +08:00
Jin Cheng
0459cf3963
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-10-17 20:57:19 +08:00
Jiang Jiang Jian
6e65b61c8a
Merge branch 'bugfix/esp32c2_scan_assert' into 'master'
...
Fixed occasional crash during scanning
Closes BT-2784
See merge request espressif/esp-idf!20578
2022-10-14 18:02:06 +08:00
Island
7ddbaae318
Merge branch 'feature/Add_IVI_recovery_option' into 'master'
...
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update
See merge request espressif/esp-idf!20500
2022-10-14 17:21:25 +08:00
Island
beb8a7cf34
Merge branch 'bugfix/fix_fast_interval_prov_adv' into 'master'
...
ble_mesh: stack: Fix send fast interval prov_adv failed
See merge request espressif/esp-idf!20520
2022-10-14 17:20:40 +08:00
Rahul Tank
63e44eef2c
Nimble: esprv_intc_int_set_type() will set bit_map in rom, the parameter
...
intr_num should be the interrupt number directly
2022-10-14 14:06:14 +05:30
Jiang Jiang Jian
0ebae990a0
Merge branch 'bugfix/use_nonblocking_coex_callback' into 'master'
...
bluetooth: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth
See merge request espressif/esp-idf!20413
2022-10-13 14:57:08 +08:00
zwl
07d844f565
Fixed occasional crash during scanning
2022-10-13 11:48:50 +08:00
Jiang Jiang Jian
55eaf66a94
Merge branch 'rebase/fix_ble_mem_leak_issue' into 'master'
...
fix ble mem leak when sleep is enabled
See merge request espressif/esp-idf!20527
2022-10-13 10:48:15 +08:00
Rahul Tank
2ec9f47aa0
Merge branch 'bugfix/close_stack_callback_during_ble_stop' into 'master'
...
Nimble: Added check to deregister stack callback with controller during stack deinit
See merge request espressif/esp-idf!20421
2022-10-12 21:03:26 +08:00
wangjialiang
50790f88d3
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update
2022-10-12 07:53:15 +00:00
wangjialiang
a6bb092450
ble_mesh: stack: Fix send fast interval prov_adv failed when PB-ADV and PB-GATT enable simultaneously
2022-10-12 07:38:19 +00:00
cjin
071abb4866
fix ble mem leak when sleep is enabled
2022-10-12 11:23:28 +08:00
Satish Solanke
34722483b3
Merge branch 'master' into 'support/Update_sdkdefaultconfig_BLE_only_flag'
...
# Conflicts:
# examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_compatibility_test/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_eddystone/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_hid_device_demo/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_ibeacon/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_spp_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_spp_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_security_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_security_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_server_service_table/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gattc_multi_connect/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/ble50_security_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/ble50_security_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/multi-adv/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/peroidic_adv/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/peroidic_sync/sdkconfig.defaults.esp32c2
2022-10-11 10:39:15 +00:00
wangmengyang
7736cdefd8
bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth
2022-10-11 16:36:37 +08:00
Wang Meng Yang
e0580d2669
Merge branch 'bugfix/update_ctrl_init_config_macro' into 'master'
...
Bugfix/update ctrl init config macro
Closes IDFGH-8441
See merge request espressif/esp-idf!20502
2022-10-11 14:25:37 +08:00
Roshan Bangar
aa03ffdc1b
Nimble/blufi: Added an API to stop Bluetooth / Blufi
2022-10-10 04:43:21 +00:00
Wang Meng Yang
a5e19246df
Merge branch 'bugfix/fix_gattc_disc_crash' into 'master'
...
Bluedroid: configurable max gattc cache characteristic count
See merge request espressif/esp-idf!19842
2022-10-09 11:31:59 +08:00
Evan Neidler
54ee184a95
Update #define BT_CONTROLLER_INIT_CONFIG_DEFAULT().
...
Corrects header names in string from "bt.h" to "esp_bt.h".
2022-10-09 10:52:04 +08:00
Zhi Wei Jian
1308ff3d21
Merge branch 'bugfix/fix_esp32_ble_assert_32' into 'master'
...
Fixed ESP32 BLE assert(32 0)
Closes BT-2809
See merge request espressif/esp-idf!20446
2022-10-08 21:51:50 +08:00
Zhi Wei Jian
3b20bc7adc
Merge branch 'bugfix/eanble_bluedroid_host_adv_ind_report_individually' into 'master'
...
allow bluedroid host to report adv_ind separately
See merge request espressif/esp-idf!20305
2022-10-08 21:41:31 +08:00
Wang Meng Yang
0fa55c897f
Merge branch 'bugfix/fix_ble_lld_per_adv_assert_on_esp32c3_s3' into 'master'
...
Fixed BLE lld_per_adv.c line 401 assert
Closes BT-2624
See merge request espressif/esp-idf!20447
2022-10-08 20:49:43 +08:00
chenjianhua
137a7cb592
bluedroid: configurable max gattc cache characteristic count
2022-10-08 17:47:17 +08:00
zwj
01faa7b664
allow bluedroid host to report adv_ind separately
2022-10-08 14:49:36 +08:00
Rahul Tank
81c23740e1
Nimble: Added check to deregister stack callback with controller during
...
stack deinit
2022-10-06 09:31:09 +05:30
zwj
457006e04e
Fixed BLE lld_per_adv.c line 401 assert
2022-09-30 15:45:37 +08:00
zwj
4ba1dd0a9c
Fixed ESP32 BLE assert(32 0)
2022-09-30 15:07:24 +08:00
zwl
8a221f0073
Fixed the issue that master sends retransmitted data incorrectly on ESP32C2
2022-09-29 16:26:10 +08:00
Jiang Jiang Jian
c61910c267
Merge branch 'bugfix/ble_light_sleep_enter_issue_master' into 'master'
...
Bugfix/ble light sleep enter issue
See merge request espressif/esp-idf!20337
2022-09-29 13:57:39 +08:00
cjin
0d113fb609
update controller lib for bugfix on light-sleep
2022-09-26 21:25:48 +08:00
cjin
f289710ccf
fix ble compilation error
2022-09-26 20:51:13 +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
Rahul Tank
f39869fdf5
Merge branch 'bugfix/reorder_stack_deinit_function' into 'master'
...
Nimble: Removed extra deinit for flow timer
See merge request espressif/esp-idf!20124
2022-09-23 13:43:29 +08:00
cjin
8e348c3f63
update ble controller lib for bugfix on esp32c2
2022-09-21 12:34:41 +00:00
cjin
42a07cf16b
fix err using rpa for confirmation calculation
2022-09-21 12:34:41 +00:00
cjin
872baad9b9
mbuf copy hci data error fix
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
Rahul Tank
c40fcb1089
Nimble: Re-ordered the function sequence in stack deinit to be reverse of stack init process
2022-09-21 09:40:56 +05:30
Ivan Grokhotkov
4a69a3f7ef
Merge branch 'feature/cmake_use_new_features' into 'master'
...
cmake: use features introduced between 3.5 and 3.16
Closes IDF-5955
See merge request espressif/esp-idf!19819
2022-09-21 11:05:06 +08:00
Jiang Jiang Jian
292fe7c57f
Merge branch 'bugfix/ble_light_sleep_error_on_esp32c2_master' into 'master'
...
Bugfix/ble light sleep error on esp32c2 master
Closes BLE-161 and BLE-162
See merge request espressif/esp-idf!20248
2022-09-21 10:53:18 +08:00
Island
cfbdc55717
Merge branch 'bugfix/lpn_not_recv_message_to_all_node' into 'master'
...
ble_mesh: stack: Add option for lpn auto sub all-nodes
See merge request espressif/esp-idf!19711
2022-09-20 20:03:08 +08:00
Ivan Grokhotkov
237b2ce40c
cmake: use target_link_options and _directories supported since 3.13
...
Now that the supported CMake version is >=3.16, this code can be
simplified.
The code to deduplicate the directories can be removed since this is
handled by target_link_directories.
2022-09-20 11:08:02 +02:00
Jiang Jiang Jian
19759d5d33
Merge branch 'bugfix/acl_buf_ocf_and_conn_fail' into 'master'
...
bugfix/fixed the exhaustion of ACL buffer and duplicated connection requests
Closes ESPCS-855
See merge request espressif/esp-idf!19794
2022-09-20 15:12:14 +08: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
zwl
16c8a369e6
fixed wifi can't be connected after enable bt sleep mode
2022-09-20 14:44:00 +08:00
Wang Meng Yang
02aad58856
Merge branch 'bugfix/fix_ble_disconnect_due_to_channel_map_instant_passed' into 'master'
...
Fixed BLE disconnection issue when channel map instant passed due to bad channels
Closes BT-2764, BT-2730, and BT-2649
See merge request espressif/esp-idf!20189
2022-09-20 14:13:27 +08:00
zwl
f42eed9491
fixed ble can't enter light sleep
2022-09-20 12:08:09 +08:00
Jiang Jiang Jian
09f7589ef2
Merge branch 'bugfix/fix_extend_adv_tx_pwr_signed_type_err' into 'master'
...
Fixed extend adv tx power range error
See merge request espressif/esp-idf!20191
2022-09-20 10:45:25 +08:00
Island
728654a6d4
Merge branch 'bugfix/memory_leak_init_deinit_blufi_example' into 'master'
...
Fix: blufi example memory leak while init and deinit
Closes BT-2798
See merge request espressif/esp-idf!20196
2022-09-19 20:28:07 +08:00
Jiang Jiang Jian
5aeba87e51
Merge branch 'bugfix/change_mblock_size_on_esp32c2' into 'master'
...
change block1 size and num for esp ble controller
Closes BLE-157
See merge request espressif/esp-idf!20183
2022-09-19 17:21:53 +08:00
satish.solanke
77b8276578
Fix: blufi example memory leak while init and deinit
2022-09-19 10:17:50 +05:30
chenjianhua
940ee1f7f4
fix ble adv tx power map
2022-09-19 12:02:40 +08:00
Island
f25af53077
Merge branch 'bugfix/relay_friend_cred_message' into 'master'
...
ble_mesh: stack: Fix friend relay lpn message when relay disable.
See merge request espressif/esp-idf!19753
2022-09-18 14:31:05 +08:00
zwj
f95c347013
update BLE lib for ESP32C3 and ESP32S3
...
Fixed BLE disconnection issue when channel map update failed due to bad channels
2022-09-16 21:25:22 +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
Jiang Jiang Jian
f03ec22327
Merge branch 'bugfix/fix_vhci_hack_for_external_bt' into 'master'
...
Nimble: Added check to not include VHCI buffer handling code if controller support is disabled
See merge request espressif/esp-idf!19876
2022-09-16 14:16:52 +08:00
wangjialiang
5242f63080
ble_mesh: stack: Add option for lpn auto sub all-nodes.
2022-09-15 09:34:13 +00:00
wangjialiang
f736d9cb3f
ble_mesh: stack: Fix friend relay lpn message when relay disable.
2022-09-15 09:27:10 +00:00
zwl
9f940f14f6
change block1 size and num for esp ble controller
2022-09-14 20:02:09 +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
Jiang Jiang Jian
e2f57ecff1
Merge branch 'bugfix/fix_some_ble_bugs_on_esp32c3_and_esp32s3' into 'master'
...
Fixed some BLE controller bugs on ESP32-C3 and ESP32-S3
Closes BT-2760, BT-2733, BT-2687, BT-2588, BT-2574, BT-2470, and BT-2355
See merge request espressif/esp-idf!19970
2022-09-08 18:52:40 +08:00
Rahul Tank
95c057861d
Nimble: Added check to not include VHCI buffer handling code if
...
controller support is disabled
2022-09-08 05:52:34 +00:00
Island
a3b7751981
Merge branch 'bugfix/adapt_new_btc' into 'master'
...
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used
See merge request espressif/esp-idf!19964
2022-09-08 11:27:22 +08:00
Jiang Jiang Jian
735063c508
Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting' into 'master'
...
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
Closes BT-2699
See merge request espressif/esp-idf!19993
2022-09-08 10:41:47 +08:00
satish.solanke
50ec07c45d
updating doc for the issue doc_3566
2022-09-07 15:05:49 +05:30
zwj
c6b7bbdab9
Update ESP32-C3 and ESP32-S3 BLE lib
...
- Fixed the performance issue of usage of PLL track related baseband IRQsFixed 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-07 12:20:01 +08:00
Wang Meng Yang
a026d9816a
Merge branch 'feature/sink_support_mono' into 'master'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data
Closes BT-2698
See merge request espressif/esp-idf!19759
2022-09-07 11:59:57 +08:00
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
Rahul Tank
730b932de0
Nimble: Add extra allocation for data pointer returned by controller for ESP IP
2022-09-06 15:15:21 +05:30
wangjialiang
289ed8bca8
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-05 20:27:57 +08:00
Wang Meng Yang
4eb98adf43
Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable' into 'master'
...
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
Closes IDFGH-8175 and BT-2744
See merge request espressif/esp-idf!19859
2022-09-05 13:38:18 +08:00
Roshan Bangar
c401efa7bb
Nimble : updated debug level for a print to avoid unwanted console log.
2022-09-01 05:03:40 +00:00
xiongweichao
80e3d965ae
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-01 11:47:46 +08:00
Wang Meng Yang
cf8abdb554
Merge branch 'bugfix/remove_bt_dft_init_semicolon' into 'master'
...
bt: Remove trailing semicolon from bt dft initializer
Closes IDFGH-8058
See merge request espressif/esp-idf!19773
2022-09-01 11:30:21 +08:00
jincheng
1282eda148
fixed the exhaustion of ACL buffer
...
fixed the duplication of connection request from the same device
2022-08-31 16:24:59 +08:00
Jiang Jiang Jian
8d9c51f76d
Merge branch 'feature/add_txpwr_api_on_esp32c2' into 'master'
...
add set/get txpwr api for esp32c2
See merge request espressif/esp-idf!19520
2022-08-29 23:35:25 +08:00
Zhi Wei Jian
4a5662bc25
Merge branch 'feature/add_qa_test_funcs' into 'master'
...
Add QA test Functions for esp32
See merge request espressif/esp-idf!19735
2022-08-29 21:04:02 +08:00
zwl
30e47072f9
add set/get txpwr api and fix issues such as disconnect and abnormal tx behavior for esp32c2
2022-08-29 11:32:18 +08:00
Wang Meng Yang
6f677de11c
Merge branch 'bugfix/ble_disconnect_enable_light_sleep_and_bb_pd_master' into 'master'
...
bt: Fixed bluetooth disconnection issue when light sleep and baseband power down are enabled
Closes BT-1915
See merge request espressif/esp-idf!19671
2022-08-26 13:34:11 +08:00
xiongweichao
697755dfe5
Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-08-25 11:36:28 +08:00
Rahul Tank
6e5389b1f8
Nimble: Fix memory corruption in reconnection attempt code
2022-08-24 13:39:27 +05:30
Rahul Tank
84bbb2ac7f
Merge branch 'bugfix/increase_leading_space_for_alloc' into 'master'
...
Nimble: Add extra space for buffer allocation for ESP IP
See merge request espressif/esp-idf!19574
2022-08-24 11:42:48 +08:00
zhiweijian
0b4122ecee
Add QA test Functions
2022-08-23 21:20:43 +08:00
Chen Jian Hua
7908025c2d
Merge branch 'bugfix/fix_ble_rpa_gen_for_esp32' into 'master'
...
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
Closes BT-2543
See merge request espressif/esp-idf!19641
2022-08-23 16:50:41 +08:00
Rahul Tank
5d087feb6e
Nimble: Add extra space for buffer allocation for ESP IP
2022-08-23 09:48:23 +05:30
xiongweichao
9ee49832ea
Fix bluetooth disconnection issue when light sleep and baseband power down are enabled
2022-08-22 15:06:48 +08:00
Wei Tian Hua
7c2b137ffe
Merge branch 'contrib/github_pr_9529_mr_master' into 'master'
...
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()
Closes IDFGH-8021
See merge request espressif/esp-idf!19577
2022-08-22 14:46:16 +08:00
songruojing
304a8f142d
esp32c6: introduce the target
...
Add esp32c6 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32c6`
2022-08-19 11:13:02 +08:00
chenjianhua
0067c28013
Revert "component/bt: add local irk to controller"
...
This reverts commit 95c35288bc
.
2022-08-19 11:03:15 +08:00
chenjianhua
eaa9897386
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 1cc0f6aac5
.
2022-08-19 11:03:15 +08:00
chenjianhua
e29170bce9
Bluedroid: Configurable option to modify max gatt service attributes count
2022-08-17 14:36:12 +08:00
Pedro
792186a3da
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-08-16 11:48:17 -03:00
Wang Meng Yang
4f4edef113
Merge branch 'bugfix/fix_ble_sch_arb_assert' into 'master'
...
Fixed BLE sch_arb assert on ESP32-C3 and ESP32-S3
Closes IDFGH-7620, IDFGH-7694, and BT-2637
See merge request espressif/esp-idf!19519
2022-08-15 21:54:07 +08:00
tgotic
60bdc4a023
update code to use osi_free()
2022-08-11 18:14:35 +02:00
zwj
788f7265c0
Update BLE lib for ESP32-C3 and ESP32-S3
...
- update ble tx power level mapping
- Fixed ble sch_arb assert
2022-08-11 21:29:26 +08:00
zwj
e414dd7e07
fix extend adv set remove failed
2022-08-11 20:50:15 +08:00
wangmengyang
9a6101bfed
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-11 16:09:44 +08:00
wangjialiang
e814f57b0f
ble_mesh: stack: Fix kr from non-primary subnet shouldn't ignore
...
For case MESH/NODE/KR/BV-02-C
2022-08-10 14:12:37 +00:00
wangjialiang
3632250884
ble_mesh: stack: Add a check if the appkey is bound to the model.
...
For case MESH/NODE/CFG/MP/BI-03-C
2022-08-10 14:12:37 +00:00
wangjialiang
59c1e9a25d
ble_mesh: stack: the count_log field should be set to 0 when HBS is sent.
...
For MESH/NODE/CFG/HBS/BV-02-C
2022-08-10 14:12:37 +00:00
wangjialiang
0cb883b407
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]
2022-08-10 14:12:37 +00:00
wangjialiang
ee7d448e3c
ble_mesh: stack: The value of expect_ack_for will be rewrited after send_pub_key().
...
For case MESH/PVNR/PROV/BV-04-C
2022-08-10 14:12:37 +00:00
wangjialiang
5830ac8b12
ble_mesh: stack: Fix ignore connectable PB-ADV PDU containing a Link Open message.
...
For case MESH/NODE/PBADV/BI-04-C
2022-08-10 14:12:37 +00:00
wangjialiang
fc9edce9bc
ble_mesh: stack: Fix PB-GATT not check invalid link flag
...
For case MESH/NODE/PROV/BI-03-C
2022-08-10 14:12:37 +00:00
wangjialiang
bd418e7a76
ble_mesh: stack: Fix invalid provisioning pdu type check
...
For case MESH/NODE/PROV/BI-15-C
2022-08-10 14:12:37 +00:00
satish.solanke
42743a7189
Update_sdkdefaultconfig_BLE_only_flag ESP32C2
2022-08-09 16:28:01 +00:00
Island
ee10f25b89
Merge branch 'bugfix/friend_and_lpn_issues' into 'master'
...
ble_mesh: stack: Fix friend and lpn issues
See merge request espressif/esp-idf!19378
2022-08-09 14:39:58 +08:00
Lin Rui Hao
68bd2badf4
Merge branch 'contrib/github_pr_9498' into 'master'
...
bluedroid: fix member typo
Closes IDFGH-7987
See merge request espressif/esp-idf!19436
2022-08-09 11:13:33 +08:00