Rahul Tank
1d322f9a8c
Nimble: Allows to use ble_uuid.h
with C++ by changing the BLE_UUIDy_INIT macros
2022-11-07 12:25:34 +05:30
liuning
785248b3c7
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-11-07 13:11:20 +08:00
Rahul Tank
6b213b2c2a
Merge branch 'bugfix/fix_compilation_issue_blufi' into 'master'
...
Blufi: Corrected macro used in memcpy to copy address
See merge request espressif/esp-idf!20929
2022-11-04 17:34:27 +08:00
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