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
Pedro
a1e6041777
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-09-01 20:33:36 +08:00
xiongweichao
5852e93eba
Fix bluetooth disconnection issue when light sleep and baseband power down are enabled
2022-08-26 16:03:57 +08:00
Jiang Jiang Jian
41839b69bd
Merge branch 'bugfix/fix_ble_sch_arb_assert_v4.4' into 'release/v4.4'
...
Fixed BLE sch_arb assert on ESP32-C3 and ESP32-S3(backport v4.4)
See merge request espressif/esp-idf!19733
2022-08-25 13:44:20 +08:00
Rahul Tank
696760668a
Nimble: Fixed memory corruption introduced in reconnection attempt code
2022-08-25 04:54:02 +00:00
zwj
ad510c5099
Update BLE lib for ESP32-C3 and ESP32-S3
...
- update ble tx power level mapping
- Fixed ble sch_arb assert
2022-08-23 19:49:50 +08:00
zwj
fc4ffd144a
fix extend adv set remove failed
2022-08-23 19:49:40 +08:00
tgotic
810667fc1e
update code to use osi_free()
2022-08-22 15:40:48 +08:00
tgotic
879466e0cb
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:40:42 +08:00
Jiang Jiang Jian
9d97b7ba50
Merge branch 'bugfix/bt_invalid_workqueue_num_v4.4' into 'release/v4.4'
...
Bluetooth:fixed the invalid workqueue number for BTU thread in Bluedroid(backport v4.4)
See merge request espressif/esp-idf!19510
2022-08-12 14:02:20 +08:00
Jiang Jiang Jian
805b6af65d
Merge branch 'bugfix/wifi_bt_use_same_clock_source_v4.4' into 'release/v4.4'
...
Fix Wi-Fi does not know that Bluetooth has modified the lpclk source(v4.4)
See merge request espressif/esp-idf!19408
2022-08-12 11:05:43 +08:00
wangmengyang
9aa32bc499
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:17:17 +08:00
wangjialiang
a426f4727d
ble_mesh: stack: Fix kr from non-primary subnet shouldn't ignore
...
For case MESH/NODE/KR/BV-02-C
2022-08-11 14:14:02 +08:00
wangjialiang
3413b3d469
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-11 14:13:56 +08:00
wangjialiang
89bc1bc7e3
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-11 14:13:49 +08:00
wangjialiang
246ed6232f
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]
2022-08-11 14:13:42 +08:00
wangjialiang
104ce885cb
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-11 14:13:35 +08:00
wangjialiang
28e4ceb7e1
ble_mesh: stack: Fix ignore connectable PB-ADV PDU containing a Link Open message.
...
For case MESH/NODE/PBADV/BI-04-C
2022-08-11 14:13:27 +08:00
wangjialiang
f12c79c3ca
ble_mesh: stack: Fix PB-GATT not check invalid link flag
...
For case MESH/NODE/PROV/BI-03-C
2022-08-11 14:11:32 +08:00
wangjialiang
d31337c095
ble_mesh: stack: Fix invalid provisioning pdu type check
...
For case MESH/NODE/PROV/BI-15-C
2022-08-11 14:11:16 +08:00
Jiang Jiang Jian
4bf8f462a2
Merge branch 'opt/bluedroid_adv_report_datapath_v4.4' into 'release/v4.4'
...
Bluetooth/Bluedroid: optimize BLE adv report datapath and adv report flow control mechanism(backport v4.4)
See merge request espressif/esp-idf!19381
2022-08-11 11:20:42 +08:00
Jiang Jiang Jian
32e7672926
Merge branch 'contrib/github_pr_9498_backport4_4' into 'release/v4.4'
...
Bluetooth/Bluedroid: fix member typo(backport v4.4)
See merge request espressif/esp-idf!19458
2022-08-11 10:54:45 +08:00
wangjialiang
2eb28028ed
ble_mesh: stack: Fix add continuously secure update into friend queue.
...
For MESH/NODE/FRND/FN/BV-20-C
2022-08-09 21:48:37 +08:00
wangjialiang
d21a87f60c
ble_mesh: stack: Fix friend relay lpn message when relay feature is disable
...
For MESH/NODE/FRND/FN/BV-23-C
2022-08-09 21:48:22 +08:00
linruihao
fdf7029078
Fixed union member access typo
...
Closes https://github.com/espressif/esp-idf/pull/9498
2022-08-09 15:25:44 +08:00
tgotic
4c6d2e0da7
bt member typo
...
Terminate sec_event.cfm_req.bd_name string, not sec_event.pin_req.bd_name
2022-08-09 15:25:24 +08:00
Li Shuai
11ac122c53
1. Wi-Fi: update tsf tick interval when lpclk is modified
...
2. Move register_lpclk_callback to coexistence
2022-08-05 12:57:47 +08:00
xiongweichao
8f0c559c03
make bluetooth and wifi use the same low power clock
2022-08-05 11:22:22 +08:00
xiongweichao
cf9309c8a2
ESP32S3:bluetooth support use main XTAL in light sleep mode
2022-08-05 11:21:59 +08:00
xiongweichao
9332413407
ESP32C3:bluetooth support use main XTAL in light sleep mode
2022-08-05 11:21:58 +08:00
Jiang Jiang Jian
905b3b1718
Merge branch 'bugfix/btdm_fix_some_bluedroid_issues_v4.4' into 'release/v4.4'
...
Fix some bluedroid issues(backport v4.4)
See merge request espressif/esp-idf!19130
2022-08-04 14:45:44 +08:00
Jiang Jiang Jian
0544069689
Merge branch 'bugfix/put_sempher_and_queue_used_in_isr_into_DRAM_v4.4' into 'release/v4.4'
...
Make sure semphr/queue used in interrupt is in DRAM
See merge request espressif/esp-idf!18988
2022-08-04 14:44:56 +08:00
Jiang Jiang Jian
d3eeebf8f8
Merge branch 'bugfix/fix_bluedroid_host_memory_overflow_v4.4' into 'release/v4.4'
...
Fixed bluedroid host memory overflow for v4.4
See merge request espressif/esp-idf!19060
2022-08-04 14:44:40 +08:00
Jiang Jiang Jian
bfb88338bb
Merge branch 'bugfix/memory_debug_not_work_v4.4' into 'release/v4.4'
...
bugfix/fix the dependency error of macro for memory debug (v4.4)
See merge request espressif/esp-idf!19237
2022-08-04 14:42:12 +08:00
Jiang Jiang Jian
79a8ad665a
Merge branch 'bugfix/memory_copy_bugs_in_bluedroid_4.4' into 'release/v4.4'
...
components_bt/bluedroid: Fix Memory Copy Build Err [backport v4.4]
See merge request espressif/esp-idf!19311
2022-08-04 14:41:58 +08:00
Jiang Jiang Jian
66a1de0843
Merge branch 'bugfix/fix_legacy_pair_not_send_link_key_host_v4.4' into 'release/v4.4'
...
component_bt: fix legacy pair controller does not send the link key to the host (v4.4)
See merge request espressif/esp-idf!19320
2022-08-04 14:41:45 +08:00
Karl Wang
e5a96aaca6
component/bt: use OSI utility "osi_event" for HCI downstream data processing
2022-08-03 21:55:08 +08:00
wangmengyang
c6c4a23098
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-03 21:55:07 +08:00
Karl Wang
6c0c837378
component/bt: allocate and use one static buffer for HCI adv flow control command
2022-08-03 21:55:06 +08:00
wangmengyang
aaf1d3909d
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-03 21:55:05 +08:00
wangmengyang
c3f5b85032
component/bt: add a timer to monitor the adv flow control credits downwards procedure
2022-08-03 21:55:04 +08:00
wangmengyang
b735c46ba7
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-03 21:55:03 +08:00
wangmengyang
2ef0627c2c
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-03 21:55:02 +08:00
wangmengyang
dcf173c95a
component/bt: use the OSI utility "osi_event" to handle adv report in btc_layer
2022-08-03 21:55:01 +08:00
wangmengyang
c9ebba2ddf
component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
...
# Conflicts:
# components/bt/host/bluedroid/hci/hci_hal_h4.c
2022-08-03 21:54:52 +08:00
wangmengyang
71c072cc8c
component/bt: use the OSI utility "osi_event" for hci_hal_h4 upstream data packets handling
2022-08-03 21:50:38 +08:00
wangmengyang
88af2c548f
component/bt: use the OSI utility "osi_event" to handle A2DP source data Tx processing
2022-08-03 21:50:37 +08:00
wangmengyang
ceb4096287
component/bt: use the OSI utility "osi_event" to handle A2DP sink data Rx processing
2022-08-03 21:50:36 +08:00
wangmengyang
93d4306aff
component/bt: add new OSI utility "fixed_pkt_queue", which has same functionality with "fixed_queue"
2022-08-03 21:50:35 +08:00
Karl Wang
96cbdee383
component/bt: add new OSI utility "pkt_queue" which acts as a mutex-protected linked list, to be used as data queue between tasks
2022-08-03 21:50:34 +08:00
wangmengyang
6edcab3885
component/bt: add new OSI utility "osi_event" to support the scenario that event need only to be handle once.
2022-08-03 21:50:33 +08:00
wangmengyang
1e06076c3c
component/bt: make OSI thread workqueue length configurable through API
...
reduce the length of workqueue1 for BTC and HCI task
# Conflicts:
# components/bt/common/osi/thread.c
2022-08-03 21:50:32 +08:00
wangmengyang
d635d8f361
component/bt: modify the implementation of osi_thread using freeRTOS queue
2022-08-03 21:50:31 +08:00
weitianhua
72fd3bc1e6
component_bt: Fix build doc errors of bt
...
1. bluedroid: use standard function pointer define.
2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
3. doc/sphinx_known_warnings: Remove fixed parts.
2022-08-02 13:39:36 +08:00
xiongweichao
c4491c352d
fix legacy pair controller does not send the link key to the host
...
Closes https://github.com/espressif/esp-idf/issues/5850
2022-08-01 19:07:16 +08:00
weitianhua
5b648b8452
components_bt/bluedroid: Fix Memory&String Copy Build Err
...
1. When setting compilier into -O2 optimization, build for classic bt demo will get wrong
2. Fix a memcpy bug that maybe get memory truncated
Closes https://github.com/espressif/esp-idf/issues/9398
2022-08-01 14:27:56 +08:00
jincheng
a066de7fec
1. add protect for bt_util_buf_env buffers when multi-access
...
2. ignore assert_err in em_bt_clkoff1_setf
2022-07-27 18:01:12 +08:00
baohongde
c5db1591cf
components/bt: Make sure sempher and queue used in isr is in DRAM
2022-07-25 11:08:13 +08:00
jincheng
9892ce6a53
fix the dependency error of macro for memory debug
2022-07-22 16:17:14 +08:00
xiewenxiang
ffebc3d93f
component/bt: Modify the bluetooth device name length limits
2022-07-20 09:22:47 +08:00
xiewenxiang
a840c77d4e
component/bt: set ext adv param failed when stop ext adv
2022-07-20 09:09:17 +08:00
zhiweijian@espressif.com
85da506ec0
Fixed bluedroid host memory overflow
2022-07-15 14:47:28 +08:00
Jiang Jiang Jian
bd7269411a
Merge branch 'bugfix/wifi_sta_and_ble_disconnect_BCI-303_v4.4' into 'release/v4.4'
...
component_bt: Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected(v4.4)
See merge request espressif/esp-idf!18999
2022-07-13 00:13:03 +08:00
Jiang Jiang Jian
327624b04c
Merge branch 'bugfix/correct_blecmd_for_rf_path_v4.4' into 'release/v4.4'
...
Bluedroid: Fixed compilation error due to incorrect macro name (v4.4)
See merge request espressif/esp-idf!18994
2022-07-12 20:32:02 +08:00
Jiang Jiang Jian
692ba818fe
Merge branch 'bugfix/fix_esp32_ke_mem_c_assert_v4.4' into 'release/v4.4'
...
fix esp32 BLE ke_mem.c assert for v4.4
See merge request espressif/esp-idf!19000
2022-07-12 20:30:32 +08:00
Jiang Jiang Jian
4e6f8b362d
Merge branch 'bugfix/ble_50_sync_periodic_adv_lost_data_v4.4' into 'release/v4.4'
...
components/bt: Fix ble sync periodic adv report will lost data(backport release/v4.4)
See merge request espressif/esp-idf!18958
2022-07-12 17:30:04 +08:00
Jiang Jiang Jian
9f5b700c9a
Merge branch 'bugfix/fix_esp32c3_s3_adv_report_duplicate_check_v4.4' into 'release/v4.4'
...
Fix esp32c3/s3 adv report duplicate check for v4.4
See merge request espressif/esp-idf!18962
2022-07-12 17:29:35 +08:00
zwj
f39df9a9c0
fix esp32 BLE ke_mem.c assert
2022-07-12 14:40:21 +08:00
xiongweichao
c85f71aee3
Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected
2022-07-12 14:35:32 +08:00
Rahul Tank
b5522f5709
Bluedroid: Fixed compilation error due to incorrect macro name
2022-07-12 09:42:27 +05:30
xiewenxiang
3838e3da4a
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:50:30 +08:00
Jiang Jiang Jian
b9a1020fcf
Merge branch 'bugfix/reset_ble_hw_on_inititalization_v4.4' into 'release/v4.4'
...
[Bluetooth] Reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3(release/v4.4)
See merge request espressif/esp-idf!18964
2022-07-11 16:28:53 +08:00
Jiang Jiang Jian
65becd2edf
Merge branch 'bugfix/fix_osi_men_dbg_xxx_not_defined_when_enable_mem_dbg_v4.4' into 'release/v4.4'
...
bugfix/fix the issue of functions not defined when enable memory debug (v4.4)
See merge request espressif/esp-idf!18815
2022-07-11 16:28:27 +08:00
wangmengyang
4d5aa82cea
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
...
1. Rename MACROs SYSTEM_WIFI_RST_EN register bit fields to be more recognizable
2. reset Bluetooth baseband and MAC bits to fix the issue of task watchdog triggered during controller initialization due to invalid hardware state
2022-07-11 11:06:11 +08:00
chenjianhua
1595e008f0
fix esp32c3/s3 adv report duplicate check
2022-07-11 10:53:53 +08:00
jincheng
875915a822
fix the issue of functions not defined when enable memory debug
2022-07-08 11:03:07 +08:00
xiewenxiang
fe1fb25078
doc(bt): Add description for de-initialize bt controller
2022-07-08 11:02:01 +08:00
Jiang Jiang Jian
6e63caa4fa
Merge branch 'bugfix/resolve_redefinition_in_spp_and_hid_v4.4' into 'release/v4.4'
...
bugfix/resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h (v4.4)
See merge request espressif/esp-idf!18824
2022-07-07 10:56:04 +08:00
Jiang Jiang Jian
ed7d2d3f0d
Merge branch 'bugfix/fix_ble_ke_mem_c_assert_on_c3_s3_v4.4' into 'release/v4.4'
...
Fixed BLE ke_mem.c assert for v4.4
See merge request espressif/esp-idf!18878
2022-07-07 10:55:49 +08:00
zhiweijian@espressif.com
363b8b2973
Fixed bluedroid host memory overflow
2022-07-06 21:21:30 +08:00
Jiang Jiang Jian
d949df8dcb
Merge branch 'bugfix/ext_adv_param_check_v4.4' into 'release/v4.4'
...
Bluedroid: fix channel map of ext adv params check for v4.4
See merge request espressif/esp-idf!18890
2022-07-06 17:21:27 +08:00
Jiang Jiang Jian
8546527213
Merge branch 'bugfix/restore_edr_en_and_protect_for_vhci_env_v4.4' into 'release/v4.4'
...
bugfix/restore edr_en and add protect for vhci_env (v4.4)
See merge request espressif/esp-idf!18811
2022-07-06 17:15:54 +08:00
Jiang Jiang Jian
a3f72a9310
Merge branch 'feature/esp_docs_1.0.0_v4.4' into 'release/v4.4'
...
docs: update esp-docs to 1.0.0 (v4.4)
See merge request espressif/esp-idf!18210
2022-07-06 17:14:03 +08:00
chenjianhua
9113f72078
Bluedroid: fix channel map of ext adv params check
2022-07-05 19:44:12 +08:00
zwj
3e6cc4892b
fix BLE ke_mem.c assert
2022-07-05 16:12:57 +08:00
Jiang Jiang Jian
690f802b1c
Merge branch 'bugfix/not_use_malloc_in_bluedroid_v4.4' into 'release/v4.4'
...
component/bt: use osi_malloc instead of malloc in bluedroid
See merge request espressif/esp-idf!18843
2022-07-04 20:05:46 +08:00
Jiang Jiang Jian
977a040301
Merge branch 'bugfix/fix_sink_wrong_sniff_params_v4.4' into 'release/v4.4'
...
Fix A2DP Sink Wrong Sniff Parameters which Caused by HID Porting[backport 4.4]
See merge request espressif/esp-idf!18801
2022-07-04 19:57:53 +08:00
baohongde
65ed4b5339
component/bt: use osi_malloc instead of malloc in bluedroid
2022-07-04 16:10:25 +08:00
Marius Vikhammer
27cd55dca1
docs: fix broken links
2022-07-04 11:05:49 +08:00
jincheng
f3917d1706
restore edr_en which wrongly cleared by rsw
...
add critical protection for vhci_env_p->vhci_intr_st
ignore max_page when handle remote features
2022-07-01 19:28:36 +08:00
jincheng
59b50180a0
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
...
Closes https://github.com/espressif/esp-idf/issues/9199
2022-07-01 19:21:37 +08:00
liqigan
4f598d2ec3
fix sink wrong sniff params which caused by HID porting
2022-07-01 14:49:54 +08:00
wangjialiang
23e482feeb
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh
2022-07-01 11:42:07 +08:00
Rahul Tank
ec6155dff1
Nimble: Fixed memory leak while generating keypair using embedtls
2022-06-30 14:21:54 +05:30
Jiang Jiang Jian
46cff3cd1c
Merge branch 'feature/add_filter_seq_auth_config_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Add filter old seq_auth packet menuconfig(v4.4)
See merge request espressif/esp-idf!18649
2022-06-30 16:48:01 +08:00
Jiang Jiang Jian
93d8cf3eb6
Merge branch 'bugfix/sync_host_nocp_cmd_v4.4' into 'release/v4.4'
...
Nimble: Sync sending Host Number of Completed Packets command
See merge request espressif/esp-idf!18607
2022-06-30 16:39:58 +08:00
wangjialiang
b82782f109
ble_mesh: stack: Add filter old seq_auth packet menuconfig
2022-06-23 16:17:20 +08:00
Rahul Tank
9ddf575e42
Nimble: Sync sending Host Number of Completed Packets command
2022-06-21 16:40:59 +05:30
xiongweichao
5020faf559
update hfp_ag version to 1.7.2
2022-06-21 14:41:19 +08:00
Jiang Jiang Jian
746df6107c
Merge branch 'bugfix/bond_not_saved_for_pairing_again' into 'release/v4.4'
...
Bugfix/bond not saved properly after re-pairing
See merge request espressif/esp-idf!18235
2022-06-21 00:21:13 +08:00
Jiang Jiang Jian
a77509a140
Merge branch 'feature/btdm_add_link_role_param_for_gatt_disconnection_event_v4.4' into 'release/v4.4'
...
component/bt: add link role param for gatt disconnection event(backport v4.4)
See merge request espressif/esp-idf!15948
2022-06-20 00:42:33 +08:00
Jiang Jiang Jian
439c808555
Merge branch 'bugfix/avdtp_genreal_reject_format_error_v4.4' into 'release/v4.4'
...
component_bt: Fix AVDTP general reject format error(v4.4)
See merge request espressif/esp-idf!18556
2022-06-20 00:09:01 +08:00
xiewenxiang
3176c707da
component/bt: add link role param for gatt disconnection event(backport v4.4)
2022-06-19 14:41:55 +00:00
Jack
09b8af7398
fix the bug that some memory leaked in phy after wifi/ble deinit
2022-06-19 14:33:00 +00:00
Jack
af493beb76
deinit BB MAC back memory when they are not used
2022-06-19 14:33:00 +00:00
xiongweichao
8164030575
Fix AVDTP general reject format error.
2022-06-19 14:32:43 +00:00
Jiang Jiang Jian
288929eb3a
Merge branch 'bugfix/fix_ble_ext_adv_parameter_detection_v4.4' into 'release/v4.4'
...
component/bt: check the ble ext adv parameters (backport release/v4.4)
See merge request espressif/esp-idf!18489
2022-06-14 16:35:25 +08:00
xiewenxiang
49baddf113
component/bt: check the ble ext adv parameters
2022-06-14 11:30:13 +08:00
Jiang Jiang Jian
6bbdcbef1e
Merge branch 'bugfix/pm_enabled_bt_build_fail_v4.4' into 'release/v4.4'
...
Bluetooth build fail when power management is enabled(v4.4)
See merge request espressif/esp-idf!18375
2022-06-14 11:22:40 +08:00
xiongweichao
f2048b2d15
initialize all elements of esp_bt_controller_config_t
...
Closes https://github.com/espressif/esp-idf/pull/9073
2022-06-07 17:30:48 +08:00
xiongweichao
2ee9fc6aff
Bluetooth build fail when power management is enabled
...
Closes https://github.com/espressif/esp-idf/issues/9081
2022-06-06 11:42:45 +08:00
Onkar
d5151ac1f7
Bugfix/bond not saved properly after re-pairing
2022-05-30 22:39:58 +05:30
keymoon
22cf1d0d58
assign value to uninitialized bt_addr
field
2022-05-29 18:08:56 -07:00
keymoon
35fd2cee7c
add address field to read_rmt_name_param
2022-05-29 18:08:41 -07:00
Karl Wang
5c24b7f75f
components/bt: disable Bluetooth PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues
2022-05-17 20:54:51 +08:00
xiongweichao
39c63420ba
Fix ESP32C3/S3 build error after enable light sleep
2022-05-07 06:19:33 +00:00
Jiang Jiang Jian
4fedbdd264
Merge branch 'bugfix/spp_crash_after_call_spp_deinit_v4.4' into 'release/v4.4'
...
Component_bt/Fix spp crash after call esp_spp_deinit(v4.4)
See merge request espressif/esp-idf!17930
2022-04-28 01:26:06 +08:00
Jiang Jiang Jian
9ae38aa873
Merge branch 'bugfix/fix_disable_bt_log_ci_fail_v4.4' into 'release/v4.4'
...
component_bt: Fix CI failure when disable bluetooth debug log(v4.4)
See merge request espressif/esp-idf!17899
2022-04-27 18:20:41 +08:00
xiongweichao
6232753804
Fix spp initialization failure without free mutex
2022-04-27 14:19:59 +08:00
xiongweichao
eb8a4d3423
Fix spp crash after calling esp_spp_deinit
2022-04-27 14:19:50 +08:00
xiongweichao
1ce01c6f76
Fix CI failure when disable bluetooth debug log
2022-04-26 11:28:01 +08:00
wangjialiang
7a34692e6f
ble_mesh: stack: Bugfix for oversized SegN as valid
2022-04-25 11:49:50 +08:00
Wang Meng Yang
70adf8f631
Merge branch 'bugfix/fix_spp_initiator_connect_failed_v4.4' into 'release/v4.4'
...
Component_bt/Fix SPP initiator can not free resource when connection is failed[backport 4.4]
See merge request espressif/esp-idf!17744
2022-04-20 11:01:30 +08:00
liqigan
4a88aed12b
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
2022-04-19 20:06:32 +08:00
liqigan
3897d12024
fix SPP initiator can not free resource when connection is failed
2022-04-19 20:06:32 +08:00
xiongweichao
3e494ec5fd
Add some bluetooth debug log
2022-04-16 07:14:51 +00:00
xiongweichao
898a7d071b
Update HFP_HF version to 1.7.2
2022-03-07 18:16:05 +08:00
wangjialiang
90083fcbb7
ble_mesh: stack: Bugfix the proxy client abnormal disconnection
2022-03-04 12:33:15 +00:00
wangjialiang
1016801eaf
ble_mesh: stack: Add proxy server connect and disconnect event
2022-03-04 12:33:15 +00:00
Jiang Jiang Jian
380ee4b87a
Merge branch 'bugfix/update_stack_init_check_v4.4' into 'release/v4.4'
...
Nimble: Remove stack initialization status from unwanted functions (v4.4)
See merge request espressif/esp-idf!17234
2022-03-04 14:11:23 +08:00
Jiang Jiang Jian
975b525e03
Merge branch 'bugfix/add_pll_track_feature_mr_4.4' into 'release/v4.4'
...
Add pll track feature
See merge request espressif/esp-idf!17285
2022-03-04 13:54:19 +08:00
xiongweichao
d8c7c41a43
Fix crash when host exit sniff mode
2022-03-03 02:59:31 +00:00
Yang Zhao
2bdea81b2a
Update ESP32-C3 and ESP32-S3 bt lib and phy lib
...
Add the pll track feature to keep the ble connection stable when the environment
temprature increase form 0 to 74.
2022-03-01 14:56:47 +08:00
Rahul Tank
ae546316d3
Nimble: Check stack initialization status before executing stack command
...
Previous commit added checks in some functions that can be called
without stack initalization. Corrected such instances.
2022-02-22 10:26:43 +05:30
xiewenxiang
35b2b3e24c
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 00:39:00 +08:00
Wang Meng Yang
c7b9f94733
Merge branch 'bugfix/fix_bluedroid_compile_issue_v4.4' into 'release/v4.4'
...
components/bt: Fix bluedroid compile issue(backport release/v4.4)
See merge request espressif/esp-idf!16592
2022-02-09 11:28:57 +00:00
Jiang Jiang Jian
c8075df214
Merge branch 'bugfix/a2dp_source_congest_v4.4' into 'release/v4.4'
...
component_bt: Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink (v4.4)
See merge request espressif/esp-idf!16733
2022-02-09 08:16:01 +00:00
xiewenxiang
2fe53759c9
components/bt: Fix bluedroid compile issue
2022-02-07 16:04:50 +08:00
Wang Meng Yang
0a0b652815
Merge branch 'bugfix/fix_bluedroid_ble50_adv_data_length_issue_v4.4' into 'release/v4.4'
...
components/bt: Fix bluedroid ble50 adv data length issue(backport release/v4.4)
See merge request espressif/esp-idf!16579
2022-02-07 08:01:55 +00:00
Jiang Jiang Jian
8ab30f72b2
Merge branch 'bugfix/rd_rem_ext_feats_delayed_cs_v4.4' into 'release/v4.4'
...
bugfix/fix cs event for rd_rem_ext_feats delayed issue (v4.4)
See merge request espressif/esp-idf!16813
2022-01-27 05:45:35 +00:00
Jiang Jiang Jian
d982a9a5e1
Merge branch 'bugfix/config_parse_crash_after_flash_erase_v4.4' into 'release/v4.4'
...
component_bt: fixed config parse crash after flash_erase(v4.4)
See merge request espressif/esp-idf!16730
2022-01-27 05:44:17 +00:00
Jiang Jiang Jian
5788a393ea
Merge branch 'doc/update_document_of_demo_bt_discovery_v4.4' into 'release/v4.4'
...
Doc/update document of demo bt discovery v4.4
See merge request espressif/esp-idf!16575
2022-01-27 05:40:52 +00:00
jincheng
a0e20e17f0
fix cs event for rd_rem_ext_feats delayed issue
2022-01-17 13:02:26 +08:00
xiongweichao
7485b4d4b2
btc_a2dp_control_set_datachnl_stat is only used by a2dp sink
2022-01-10 19:17:13 +08:00
xiongweichao
49f496e539
remove btc_a2dp_dispatch_datapath_evt and event
2022-01-10 19:16:25 +08:00