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