xiewenxiang
7a6a61feef
component/bt: fix crash when shutdown bt(backport v4.4)
2021-11-08 10:55:12 +08:00
liulinyan
b298795e37
Merge branch 'bugfix/sig_ble_mesh_errata_e16350_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG (v4.4)
See merge request espressif/esp-idf!15815
2021-11-05 03:16:51 +00:00
lly
461ffffd77
ble_mesh: nimble: return error if init host twice
2021-11-04 20:31:57 +08:00
lly
c255c6a6f8
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG
2021-11-04 20:29:38 +08:00
lly
c1df3636b7
ble_mesh: stack: Update license of esp specific files
2021-11-03 14:22:31 +08:00
lly
9e82f7fdcf
ble_mesh: stack: Update the license of provisioner_main.c
2021-11-02 20:56:25 +08:00
wangjialiang
77eb671168
ble_mesh: stack: Fix heartbeat filter with accept list
2021-11-02 20:54:02 +08:00
xiewenxiang
d89112badf
component/bt: check the ble ext conn parameter
2021-11-02 15:54:27 +08:00
Chinmay Chhajed
affe1a0692
BLE: Set connection max latency value to 499.
2021-11-01 16:45:16 +05:30
baohongde
89d290f17a
component/bt: Power down bluetooth module when deinit
2021-10-29 10:44:02 +08:00
xiongweichao
3187b9b5a4
1. Fix the scan failed issue.
...
2. Fix connection failed with LG 5.0 phone
3. Remove assert when inquiry done
2021-10-27 14:54:37 +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
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
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
Wang Meng Yang
d48dee8027
Merge branch 'bugfix/a2dp_deint_crash_master' into 'master'
...
component_bt: fix a2dp deinit crash
Closes BT-1722
See merge request espressif/esp-idf!14360
2021-07-20 03:02:03 +00:00
xiongweichao
7960110729
components/bt: fix spp memory leak
...
closes https://github.com/espressif/esp-idf/issues/7238
2021-07-19 21:19:49 +08:00
Yang Zhao
6aa44a8a89
This is to fix the hardware bug. The device may report scan event
...
timeout when scaning.If check this error,then reset the rwble core.
2021-07-19 20:56:30 +08:00
Omar Chebib
a7b6ec85b8
Merge branch 'feature/move_memory_layout_to_heap' into 'master'
...
G0: Memory layouts are now part of heap components
Closes IDF-1264
See merge request espressif/esp-idf!14028
2021-07-19 06:23:19 +00:00
xiongweichao
b1bceb6b42
Not initialized or in the process of de-initialization, calling API will return ERR
2021-07-19 11:06:21 +08:00
xiongweichao
55fe021ddb
fix a2dp deinit crash
2021-07-19 11:06:21 +08:00
xiongweichao
fbab2fc0e3
Add remove sniff when peer not accepted sniff mode
2021-07-16 11:31:13 +08:00
sushant.chougule
4c3d527b2f
component/bt: Fix BLE controller crash during reset/reboot
2021-07-15 22:35:37 +05:30
Omar Chebib
c4f57af6c9
G0: Memory layouts are now part of heap components
2021-07-15 11:38:23 +10:00
Rahul Tank
e81facd3e8
Nimble: Add fix for crash in esp_timer deletion
...
Added change in nimble submodule to handle crash in case of non-started
timer is attempted to be deleted.
2021-07-13 16:20:49 +08:00
zwj
f5fcfec2cb
Fixed ESP32S3 BLE controller init failed
2021-07-06 18:04:04 +08:00
Rahul Tank
3159ba1d5a
Add esp_timer_is_active function for Nimble stack to use esp_timer instead of FreeRTOS timer
2021-06-30 10:06:40 +05:30
Jiang Jiang Jian
59b49d2783
Merge branch 'feature/add-nimble-host-to-blufi' into 'master'
...
Add support of NimBLE host to Blufi
See merge request espressif/esp-idf!13734
2021-06-29 12:54:01 +00:00
Angus Gratton
c02aa6d0ae
Merge branch 'bugfix/switch_jump_tables' into 'master'
...
build system: always build with -fno-jump-tables & -fno-tree-switch-conversion
Closes IDF-3007
See merge request espressif/esp-idf!13458
2021-06-29 04:13:08 +00:00
Jiang Jiang Jian
910d3cfe06
Merge branch 'bugfix/correct_gatt_max_macro_name' into 'master'
...
Bluedroid: Fixed issue of option not being set due to incorrect macro
See merge request espressif/esp-idf!13945
2021-06-29 03:24:27 +00:00
“sonalipatil”
5175672050
Add support of NimBLE host to Blufi
...
Merges https://github.com/espressif/esp-idf/pull/6904
2021-06-28 19:53:33 +05:30
Wang Meng Yang
0b42c8fc73
Merge branch 'bugfix/fix_c3_s3_some_bugs_06_15' into 'master'
...
Bugfix/fix c3 s3 some bugs 06 15
See merge request espressif/esp-idf!14018
2021-06-27 23:45:22 +00:00
Wang Meng Yang
6ecffb02aa
Merge branch 'bugfix/ble_start_scan_crash_issue_mr_master' into 'master'
...
ble start scan crash issue
See merge request espressif/esp-idf!13798
2021-06-25 10:31:01 +00:00
zwj
97188e8068
support hw recorrect
2021-06-25 15:30:02 +08:00
zwj
d8474a92bf
- fix data length update failed
...
- fix no callback when the value being used is the same as the value to be set
2021-06-25 15:29:38 +08:00
Marius Vikhammer
ee2f8b1a62
build system: always build with -fno-jump-tables & -fno-tree-switch-conversion
...
Jump tables placed in flash would cause issue with code that needed to be ran from IRAM.
These optimizations are now always disabled.
2021-06-24 14:54:10 +08:00
wangmengyang
a024de7cac
component/bt: fixed the assert in checking hardware sleep state during wake-up
...
The hardware sleep state change can take some time after wake-up interrupt. Use busy waiting instead of directly assert
2021-06-24 10:35:40 +08:00
wangmengyang
aff1696c4e
components/bt: fixed two bugs
...
1. Use correct addresses of Bluetooth Low Power Clock registers on Chip 7.2.8 ESP32-S3
2. Disabled CS-RXDONEMSK to avoid RX interrupt flooding during scan event in coexistence scenario
2021-06-23 07:06:28 +08:00
Wang Meng Yang
d685e85ff4
Merge branch 'bugfix/spp_connect_20_fail' into 'master'
...
component_bt: fix spp acceptor deadlock
Closes IDFGH-5172
See merge request espressif/esp-idf!13940
2021-06-22 12:21:10 +00:00
Wang Meng Yang
9ee25986a8
Merge branch 'bugfix/fix_a2dp_sink_blocked' into 'master'
...
Bugfix/Fix a2dp Sink Blocked Bugs
Closes IDFGH-4920, IDFGH-5348, and BT-1740
See merge request espressif/esp-idf!12776
2021-06-22 11:33:31 +00:00
xiongweichao
96aff16dd3
fix spp acceptor deadlock
...
Closes: https://github.com/espressif/esp-idf/issues/6948
2021-06-22 15:05:27 +08:00
“YangZhao”
7bec64eaa3
If the scan window set as 4 slots and the scan interval set as 5 slots
...
,then the device will crash when starting scanning.This commit is to fix
this bug.
2021-06-21 21:14:42 +08:00
liqigan
fd83938f39
fix a2dp sink RxSbcQ bugs
...
Closes https://github.com/espressif/esp-idf/issues/6712
Closes https://github.com/espressif/esp-idf/issues/7100
2021-06-21 20:02:36 +08:00
sushant.chougule
8f7ed33ba3
bt/component: Fix MIC error issue during start_encryption procedure in esp32c3 ble controller
2021-06-21 17:03:02 +05:30
Island
cdad1eaa9c
Merge branch 'feat/ble_mesh_make_unprov_beacon_interval_configurable' into 'master'
...
ble_mesh: stack: Make unprovisioned beacon interval configurable
Closes IDFGH-4930
See merge request espressif/esp-idf!12811
2021-06-18 11:57:45 +00:00
Wang Meng Yang
e245d4c9cd
Merge branch 'bugfix/bta_hf_client_co_cb_ptr_macro' into 'master'
...
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used
See merge request espressif/esp-idf!12335
2021-06-18 09:03:33 +00:00
wangjialiang
fbacede604
ble_mesh: stack: Fix crash for net_key_del when subnet is NULL
2021-06-18 11:52:00 +08:00
wangjialiang
7bfae982e4
ble_mesh: stack: Make unprovisioned beacon interval configurable.
...
Closes https://github.com/espressif/esp-idf/issues/6722
2021-06-18 11:52:00 +08:00
wangjialiang
d4232ee8f9
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM
2021-06-17 17:05:01 +08:00
Wang Meng Yang
0ee043a8a7
Merge branch 'bugfix/active_ext_scan_performance_in_coex' into 'master'
...
bugfix/active_ext_scan_performance_in_coex
See merge request espressif/esp-idf!13543
2021-06-17 01:32:16 +00:00
Rahul Tank
9013edfd93
Bluedroid: Fixed issue of option not being set due to incorrect macro
...
name.
2021-06-10 22:06:26 +08:00
wangjialiang
48979803e8
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner
2021-06-09 03:24:35 +00:00
xiewenxiang
96811de932
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 17:28:12 +08:00
wangmengyang
775465c140
components/bt: fixed performance issue for extended active scan in coexistence scenario: use the same priority for Rx of AUX_ADV_IND and AUX_SCAN_RSP
2021-06-07 11:31:15 +08:00
Jiang Jiang Jian
5cbea220b0
Merge branch 'feature/decouple_esp_phy' into 'master'
...
esp_phy: decouple esp_phy component from esp_wifi and bt
See merge request espressif/esp-idf!13742
2021-06-04 05:20:17 +00:00
Shu Chen
6061a547e5
esp_phy: decouple esp_phy component from esp_wifi and bt
...
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
Angus Gratton
dc6b950257
doc: Add performance guides for execuion speed, binary size, RAM usage
...
Closes https://github.com/espressif/esp-idf/issues/7007
Closes https://github.com/espressif/esp-idf/issues/6715
Closes https://github.com/espressif/esp-idf/issues/3781
Closes https://github.com/espressif/esp-idf/issues/2566
2021-06-03 13:55:34 +10:00
zhiweijian
a85890dd9d
Fixed ANON_ADV address error
2021-06-01 11:43:40 +08:00
Chinmay Chhajed
b75e034b3c
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
2021-05-28 14:28:54 +05:30
zwj
8919322c76
Fixed BLE reconnect failed when using rpa public address
2021-05-27 14:08:47 +08:00
liaowenhao
6bd7f30199
bugfix/fix crash when lmp flooding
2021-05-24 12:08:03 +08:00
Jiang Jiang Jian
da988bed0f
Merge branch 'bugfix/btdm_delete_adv_priority_high' into 'master'
...
components/bt: Delete BLE ADV priority high
Closes BT-1573
See merge request espressif/esp-idf!13054
2021-05-24 03:58:32 +00:00
Mahavir Jain
f339506324
bt: use generic SPIRAM config option for memory alloc policy
2021-05-17 10:43:42 +00:00
baohongde
721a0c3415
components/bt: Delete BLE ADV priority high
2021-05-17 17:07:14 +08:00
Prasad Alatkar
03634ea64b
NimBLE: Update NimBLE submodule to reattempt conn and to fix vulnerability
...
* Add workaround to overcome connection establishment failure error.
* Fix vulnerability during public key exchange in secure connection
2021-05-13 19:10:19 +05:30
Jiang Jiang Jian
95dfdf7680
Merge branch 'nimble/fix_broadcaster_role' into 'master'
...
NimBLE: Add custom logging support, fix build error for broadcaster role, NVS peer_dev_records fix
See merge request espressif/esp-idf!13204
2021-05-13 10:01:12 +00:00
Prasad Alatkar
3dfcaee9bd
NimBLE: Add custom logging support and fix build error for broadcaster role
...
* Fix bug in nvs deletion of `ble_dev_record`.
2021-05-13 18:01:01 +08:00
Jiang Jiang Jian
71325aaa46
Merge branch 'bugfix/invalid_feat_page_exec' into 'master'
...
bt controller: Fixed handling for invalid feature page.
See merge request espressif/esp-idf!13292
2021-05-13 09:02:42 +00:00
Jiang Jiang Jian
7b2f2c2a86
Merge branch 'bugfix/ag_use_dynamic_memory_error' into 'master'
...
Fix ag use dynamic memory error
Closes BT-1574
See merge request espressif/esp-idf!13094
2021-05-13 07:56:45 +00:00
Chinmay Chhajed
ce4743d9d3
bt controller: Fixed handling for invalid feature page.
2021-05-11 09:00:37 +00:00
zwj
22f429f5bc
fix C3/S3 ble multi-connection failed when device acts as master and slave
2021-05-10 21:06:44 +08:00
xiongweichao
d38a91ee95
Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions
2021-05-10 11:11:02 +08:00
xiongweichao
be6b25b9d9
fix ag use dynamic memory error
2021-05-10 10:56:46 +08:00
wangjialiang
a5e12d9b63
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
...
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-06 06:49:04 +00:00
wangmengyang
59c0825ed8
Added example(ESP32-C3), to use Bluetooth Controller through HCI UART transport
2021-04-30 15:25:10 +00:00
wangmengyang
666a73d79c
components/bt: bug-fixes in BLE controller and BLE baseband
...
1. Removed the interrupt lock operation during controller enable/disable/reset, to avoid trigger interrupt watchdog time-out due to use of mutex/semaphore in coex_st_set
2. update libbtbb.a to fix the Rx performance issue for CODED PHY, especially in coexistence scenario
2021-04-28 12:05:49 +00:00
wangmengyang
d2324c162a
components/bt: Minor fix for the range of GATTC number of reconnections.
2021-04-28 12:05:49 +00:00
zwj
3c06fea8a1
fix esp32c3 and esp32s3 ble disconnect due to connection paramters update
2021-04-25 20:18:21 +08:00
wangmengyang
d703424ef7
component/bt: add another bt-lib submodule and refactor the directories
2021-04-22 07:41:46 +08:00
wangmengyang
b81c687327
remove original esp32-bt-lib submodule
2021-04-21 19:51:32 +08:00
“YangZhao”
1def09cc99
bugfix: Fix the issue that the controller do not report the timeout
...
disconnect event. This issue is caused by modem sleep.The sleep interrupt
will come the second time before the CLKN interrupt. If we disable the sleep
interrupt when it comes in the first time, the CLKN will never come.
2021-04-21 14:49:44 +08:00
Wang Meng Yang
c94916de8f
Merge branch 'bugfix/optimize_c3_multi_con_and_add_connection_retry' into 'master'
...
optimize c3 multi con and add connection retry
See merge request espressif/esp-idf!12983
2021-04-20 14:48:11 +00:00
Island
3e05abe7bb
Merge branch 'bugfix/endianness_in_output_or_input_oob' into 'master'
...
ble_mesh: stack: Fix endianness error in output or input oob data of number
See merge request espressif/esp-idf!13160
2021-04-20 13:09:01 +00:00
wangjialiang
dd0fbb2f5e
ble_mesh: stack: Fix endianness error in output or input oob data of number
...
Closes https://github.com/espressif/esp-idf/issues/6862
2021-04-20 06:25:52 +00:00
Prasad Alatkar
7d4cfb6d53
NimBLE: Add max connection config option for ESP32C3
2021-04-20 02:41:58 +00:00
zwj
58cd231895
optimize C3 and s3 multi-connection
2021-04-20 02:41:14 +00:00
zwj
077722696a
add option to enable multi-connection
2021-04-20 02:41:14 +00:00
zwj
6fff69390e
update con state when getting connection cancle complete
2021-04-20 02:41:14 +00:00
zwj
85b73337a3
fix ble 5.0 SMP failed
2021-04-20 02:41:14 +00:00
zwj
e652e264c7
add BLE connection establishment retry
2021-04-20 02:41:14 +00:00
Jiang Jiang Jian
920b3a0929
Merge branch 'feature/configure_max_server_profiles_count' into 'master'
...
esp32: Added an option in menuconfig to configure maximum gatt services
Closes BT-1508
See merge request espressif/esp-idf!12769
2021-04-19 06:31:09 +00:00
zwj
facadc86d8
support 727 esp32s3 BLE
2021-04-15 22:02:58 +08:00
xiongweichao
4aafb1fd80
modify E8192 ELx200 ELx40 log level to LOGD
2021-04-13 17:08:23 +08:00
Marius Vikhammer
0633ee3e18
docs: fix doxygen compile warnings for doxygen 1.9.1
...
Newer versions of doxygen will give warnings for comments in
INPUT lists
Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-04-09 11:57:03 +08:00
Rahul Tank
6395eae955
esp-idf: Added an option in menuconfig to configure maximum gatt services
...
Currently Max GATT services count cannot be configured externally and
hence user needs to modify code ,everytime the count is to be
modified.
Added an option in menuconfig to provide a way to user to set the count.
Fixes: https://jira.espressif.com:8443/browse/BT-1508
2021-04-08 10:42:47 +00:00
Renz Bagaporo
e6edf34e82
esp32: move esp_clk functions
2021-03-31 19:17:33 +08:00
Jiang Jiang Jian
80d0f6c860
Merge branch 'nimble/add_error_prints_acl_buf' into 'master'
...
NimBLE: Add error prints for ACL buffer exhaustion in NPL
See merge request espressif/esp-idf!12665
2021-03-31 03:20:16 +00:00
Jiang Jiang Jian
bd4e34b15a
Merge branch 'bugfix/btdm_incorrectly_spelled' into 'master'
...
component/bt: fix Spelling mistakes
Closes IDFGH-4886, IDFGH-4910, and IDFGH-4635
See merge request espressif/esp-idf!12814
2021-03-29 05:07:54 +00:00
Jiang Jiang Jian
bcbf1d2c3c
Merge branch 'bugfix/btdm_add_controller_support_RPA' into 'master'
...
add option to enable/disable esp32 controller RPA
See merge request espressif/esp-idf!12832
2021-03-26 04:19:50 +00:00
Jiang Jiang Jian
6c070f49a8
Merge branch 'bugfix/btdm_fix_multi-con_pair_failed' into 'master'
...
fix multi-connection pair failed
Closes BT-1490
See merge request espressif/esp-idf!12877
2021-03-26 04:18:56 +00:00
Jiang Jiang Jian
e5f8e12db1
Merge branch 'bugfix/btdm_synchronize_multiple_branch_of_bt_lib' into 'master'
...
Bugfix/btdm synchronize multiple branch of bt lib
Closes BT-1535
See merge request espressif/esp-idf!12868
2021-03-26 04:15:42 +00:00
Jiang Jiang Jian
a24ae68d48
Merge branch 'nimble/mbedtls_aes_free_dma' into 'master'
...
NimBLE: Free AES context after use by calling `mbedtls_free_aes` (Needed for C3)
Closes BT-1435
See merge request espressif/esp-idf!12363
2021-03-25 12:42:32 +00:00
baohongde
77fc60ede1
components/bt: Synchronize multiple branch of bt lib
2021-03-25 14:39:28 +08:00
baohongde
36b89a9f0b
components/bt: Fix assert without sw coexist enabled
2021-03-25 14:39:07 +08:00
baohongde
7c2ff2ad3f
component/coex: Decouple Wi-Fi and bluetooth with coexist to reduce binary file size
2021-03-25 14:39:07 +08:00
Prasad Alatkar
b4861a11e6
NimBLE: Free AES context after use by calling mbedtls_free_aes
...
- Update NimBLE submodule to resolve issue observed while using mbedTLS as
crypto stack during security exchanges.
Closes BT-1435, BT-1434
2021-03-24 13:26:36 +00:00
Prasad Alatkar
5d80d551cf
NimBLE: Add error prints for ACL buffer exhaustion in NPL
2021-03-24 13:25:38 +00:00
zwj
dc3a5a9335
fix multi-connection pair failed
2021-03-24 14:58:21 +08:00
zwj
6e343bead2
add option to enable/disable esp32 controller RPA
2021-03-24 14:42:35 +08:00
“YangZhao”
8e282c7fe5
Fix the bug of modem sleep which may lead to the crash issue "assert(-218959118,0)"
2021-03-24 11:39:00 +08:00
XieWenxiang
f9cdd1d6c9
component/bt: Modify some ambiguous descriptions
2021-03-23 23:08:05 +08:00
Jiang Jiang Jian
5978352cf9
Merge branch 'bugfix/ble_tx_power_mapping' into 'master'
...
Bluetooth: Tx power level for ESP32C3 and IRAM_ATTR fix for ESP32S3 controller
See merge request espressif/esp-idf!12651
2021-03-23 03:04:30 +00:00
Angus Gratton
54edd4fc58
Merge branch 'feature/wdt_c3' into 'master'
...
wdt: Fix RTC_SLOW_CLK for chips, corrects WDT timeout.
Closes IDF-2118 and IDF-2332
See merge request espressif/esp-idf!12796
2021-03-22 06:48:58 +00:00
liaowenhao
048f527883
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used
2021-03-22 03:07:49 +00:00
KonstantinKondrashov
aa1338bf23
wdt: Fix timeout and RTC_SLOW_CLK
...
RTC_SLOW_CLK
ESP32: 150kHz
ESP32-S2: 90kHz
ESP32-S3: 150kHz
ESP32-C3: 150kHz
2021-03-19 00:15:18 +08:00
Jiang Jiang Jian
d01c951d46
Merge branch 'bufix/ag_deep_copy_crash' into 'master'
...
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
Closes BT-1355
See merge request espressif/esp-idf!12338
2021-03-18 09:49:57 +00:00
wangmengyang
3df07164c1
components/bt: shorten some log messages for bluedroid
2021-03-17 16:52:34 +08:00
wangmengyang
ab8e488c38
component/bt: [ESP32S3] fix missing IRAM_ATTR for function in libbtdm_app.a
2021-03-17 16:52:34 +08:00
wangmengyang
528964f12c
fixed incorrect Tx power mappings for ESP32C3 chip
2021-03-17 16:52:26 +08:00
zwj
b3a2fedfde
fix ble connection event report remote address error
2021-03-12 11:49:52 +08:00
Jiang Jiang Jian
a8f6a7a28e
Merge branch 'bugfix/c2h_fc_param_fix_ble' into 'master'
...
Fix for C2H flow control param check when only BLE mode is configured.
See merge request espressif/esp-idf!12672
2021-03-10 17:22:03 +00:00
Chinmay Chhajed
1d54d9ac13
Fix for C2H flow control param check when only BLE mode is configured.
2021-03-10 15:06:49 +05:30
Angus Gratton
39a2d531f0
Merge branch 'feature/ldgen_mapping_extensions' into 'master'
...
ldgen: mapping flags extensions
Closes IDFGH-2524
See merge request espressif/esp-idf!12035
2021-03-09 22:43:08 +00:00
baohongde
33df1358ef
Fix issues during light sleep and DFS
2021-03-09 13:49:59 +08:00
Jiang Jiang Jian
ffe5e45c77
Merge branch 'bugfix/btdm_controller_task_watchdog_in_wifi_test' into 'master'
...
Fix controller task watchdog in Wi-Fi test
Closes WIFI-3391
See merge request espressif/esp-idf!12628
2021-03-08 07:02:16 +00:00
Jiang Jiang Jian
b88a156ce5
Merge branch 'bugfix/btdm_crash_when_esp_restart' into 'master'
...
components/bt: Fix crash in Bluetooth when esp_restart
See merge request espressif/esp-idf!12566
2021-03-05 11:53:03 +00:00
baohongde
df146f5cd9
Fix controller task watchdog in Wi-Fi test
2021-03-05 11:25:03 +08:00
Angus Gratton
70e13752ae
Merge branch 'feature/rtc_time_get' into 'master'
...
rtc: Clean up for S2,S3,C3
Closes IDF-2569
See merge request espressif/esp-idf!12336
2021-03-05 01:16:15 +00:00
Jiang Jiang Jian
52720c724f
Merge branch 'bugfix/fix_l2cap_repeat_cid' into 'master'
...
Bugfix/Fix L2CAP Repeat Cid
Closes BT-1411, BT-1409, and BT-1410
See merge request espressif/esp-idf!12342
2021-03-04 03:36:31 +00:00
Jiang Jiang Jian
6677cd5498
Merge branch 'component_bt/optimize_spp_stop_server' into 'master'
...
component_bt/Optimize SPP Stop Server API
Closes BT-960
See merge request espressif/esp-idf!11124
2021-03-04 03:34:44 +00:00
liqigan
408a1490a9
add API esp_spp_stop_srv_scn
to stop a specific server
2021-03-03 15:02:23 +08:00
liqigan
825c2024d0
fix l2cap repeat cid
2021-03-03 14:50:05 +08:00
Angus Gratton
cfde7adb7f
esp_ble_mesh: Use standard ESP-IDF asserts
...
Smaller binary size, means that config options for silent assert or disable
assert will apply
2021-03-03 10:26:57 +11:00
Angus Gratton
0d26c89b6b
btc_common: Redefine BTC assert macro to use standard assert
...
Allows assert to be disabled, made silent, etc.
Progress towards https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton
a0c73c5f92
bt host: Don't redefine the assert macro
...
Required so that bt asserts obey the same configuration settings as other
asserts.
Progress towards https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton
d6f4d99d93
core system: Fix warnings in compilation when assertions are disabled
...
Adds a CI config for hello world that sets this, to catch future regressions
2021-03-03 10:26:57 +11:00
xiongweichao
d39756d8e7
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
2021-03-01 12:54:21 +00:00
KonstantinKondrashov
b31bf01484
rtc: Clean up for S2,S3,C3
2021-03-01 16:51:15 +08:00
baohongde
2e7405e8aa
components/bt: Fix crash in Bluetooth when esp_restart
2021-03-01 14:39:35 +08:00
Renz Bagaporo
10c5226095
ldgen: use uppercase keywords for flags
2021-03-01 14:19:34 +08:00
Renz Bagaporo
dbdc17cced
ldgen: rename emit to surround
2021-03-01 14:19:34 +08:00
Renz Bagaporo
c6f0d47758
esp32: move bt linker script placements to ldgen
2021-03-01 14:19:34 +08:00
gengyuchao
0d1eb8a331
Fix IRAM_ATTR missing
2021-02-26 20:31:47 +08:00
zwj
f344a65af5
fix crash caused by spp pairing cancel
2021-02-18 21:10:25 +08:00
Island
b88ec36635
Merge branch 'bugfix/ignore_null_valued_comb_key' into 'master'
...
component/bt: Added check for NULL valued combination key.
See merge request espressif/esp-idf!12239
2021-02-09 19:49:25 +08:00
Island
3f821b1d65
Merge branch 'bugfix/ble_mesh_server_model_deinit' into 'master'
...
ble_mesh: stack: Fix deinit server models with no matching id
See merge request espressif/esp-idf!12312
2021-02-09 16:26:38 +08:00
Chinmay Chhajed
368ba6b077
component/bt: Added check for NULL valued combination key.
2021-02-09 12:09:32 +05:30
Chinmay Chhajed
fb3a382fe4
Bluedroid: Do not initiate/accept connection with device having same BDADDR.
...
Added BD_ADDR comparison in l2cu_lcp_allocate and removed check from
security connection request handler as it's handled in l2cu_lcp_allocate
for both connection request and create connection.
2021-02-09 12:09:15 +05:30
Chinmay Chhajed
5596f37af1
bt: removed esp_bt_get_mac()
...
There was no need for this function as there is already a way present to
fetch own mac address. Own mac addr can be fetched by calling
controller_get_interface().
2021-02-09 12:09:15 +05:30
wangmengyang
44dd496bea
update esp32c3 btbb lib 21-02-08 and set coexist state when in scan(initiating) mode
2021-02-08 21:19:59 +08:00
zwj
52909b69b7
fix esp32c3 can't enable adv flow control func
2021-02-08 16:33:20 +08:00
lly
d3cc004803
ble_mesh: stack: Fix deinit server models with no matching id
2021-02-07 11:12:25 +08:00
wangmengyang
2dd730d35c
component/bt: [esp32c3] modify Bluetooth coexistence options
2021-02-05 09:16:29 +00:00
Jiang Jiang Jian
6a7781b92a
Merge branch 'bugfix/fix_a2dp_underun' into 'master'
...
bugfix/component_bt: Fix A2DP Underrun Issue
Closes AUD-2681
See merge request espressif/esp-idf!12093
2021-02-04 19:28:07 +08:00
Jiang Jiang Jian
c1aacb2efc
Merge branch 'bugfix/btdm_add_ble_connection_params_check' into 'master'
...
Bugfix/btdm add ble connection params check
See merge request espressif/esp-idf!12193
2021-02-04 17:32:42 +08:00
lly
0c6e61d258
ble_mesh: stack: Fix mbedtls aes ctx not deallocated
2021-02-04 11:24:54 +08:00
lly
0d95760fe4
ble_mesh: stack: Fix hw aes no dma channel for c3
2021-02-03 08:45:06 +00:00
lly
bd2d63ff96
ble_mesh: stack: Enable duplicate scan for c3
2021-02-03 08:45:06 +00:00
zwj
d76d708bc3
add connection parameter check
2021-01-29 15:29:57 +08:00
Jiang Jiang Jian
28faf93c51
Merge branch 'feature/esp32c3_power_down' into 'master'
...
esp32c3 : power down MAC and BB only if both Wi-Fi and BT power down
Closes FC3-99
See merge request espressif/esp-idf!12076
2021-01-28 23:27:19 +08:00
baohongde
eef66789d4
Mac BB power down in light sleep
...
components/bt: Do not use feature: timer support isr dispatch method
disable controller after wake up finished.
protect critical section of power down
choose clk in sleep
components/coex: mac bb power down in light sleep
components/coex: Macro changed
components/os: protect reserved interrupt number
update phy to phy_version 300,6e46ba7,Jan 25 2021
some bugfix
2021-01-28 22:28:04 +08:00
Jiang Jiang Jian
9eae54f3be
Merge branch 'bugfix/fix_a2dp_sink_crash_due_to_ble5.0_code' into 'master'
...
fix a2dp sink crash due to ble 5.0 code
Closes BT-1358, BT-1354, and BT-1356
See merge request espressif/esp-idf!12170
2021-01-28 19:41:54 +08:00
wangmengyang
ee480b7776
Refactor Bluetooth init/deinit mechanism
...
free osi_funcs struct memory duiring failure of controller_init when necessary
components/bt: use s_lp_stat.phy_enabled to control the on/off of phy module
clean up style for controller_disable
clean up some empty functions and unnecessary comments
Added async wakeup src "BTDM_ASYNC_WAKEUP_SRC_TMR"
remove use of assert in controller_init, set error code upon some exceptions
move stop esp_timer early to phase0, add state variable wakeup_timer_started
2021-01-28 19:27:17 +08:00
wangmengyang
06ea8a3028
remove use of macro "CONFIG_SPIRAM_USE_MALLOC"
2021-01-28 19:25:03 +08:00
wangmengyang
086b36d737
Refactor Bluetooth sleep mechanism
...
Refactor bluetooth hardware PowerUp/PowerDown functions
component/bt: fix use of a deprecated MACRO "CONFIG_ESP32_WIFI_SW_COEXIST_ENABLE"
component/bt: fix sleep wakeup in controller disable procedure
remove use of s_pm_lock_sem
1. Modified the waking up approach from async to sync: post a message to controller task upon vhci downstream packets or controller disable, and in response, controller task goes through the wake-up procedure
2. Added Controller status check for the esp_vhci APIs
3. Adjust the procedure during controller_init, check the validity of arguments first
Some minor modifications for bluetooth sleep control and configuration
1. use variable flag s_btdm_allow_light_sleep to control the use of s_light_sleep_pm_lock
2. use variable btdm_lpclk_sel to choose bluetooth sleep clock, support only for external 32kHz crystal temporarily
component/bt: improve async_wakeup function
1. check power state first and then decide if wakeup needs to be performed
2. change the meaning of the return value, if wakeup request is posted to controller task, then return true, otherwise return false
put sleep control logics in controller init/deinit/enable/disable together
Use s_lp_cntl struct: replace bool-typed variable sleep_backup_en with s_lp_cntl.mac_bb_pd
Use s_lp_cntl struct: replace bool-typed variable s_btdm_allow_light_sleep with s_lp_cntl.no_light_sleep
Use s_lp_cntl struct: replace global variable btdm_lpclk_sel with s_lp_cntl.lpclk_sel
create semaphore s_wakeup_req_sem only when low power mode is required
Use s_lp_cntl struct: use s_lp_cntl.wakeup_timer_required to control the wakeup timer
use s_lp_stat to replace original state variable sleep_backup_done and s_pm_lock_acquired
one minor change for mac_bb_pd settings init: return error status if memeory allocation failed
2021-01-28 19:23:09 +08:00
Jiang Jiang Jian
4ab76197e9
Merge branch 'bugfix/bta_hf_client_sco_co_out_data' into 'master'
...
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
Closes AUD-2714
See merge request espressif/esp-idf!12179
2021-01-28 18:02:25 +08:00
wangmengyang
9742aa6f05
component/bt: handle sleep wakeup event in the context of controller task instead of timer task
2021-01-28 16:04:21 +08:00
Jiang Jiang Jian
24f0bbded9
Merge branch 'bugfix/esp32s3beta2_ble_coexist_status_set' into 'master'
...
bugfix/esp32s3beta2_ble_coexist_status_set
See merge request espressif/esp-idf!12137
2021-01-27 21:37:51 +08:00
liaowenhao
e502893f18
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
2021-01-27 19:46:13 +08:00
zwj
00fdbfcddc
fix ble connection maximum latency is 499
2021-01-27 16:13:17 +08:00
zwj
b937485ad1
add ble examples default sdkconfig for esp32s3
2021-01-27 15:57:20 +08:00
zwj
bdafdbbf3d
disable bluedroid congest error log print
2021-01-27 14:45:03 +08:00
zhiweijian
90d5413623
fix read multi char failed(GATT_27001)
2021-01-27 14:45:03 +08:00
zwj
081e474baf
fix a2dp sink crash due to ble 5.0 code
2021-01-27 14:45:03 +08:00
wangmengyang
51be1af028
add coexist hook functions and fix bugs for coexistence
2021-01-27 06:37:04 +00:00
weitianhua
c347b0a937
Update bt_discovery demo and README
...
1. Use bt_app_gap_init function
2. Add Security Simple Pair doc
3. Update README
Update SPP demo
1. Add input module for bt_spp_initiator demo to show the security simple pair features
2. Update README of bt_spp_acceptor and bt_spp_initiator demo.
Format comment in esp_a2dp_api.h
Format comment in esp_avrc_api.h
Format comment in esp_spp_api.h
Fix bt_discovery build err
Update HFP API guide error
Remove BTA_AV_DEBUG
Remove Trailing Whitespace & End of Files
2021-01-27 14:17:12 +08:00
weitianhua
1404879bf4
Fix A2DP Underrun Issue
2021-01-25 17:44:11 +08:00
weitianhua
bfad85a372
Add init & deinit event for a2dp
2021-01-25 16:30:09 +08:00
Jiang Jiang Jian
f7c9f1afd7
Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle' into 'master'
...
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd
Closes BT-711
See merge request espressif/esp-idf!11807
2021-01-20 23:39:57 +08:00
Jiang Jiang Jian
ffa29f8098
Merge branch 'feature/hfp_console' into 'master'
...
Feature/modify hfp console style by using esp console
Closes BT-1052
See merge request espressif/esp-idf!10973
2021-01-20 23:39:45 +08:00
Island
b7c404d3ff
Merge branch 'bugfix/ble_mesh_proxy_client_net_resend' into 'master'
...
ble_mesh: stack: Fix proxy client may fail to resend msg
See merge request espressif/esp-idf!9882
2021-01-20 19:21:16 +08:00
Island
1f91e321f1
Merge branch 'bugfix/ble_mesh_node_set_name_status_check' into 'master'
...
ble_mesh: stack: Remove node set device name return status check
See merge request espressif/esp-idf!12071
2021-01-20 19:20:58 +08:00
Jiang Jiang Jian
d017c21131
Merge branch 'nimble/support_wl_DLE_esp32c3' into 'master'
...
NimBLE: Support whtelist remove, packet length set APIs
Closes BT-1271 and BT-1242
See merge request espressif/esp-idf!12069
2021-01-20 17:17:34 +08:00
lly
3ce6887aaf
ble_mesh: stack: Remove node set device name return status check
2021-01-20 14:48:24 +08:00
Prasad Alatkar
f401e9716f
NimBLE: Support APIs for whitelist remove and set packet length in controller
2021-01-20 11:58:33 +05:30
lly
690642be0e
ble_mesh: stack: Use different random for each provisioning
2021-01-20 14:09:44 +08:00
lly
16f5438810
ble_mesh: stack: Fix proxy client may fail to resend msg
2021-01-20 06:04:31 +00:00
Jiang Jiang Jian
53e1a7f661
Merge branch 'nimble_esp32c3_support' into 'master'
...
ESP32C3 NimBLE support
See merge request espressif/esp-idf!12046
2021-01-20 13:57:38 +08:00
Prasad Alatkar
f959028486
NimBLE: Fix host flow control in NimBLE porting layer.
...
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-01-19 17:03:00 +05:30
Chinmay Chhajed
62225cc47a
NimBLE: BLE 5.0 related configuration changes
...
Added some changes like checking idf_target = BT_SOC_SUPPORT_5_0
and menuconfig option to enable/disable host based privacy.
2021-01-19 17:02:56 +05:30
lly
0edb86ddb0
ble_mesh: stack: Fix compile warning when log is disabled
2021-01-19 02:09:58 +00:00
lly
80bee1da1f
ble_mesh: stack: Add prefix BLE_MESH_ for log related macros
2021-01-19 02:09:58 +00:00
Jiang Jiang Jian
f5e7504000
Merge branch 'nimble/update_nimble-1.3.0-idf' into 'master'
...
NimBLE: Update NimBLE to latest 1.3.0 release
See merge request espressif/esp-idf!9917
2021-01-18 20:29:10 +08:00
Island
c65a24063d
Merge branch 'update/ble_mesh_set_hsl_states' into 'master'
...
ble_mesh: stack: Enable updating lighting hsl state
See merge request espressif/esp-idf!12025
2021-01-18 13:20:59 +08:00
lly
187fb9d959
ble_mesh: stack: Fix compile warning with BIT macro
2021-01-18 08:59:14 +08:00
lly
3aabf571a8
ble_mesh: stack: Update mesh max conn macro when using bluedroid
2021-01-18 00:54:11 +00:00
Prasad Alatkar
7252c99a14
BLE Mesh: Fix compilation for NimBLE-1.3.0 upgrade by typecasting adv data to void
2021-01-15 16:57:29 +00:00
Prasad Alatkar
8224aa69a2
NimBLE: Update NimBLE to latest 1.3.0 release
2021-01-15 16:57:29 +00:00
zwj
ea42d8e043
fix bluedroid deinit crash
2021-01-15 21:08:14 +08:00
lly
8aae9860ce
ble_mesh: stack: Enable updating lighting hsl state
2021-01-15 20:27:43 +08:00
zwj
d624675087
fix connection param update timeout
2021-01-15 18:05:39 +08:00
zwj
ad09955b1f
fix crash when creating aux open failed, fix GAP_22026 failed
2021-01-15 18:05:18 +08:00
zwj
273d2fd5ec
fix multi-connection crash (smp-08003)
2021-01-15 18:05:04 +08:00
zhiweijian
e81104f377
fix add white list failed
2021-01-15 18:04:45 +08:00
zwj
61b1a4b7b8
fix bluedroid repair faild if the two most significant bits of public address is '01'
2021-01-15 18:04:27 +08:00
zhiweijian@espressif.com
d4619584d7
fix ble connect crash
2021-01-15 18:04:16 +08:00
zwj
1d1754e4b4
- fix congest return value
...
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-01-15 18:03:56 +08:00
zwj
0880c7bcf9
fix ble read multi char err when the number of handles is more than 10
2021-01-15 18:03:39 +08:00
zwj
4a719daa78
fix scan rsp length err
2021-01-15 18:03:27 +08:00
zwj
796a959fa5
fix vendor hci memory leak
2021-01-15 18:03:15 +08:00
zwj
7c1c669799
component/bt: add BLE v5.0 feature for bluedroid host
2021-01-15 17:55:12 +08:00
Island
1e73d90c29
Merge branch 'bugfix/bluedroid_avoid_same_bdaddr_conn' into 'master'
...
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
See merge request espressif/esp-idf!11806
2021-01-14 14:47:21 +08:00
liaowenhao
6c0e3fe23c
bugfix:unhandle event when tg receive set_player_app_value cmd
2021-01-08 20:58:35 +08:00
liaowenhao
08dc78412e
fix double malloc for SCO link when bta_ag_sco_co_open is also called in bta_ag_rfc_open
2021-01-07 11:37:24 +00:00
liaowenhao
60e2eb8dfc
bugfix/fixed the warning info always being printed when entering the cona command in msbc mode
2021-01-07 11:37:24 +00:00
lly
d0901c81f8
ble_mesh: stack: Fix using wrong | for OR between macros
2021-01-07 19:17:45 +08:00
lly
847e408a82
ble_mesh: stack: Fix Node ID adv with wrong timeout
2021-01-06 06:02:18 +00:00
Jiang Jiang Jian
eb9c2d584f
Merge branch 'bugfix/fix_tx_issue_after_esp_restart' into 'master'
...
components/bt: Shutdown Bluetooth before esp_restart.
See merge request espressif/esp-idf!11698
2021-01-06 12:32:03 +08:00
Jiang Jiang Jian
b790a1866f
Merge branch 'bugfix/btdm_blufi_send_custom_data_will_congested_after_connection_is_broken' into 'master'
...
component/bt: fix Blufi sends customer data will congested when connection is broken
See merge request espressif/esp-idf!11845
2021-01-06 12:29:20 +08:00
Chinmay Chhajed
e016b6b79b
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
2021-01-05 14:54:15 +05:30
Jiang Jiang Jian
e784469966
Merge branch 'bugfix/spp_data_send_delay' into 'master'
...
Add API to config QoS
See merge request espressif/esp-idf!9493
2021-01-05 10:32:51 +08:00
Bao Hong De
64d30fa6c4
Add API to config QoS
2021-01-05 10:32:47 +08:00
XieWenxiang
ba89eeabfa
component/bt: fix Blufi sends customer data will congested when connection is broken
2020-12-31 14:45:23 +08:00
Angus Gratton
db4fb49432
esp_common: Fix issue with SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY not visible on c3
...
Create a common symbol name to use from linker.lf fragments
2020-12-31 15:20:05 +11:00
Chinmay Chhajed
d73ebb570b
Bluedroid: Fixes for some vulnerabilities.
...
This commit fixes 'Impersonation in Passkey entry protocol'
(CVE-2020-26558) and suggests fixes for other vulnerabilites like
'Impersonation in the Pin Pairing Protocol' (CVE-2020-26555) and
'Authentication of the LE Legacy Pairing Protocol'
CVE-2020-26558 can be easily implemented if the peer device can
impersonate our public key. This commit adds a check by comparing our
and received public key and returns failed pairing if keys are same.
This commit also adds comments suggesting to use secure connection when
supported by all devices.
2020-12-24 10:52:12 +00:00
Jiang Jiang Jian
52e66cb143
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs' into 'master'
...
component_bt/fix spp vfs demo crash when use dynamic memory
See merge request espressif/esp-idf!11502
2020-12-23 12:36:44 +08:00
baohongde
3b0fc48ab4
components/bt: Shutdown Bluetooth before esp_restart.
2020-12-21 20:08:10 +08:00
lly
ac93a38990
ble_mesh: stack: Support reporting normal ble adv packets
2020-12-21 09:08:25 +00:00
lly
a6ebe48e6e
ble_mesh: stack: Add a btc file for ble coex functions
...
Previously if starting/stopping BLE advertising when BLE Mesh
is enabled, the corresponding events will be notified through
the callback registered by esp_ble_mesh_register_prov_callback().
With this commit, the func esp_ble_mesh_register_ble_callback()
needs to be invoked for resgitering the callback used for BLE
coexistence related functionalities (i.e. ADV/SCAN).
2020-12-21 09:08:25 +00:00
lly
1bb3f693d5
ble_mesh: stack: Move ble scan funcitons to a single file
2020-12-21 09:08:25 +00:00
lly
9be0120d94
ble_mesh: stack: Optimize handling received mesh adv packets
2020-12-21 09:08:25 +00:00
gengyuchao
247484c454
bugfix: clear the timer after remote reject when respond the parameters update
2020-12-17 22:19:44 +08:00
wangcheng
386a8e37f1
components/bt:fix exl200, add btdm_disable_adv_delay, fix RPA addr update error.
2020-12-17 10:57:54 +08:00
wangcheng
cc7dbc6177
components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion
2020-12-17 10:54:56 +08:00
Wei Tian Hua
6b7c878581
Free ACL RX Buf in EM when disconnection
2020-12-16 18:02:39 +08:00
liqigan
478cef9b75
fix spp vfs demo crash when use dynamic memory
2020-12-09 19:46:43 +08:00
lly
fb531815b0
ble_mesh: stack: Move bt_mesh_rand to mesh_common.c
2020-12-08 15:13:04 +08:00
lly
19c3f38b36
ble_mesh: stack: Remove useless BT_DBG_ENABLED in a few files
2020-12-08 15:13:04 +08:00
lly
b77563abb0
ble_mesh: Replace zephyr integer types with C99 types [Zephyr]
2020-12-08 15:13:04 +08:00
lly
162e11cff3
ble_mesh: stack: Update ARRAY_SIZE definition
2020-12-08 15:13:04 +08:00
Island
4f082154e0
Merge branch 'feat/ble_mesh_multiple_nvs_namespace' into 'master'
...
ble_mesh: stack: Provisioner supports multiple nvs namespaces
Closes BLEMESH-260
See merge request espressif/esp-idf!11355
2020-12-07 14:43:04 +08:00
lly
a90e3cdf95
ble_mesh: stack: Provisioner supports multiple nvs namespaces
...
Now Provisioner can use different NVS namespaces to store
different instances of mesh information, for example, for
different user accounts.
2020-12-04 20:31:25 +08:00
Sachin Parekh
be5563207d
esp32: Provision to redirect .bss to external ram through linker fragments
...
Include external ram section in the linker template to process it
through linker script generation mechanism. This enables redirection of .bss section to external memory using linker fragments
libnet80211, libpp, libbt, liblwip: Redirect .bss through fragments
2020-12-04 06:32:38 +00:00
xiewenxiang
945606b658
component/bt: support BLE Read Attribute value by UUID
2020-12-02 20:04:36 +08:00
xiewenxiang
7e5e0ba7de
component/bt: refactor ble random address setting
2020-12-02 09:08:31 +08:00
XieWenxiang
e840191a0c
component/bt: support BLE Application Layer Encryption key size check
2020-12-02 09:08:03 +08:00
XieWenxiang
366b036ba5
component/bt: support BLE Authorization
2020-12-02 09:07:24 +08:00
xiewenxiang
3d8eb26fe1
component/bt: fix incorrect encryption flag setting
2020-12-02 09:06:44 +08:00
Artem Godlevskyi
3caa9699ae
Added missing MYNEWT_VAL_BLE_L2CAP_COC_MPS definition
...
Signed-off-by: Prasad Alatkar <prasad.alatkar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5825
2020-11-27 11:50:03 +00:00
Prasad Alatkar
922a994896
NimBLE: Fix misc coverity issues in NimBLE host
...
- NimBLE NVS : Additional check to account for NVS operation failure
- NimBLE host: Fix minor bug in ble_eddystone_set_adv_data_gen
- NimBLE host: remove recursive call, upstream PR: https://github.com/apache/mynewt-nimble/pull/857
2020-11-27 11:50:03 +00:00
Jiang Jiang Jian
079247b42a
Merge branch 'bugfix/blufi_config_potential_double_free' into 'master'
...
Bugfix/blufi config potential double free
Closes BCI-249, BCI-241, BCI-244, and BT-1174
See merge request espressif/esp-idf!9980
2020-11-27 13:44:37 +08:00