Wang Meng Yang
2ee3c7b542
Merge branch 'bugfix/wifi_prov_mgr_crash' into 'master'
...
NimBLE: Fixed wifi_prov_mgr crash after provisioning
See merge request espressif/esp-idf!15793
2021-11-19 02:59:12 +00:00
Wang Meng Yang
83a5823564
Merge branch 'bugfix/fix_device_name_len_limited_mr' into 'master'
...
Fix the issue of device name len limited
Closes BT-2066
See merge request espressif/esp-idf!15880
2021-11-19 02:36:25 +00:00
Wang Meng Yang
412808909c
Merge branch 'bugfix/fix_modem_sleep_hw_error_mr_master' into 'master'
...
fix modem sleep hw error
See merge request espressif/esp-idf!15824
2021-11-19 02:34:39 +00:00
xiongweichao
ce2d72ddfb
Missing break in switch
2021-11-18 19:47:09 +08:00
xiongweichao
5152b33385
Dereference null return value
2021-11-18 19:47:09 +08:00
xiongweichao
1bada6c0f6
already defined in bt_target.h
2021-11-18 19:47:09 +08:00
xiongweichao
752b1976c0
Dereference after null check
2021-11-18 19:47:07 +08:00
xiongweichao
101ad32110
Dereference before null check
2021-11-18 19:38:48 +08:00
xiongweichao
564f9e8f68
Logically dead code
2021-11-18 19:38:48 +08:00
Yang Zhao
3b84612582
Update esp32 bt-lib
...
It is abnormal when getting the deep sleep state bit. So we need to check
the state again and run the "ble_master_soft_rst()" if neesed.
2021-11-18 15:23:36 +08:00
isha pardikar
e2a37b2712
Merge branch 'bugfix/wifi_prov_mgr_crash' into 'master'
...
NimBLE: Fixed wifi_prov_mgr crash after provisioning
See merge request espressif/esp-idf!15793
2021-11-17 18:35:40 +05:30
morris
2e008825a9
Merge branch 'feat/rm_makefiles' into 'master'
...
Build & config: Remove leftover files from the unsupported make build system
Closes IDF-4273 and IDF-2827
See merge request espressif/esp-idf!15829
2021-11-16 03:44:41 +00:00
Wang Meng Yang
6322632a37
Merge branch 'bugfix/add_warning_print_timer' into 'master'
...
NimBLE: Modified timer not started / running warning print
See merge request espressif/esp-idf!15177
2021-11-15 08:32:47 +00:00
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
Omar Chebib
44df880c12
Merge branch 'feature/move_ipc_to_esp_system' into 'master'
...
IPC: Move ipc sources to esp_system
Closes IDF-2160
See merge request espressif/esp-idf!15234
2021-11-11 06:57:44 +00:00
Wang Meng Yang
534cd5bb31
Merge branch 'bugfix/fix_custmoer_issues' into 'master'
...
bugfix/fix_3_controller_issues
Closes ESPCS-721, IDFGH-5407, IDFGH-5712, and IDFGH-6082
See merge request espressif/esp-idf!15821
2021-11-11 03:39:37 +00:00
Jiang Jiang Jian
3a443d523f
Merge branch 'bugfix/fix_memory_leak_controller_deinit' into 'master'
...
ESP32: Fix memory leak in controller deinit function
See merge request espressif/esp-idf!15449
2021-11-11 03:36:18 +00:00
Yang Zhao
66fa67cde6
Fix the issue of device name len limited
2021-11-11 11:35:36 +08:00
Jiang Jiang Jian
c6ad0e4658
Merge branch 'bugfix/power_down_bluetooth_module_when_deinit' into 'master'
...
component/bt: Power down bluetooth module when deinit
Closes WIFI-4180
See merge request espressif/esp-idf!15716
2021-11-11 03:23:46 +00:00
Omar Chebib
9d5923a13e
IPC: Move ipc sources to esp_system
...
IPC shall be put back into esp_system as it is an 'OS additions'.
2021-11-11 10:30:01 +08:00
Rahul Tank
897926d21c
NimBLE: Modified timer not started / running warning print
...
Current check for valid timer throws a print which can mislead to be a crash. Modified the same
Closes: https://github.com/espressif/esp-idf/issues/7550
2021-11-10 12:44:39 +05:30
jincheng
74e121af88
fix HCI_Read_Clock error
...
fix HCI_Create_Connection_Cancel error
fix ASSERT_WARN during epr
2021-11-09 14:37:13 +08:00
baohongde
11656377af
components/bt: Fix the issue caused by the power off the bt power domain
2021-11-09 12:03:49 +08:00
morris
16677b0d3c
global: make periph enable/disable APIs private
...
peripheral enable/disable usually should be managed by driver itself,
so make it as espressif private APIs, not recommended for user to use it
in application code.
However, if user want to re-write the driver or ports to other platform,
this is still possible by including the header in this way:
"esp_private/peripheral_ctrl.h"
2021-11-08 10:37:47 +08:00
Cao Sen Miao
599227a1b6
ESP8684: Add esp8684 target to other repo for passing build
2021-11-06 17:33:45 +08:00
Xie Wen Xiang
579aa4bd90
Merge branch 'bugfix/fix_crash_when_shutdown_bt' into 'master'
...
component/bt: fix crash when shutdown bt
See merge request espressif/esp-idf!15705
2021-11-05 03:00:09 +00:00
Wang Meng Yang
328450b8c2
Merge branch 'bugfix/fix_ble_prefered_ext_conn_parameter_detection' into 'master'
...
component/bt: check the ble ext conn parameter
See merge request espressif/esp-idf!15767
2021-11-04 12:23:42 +00:00
Island
417ef24b06
Merge branch 'bugfix/ble_mesh_host_init' into 'master'
...
ble_mesh: nimble: return error if init host twice
See merge request espressif/esp-idf!13065
2021-11-03 02:25:03 +00:00
lly
a1535faad5
ble_mesh: nimble: return error if init host twice
2021-11-02 20:40:49 +08:00
lly
277a5947ee
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG
2021-11-02 20:39:56 +08:00
xiewenxiang
f0ef891901
component/bt: check the ble ext conn parameter
2021-11-02 14:33:24 +08:00
xiewenxiang
9b16f5d831
component/bt: fix crash when shutdown bt
2021-11-02 10:29:10 +08:00
Chinmay Chhajed
da0234ca01
Merge branch 'bugfix/ble_conn_latency_max_value' into 'master'
...
BLE: Set connection max latency value to 499.
Closes BT-2025
See merge request espressif/esp-idf!15706
2021-10-29 12:16:55 +00:00
Chinmay Chhajed
7caa6ca45f
BLE: Set connection max latency value to 499.
2021-10-29 14:24:45 +05:30
baohongde
e6ceedf3a0
component/bt: Power down bluetooth module when deinit
2021-10-29 10:42:23 +08:00
lly
eeb9a9bd2c
ble_mesh: stack: Update license of esp specific files
2021-10-28 21:20:27 +08:00
lly
fc97277e2f
ble_mesh: stack: Update the license of provisioner_main.c
2021-10-26 17:44:36 +08:00
wangjialiang
0578c3a126
ble_mesh: stack: Fix heartbeat filter with accept list
2021-10-26 17:43:53 +08:00
Wei Tian Hua
23dd7a4a29
Merge branch 'bugfix/remove_assert_when_inq_done' into 'master'
...
component_bt: fix crash after inquiry has finished
Closes IDFGH-4967 and IDFGH-5850
See merge request espressif/esp-idf!13505
2021-10-25 10:03:28 +00:00
Chinmay Chhajed
0319dcd23d
Merge branch 'bugfix/nimble_x_component_key_check' into 'master'
...
NimBLE: Compare only x component of public key before pairing.
Closes BT-1928
See merge request espressif/esp-idf!15035
2021-10-22 12:37:02 +00:00
xiongweichao
d5c3342a46
Remove assert when inq done
...
Closes https://github.com/espressif/esp-idf/issues/6759
2021-10-21 20:08:37 +08:00
Xie Wen Xiang
4b2396e7fc
Merge branch 'bugfix/btdm_fix_some_bluedroid_issues' into 'master'
...
Fix some bluedroid issues
Closes BT-1926 and FCS-743
See merge request espressif/esp-idf!15170
2021-10-21 03:18:22 +00:00
xiewenxiang
5e21788283
component/bt: Modify the bluetooth device name length limits
2021-10-20 16:19:28 +08:00
xiewenxiang
29a097504d
component/bt: set ext adv param failed when stop ext adv
2021-10-20 15:41:00 +08:00
Yang Zhao
a7247db6b4
Update esp32 bt-lib
...
1. Fix the scan failed issue.
2. Fix connection failed with LG 5.0 phone
2021-10-19 21:43:17 +08:00
Wang Meng Yang
ca8d432462
Merge branch 'bugfix/btdm_ble_data_length_update_fail' into 'master'
...
Fix data length update failed
Closes BT-1924
See merge request espressif/esp-idf!15499
2021-10-18 03:06:26 +00:00
Li Shuai
46dedca23c
ci: replace old header with new SPDX header style
2021-10-14 10:51:10 +08:00
baohongde
e684b3f2a6
Power Management: Initialize backup memory for MAC and Baseband power up/down
2021-10-14 10:51:10 +08:00
baohongde
17d719bad7
Power Management: power up/down BT power domain when BT init/deinit
2021-10-14 10:51:09 +08:00
xiewenxiang
76372097bb
component/bt: fix data length update failed
2021-10-13 19:58:21 +08:00
Rahul Tank
7f9a15f298
ESP32: Fix memory leak in controller deinit function
...
Added change to dealloc s_pm_lock in controller deinit as it gets allocated
during init procedure.
Closes https://github.com/espressif/esp-idf/issues/7653
2021-10-08 14:35:47 +05:30
Wang Meng Yang
f0ffeb1c65
Merge branch 'bugfix/a2dp_no_audio_transmitted' into 'master'
...
bugfix/fix wrong clock_id in function `time_now_us`
Closes IDFGH-5862
See merge request espressif/esp-idf!15315
2021-10-08 05:59:57 +00:00
Jiang Jiang Jian
65682ad63c
Merge branch 'bugfix/bt_legacy_paring_wrong_pin_code_err' into 'master'
...
bugfix/fix the crash when using legacy paring with wrong pin code
Closes IDFGH-5856
See merge request espressif/esp-idf!15235
2021-09-30 01:12:34 +00:00
Jiang Jiang Jian
168ecb275c
Merge branch 'bugfix/fix_macro_conversion' into 'master'
...
Nimble: Fix logging level mismatch
See merge request espressif/esp-idf!14477
2021-09-30 01:09:23 +00:00
Wang Meng Yang
10d083a4c1
Merge branch 'bugfix/bt_x_component_key_check' into 'master'
...
BT: Fix for CVE-2021-37577.
Closes BT-1938
See merge request espressif/esp-idf!15228
2021-09-24 06:16:30 +00:00
Rahul Tank
67bb97cbf3
Nimble: Removed Critical debug level from menuconfig, since it internally maps
...
to level Error.
2021-09-24 11:11:36 +05:30
Chinmay Chhajed
29d306e6ff
NimBLE: Compare only x component of public key before pairing.
2021-09-23 18:30:01 +05:30
Jiang Jiang Jian
91818884cc
Merge branch 'bugfix/stack_init_check' into 'master'
...
Nimble: Check stack status before executing stack command
Closes BT-1367
See merge request espressif/esp-idf!14869
2021-09-23 04:26:54 +00:00
jincheng
52e7b99630
fix wrong clock_id in function time_now_us
...
Close https://github.com/espressif/esp-idf/issues/7561
2021-09-23 09:47:35 +08:00
jincheng
c592da5308
bugfix/fix the crash when using legacy paring with wrong pin code
...
Close https://github.com/espressif/esp-idf/issues/7556
2021-09-23 07:40:54 +08:00
Zim Kalinowski
73fc400ac0
Merge branch 'feature/github-7582' into 'master'
...
code formatting updated
See merge request espressif/esp-idf!15267
2021-09-22 09:43:35 +00:00
Rahul Tank
1ad7d0dac4
Nimble: Check stack status before executing stack command
2021-09-21 12:41:45 +08:00
Chinmay Chhajed
a977618f55
BT: Check only for same X component of public key in BR/EDR.
2021-09-20 23:24:24 +08:00
ajit1433
ae8fac38fa
code formatting updated
2021-09-18 23:14:09 +05:30
xiewenxiang
bebc5d543b
component/bt: Fixed default LE Event Mask
2021-09-17 17:12:16 +08:00
baohongde
b310c062cd
components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller
2021-09-16 20:26:35 +08:00
baohongde
eb176c3453
Fix bt init error with psram
2021-09-15 10:57:45 +08:00
baohongde
05768e9878
components/bt: Combine 3 Bluetooth controller menu
2021-09-15 10:57:37 +08:00
baohongde
6fc4bf7145
components/bt: Fix link error of Kconfig
2021-09-13 15:45:27 +08:00
baohongde
006a10b050
components/doc: Update doc about high-level interrupt
...
some bugfix.
2021-09-09 20:40:09 +08:00
baohongde
57eeb4d953
components/driver: support static allocation of FreeRTOS queues used by ISR routine
2021-09-09 11:29:19 +08:00
baohongde
e2fb413329
components/bt: add config option to choose Bluetooth intterupt level.
2021-09-09 11:29:17 +08:00
baohongde
8a4696d25a
components/os: Fix live lock int bt isr using ocd multicore debug
...
components/os: Fix live lock in bt isr immediately
2021-09-09 11:29:08 +08:00
baohongde
d1db2df316
components/bt: High level interrupt in bluetooth
...
components/os: Move ETS_T1_WDT_INUM, ETS_CACHEERR_INUM and ETS_DPORT_INUM to l5 interrupt
components/os: high level interrupt(5)
components/os: hli_api: meta queue: fix out of bounds access, check for overflow
components/os: hli: don't spill registers, instead save them to a separate region
Level 4 interrupt has a chance of preempting a window overflow or underflow exception.
Therefore it is not possible to use standard context save functions,
as the SP on entry to Level 4 interrupt may be invalid (e.g. in WindowUnderflow4).
Instead, mask window overflows and save the entire general purpose register file,
plus some of the special registers.
Then clear WindowStart, allowing the C handler to execute without spilling the old windows.
On exit from the interrupt handler, do everything in reverse.
components/bt: using high level interrupt in lc
components/os: Add DRAM_ATTR to avoid feature `Allow .bss segment placed in external memory`
components/bt: optimize code structure
components/os: Modify the BT assert process to adapt to coredump and HLI
components/os: Disable exception mode after saving special registers
To store some registers first, avoid stuck due to live lock after disabling exception mode
components/os: using dport instead of AHB in BT to fix live lock
components/bt: Fix hli queue send error
components/bt: Fix CI fail
# Conflicts:
# components/bt/CMakeLists.txt
# components/bt/component.mk
# components/bt/controller/bt.c
# components/bt/controller/lib
# components/esp_common/src/int_wdt.c
# components/esp_system/port/soc/esp32/dport_panic_highint_hdl.S
# components/soc/esp32/include/soc/soc.h
2021-09-09 11:29:06 +08:00
liqigan
1c15c9207c
1. transparent HID device
...
2. add esp API for HID
3. add PM config for HID
4. add HID device demo
Closes https://github.com/espressif/esp-idf/issues/5311
Closes https://github.com/espressif/esp-idf/issues/5635
Merges https://github.com/espressif/esp-idf/pull/3425
2021-09-07 16:59:30 +08:00
Wei Tian Hua
00dfe84c58
Merge branch 'bugfix/hf_disc_acl_no_disc' into 'master'
...
bugfix/acl can't disconnect when hfp_client disconnect
See merge request espressif/esp-idf!12819
2021-09-03 06:01:50 +00:00
Wang Meng Yang
e09818bd33
Merge branch 'bugfix/btdm_fix_some_Document_Description_Error' into 'master'
...
component/bt: fix some ble document description error
See merge request espressif/esp-idf!14816
2021-09-03 01:40:15 +00:00
XieWenxiang
461f2bd186
component/bt: fix some ble document description error
2021-09-01 20:39:13 +08:00
liaowenhao
124169a7dd
bugfix acl doesn't disconnect when hfp_client disconnect
2021-08-24 10:53:25 +08:00
Wang Meng Yang
29754cf8c0
Merge branch 'bugfix/esp32c3_check_if_allow_light_sleep' into 'master'
...
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used
Closes BT-1877
See merge request espressif/esp-idf!14723
2021-08-19 00:18:53 +00:00
Wang Meng Yang
7df2a22faa
Merge branch 'bugfix/spp_memory_leak' into 'master'
...
Fix spp memory leak
Closes IDFGH-5508
See merge request espressif/esp-idf!14319
2021-08-19 00:12:51 +00:00
liulinyan
f5a12f4900
Merge branch 'bugfix/ble_mesh_cve_recommendation' into 'master'
...
ble_mesh: Update the SIG recommendations for CVE issues
See merge request espressif/esp-idf!14832
2021-08-18 02:46:38 +00:00
lly
f6c3b51b13
ble_mesh: Update the SIG recommendations for CVE issues
2021-08-17 19:43:47 +08:00
Chinmay Chhajed
f167a2a3d1
bt: Remove unused function esp_bt_get_mac.
...
Closes https://github.com/espressif/esp-idf/issues/7410
2021-08-17 15:07:51 +05:30
Wang Meng Yang
a77aaf296a
Merge branch 'bugfix/bt_spp_timer_collision' into 'master'
...
Fix timer collision in role switch
Closes IDFGH-5464
See merge request espressif/esp-idf!14575
2021-08-17 02:10:44 +00:00
xiongweichao
ba7252d2ea
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used
2021-08-16 16:51:54 +08:00
Wang Meng Yang
bdd4b45f6a
Merge branch 'bugfix/btdm_auto_update_PPCP_attribute_value' into 'master'
...
component/bt: fix bluedroid host auto update PPCP attribute value
See merge request espressif/esp-idf!14746
2021-08-16 07:25:50 +00:00
jincheng
a523dd3ede
fix timer collision in role switch
...
Closes https://github.com/espressif/esp-idf/issues/7203
2021-08-16 08:54:37 +08:00
xiewenxiang
2e5f44afa3
component/bt: Fixed ble conn will crash durning erase flash
2021-08-13 17:57:33 +08:00
Yang Zhao
931da79804
1.Update the esp32 bt lib.The last update is still the old one,so update it again.
...
2.The controller may miss the sleep time caculated before. So it will stuck
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-11 14:05:45 +08:00
Wang Meng Yang
189ccc5493
Merge branch 'bugfix/fix_deep_sleep_miss_bug_mr_master' into 'master'
...
Fixed missing the sleep time
See merge request espressif/esp-idf!14550
2021-08-10 11:15:55 +00:00
XieWenxiang
30ccfdb3b9
component/bt: fix bluedroid host auto update PPCP attribute value
2021-08-10 17:18:49 +08:00
Wang Meng Yang
8652b1d576
Merge branch 'bugfix/btdm_esp32_ble_white_list_connection_fail' into 'master'
...
Fixed ESP32 BLE can't resolve the peer address when enable white list
See merge request espressif/esp-idf!14348
2021-08-09 06:46:08 +00:00
Yang Zhao
d1f4b74812
The controller may miss the sleep time caculated before. So it will stuck
...
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-09 13:13:51 +08:00
Wang Meng Yang
8fc30ece07
Merge branch 'component_bt/add_spp_faq' into 'master'
...
Component_bt/Add FAQ in SPP Demo README
Closes FCS-611
See merge request espressif/esp-idf!12586
2021-08-06 02:28:14 +00:00
xiewenxiang
95c35288bc
component/bt: add local irk to controller
2021-08-05 17:32:08 +08:00
xiewenxiang
1cc0f6aac5
Fixed ESP32 BLE can't resolve the peer address when enable white list
2021-08-04 22:00:38 +08:00
liqigan
d8023ba09c
add FAQ in SPP demo README
2021-08-04 20:49:51 +08:00
sU8U7SfkcwTJVH7PjaVmej7D
b421ce2b00
Remove unused 'yy' variables
2021-07-30 15:59:06 +08:00
Wang Meng Yang
226c6ab6de
Merge branch 'bugfix/fix_scan_timeout_mr_master' into 'master'
...
Fix the scan timeout report
See merge request espressif/esp-idf!14325
2021-07-20 07:53:52 +00:00