weitianhua
4c370cc437
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-05-11 14:30:20 +00:00
Marius Vikhammer
d7053c38cc
docs: fix broken links
2022-05-07 13:09:41 +08:00
Jiang Jiang Jian
34211f898c
Merge branch 'docs/update_esp_hid_device' into 'master'
...
[docs] fix documents for Bluetooth HID Device API reference and example
See merge request espressif/esp-idf!17558
2022-05-05 23:58:07 +08:00
Jiang Jiang Jian
baa5b8ed7d
Merge branch 'bufix/esp32c3_s3_build_err' into 'master'
...
component_bt: Fix ESP32C3/S3 build error after enabled light sleep
Closes BT-2086
See merge request espressif/esp-idf!17546
2022-05-01 17:48:18 +08:00
Wang Meng Yang
3198e17f4e
Merge branch 'bugfix/spp_crash_after_call_spp_deinit' into 'master'
...
Component_bt/Fix spp crash after call esp_spp_deinit
Closes BT-2342
See merge request espressif/esp-idf!17842
2022-04-27 13:02:24 +08:00
Xiong Wei Chao
af84842e8b
Component_bt/Fix spp crash after call esp_spp_deinit
2022-04-27 13:02:23 +08:00
Island
5a87a9c65e
Merge branch 'bugfix/oversized_SegN_as_valid' into 'master'
...
ble_mesh: stack: Bugfix for oversized SegN as valid
See merge request espressif/esp-idf!17576
2022-04-26 19:18:43 +08:00
xiongweichao
5a16fa95e9
Fix CI failure when disable bluetooth debug log
2022-04-25 18:35:22 +08:00
Rahul Tank
a82e6e63d9
Merge branch 'bugfix/fix_incorrect_timer_comment' into 'master'
...
NimBLE: Correct the log level of timer reset value print
See merge request espressif/esp-idf!17874
2022-04-25 12:43:48 +08:00
wangjialiang
a094532785
ble_mesh: stack: Bugfix for oversized SegN as valid
2022-04-25 11:47:10 +08:00
Rahul Tank
e254d1f855
NimBLE: Correct the log level of timer reset value print
2022-04-22 16:21:28 +05:30
Marius Vikhammer
d2872095f9
soc: moved kconfig options out of the target component.
...
Moved the following kconfig options out of the target component:
* CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
* ESP*_REV_MIN -> esp_hw_support
* ESP*_TIME_SYSCALL -> newlib
* ESP*_RTC_* -> esp_hw_support
Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
Rahul Tank
8b4e032255
Merge branch 'bugfix/sync_host_nocp_cmd' into 'master'
...
Nimble: Sync sending Host Number of Completed Packets command
See merge request espressif/esp-idf!17719
2022-04-18 21:54:10 +08:00
Rahul Tank
18df58f1df
Nimble: Corrected default value for ATT_PREFERRED_MTU and ACL_BUF_SIZE
2022-04-14 16:13:21 +05:30
morris
cb5507f11c
Merge branch 'feature/clk_tree_defs' into 'master'
...
clk_tree: prework of introducing clock subsystem control
Closes IDF-4892
See merge request espressif/esp-idf!17631
2022-04-13 10:36:56 +08:00
liqigan
81829c2670
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
2022-04-11 17:14:02 +08:00
songruo
60bb5c913d
clk_tree: prework of introducing clk subsystem control
...
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
wangmengyang
3c63d0cc0e
components/bt: fix the documentations for Bluetooth HID device APIs
2022-04-11 02:50:50 +00:00
Rahul Tank
739cd66866
Nimble: Sync sending Host Number of Completed Packets command
2022-04-08 15:53:22 +05:30
liqigan
2ce516e455
fix SPP initiator can not free resource when connection is failed
2022-04-06 18:17:07 +08:00
Bao Hong De
2748b3a4be
Merge branch 'bugfix/not_use_malloc_in_bluedroid' into 'master'
...
component/bt: use osi_malloc instead of malloc in bluedroid
See merge request espressif/esp-idf!17663
2022-04-03 04:24:08 +08:00
Wei Tian Hua
dbe4606eab
Merge branch 'feature/hfp_hf_vendor_batt_level' into 'master'
...
components/bt: support for vendor specific battery level and docker status...
See merge request espressif/esp-idf!17601
2022-04-01 14:43:51 +08:00
baohongde
65b15cd75a
component/bt: use osi_malloc instead of malloc in bluedroid
2022-03-31 22:27:54 +08:00
Rahul Tank
2dd2c78fc6
Merge branch 'bugfix/check_null_callout' into 'master'
...
Wifi_prov_mgr : Fixed crash issue during provisioning using NimBLE
See merge request espressif/esp-idf!17599
2022-03-29 17:43:38 +08:00
baohongde
418b546a7c
components/bt: support for vendor specific battery level and docker status indication over HFP profile
2022-03-29 11:38:09 +08:00
baohongde
8a2abff26d
components/bt: Fix the strlcpy length error in BTA_HfClientSendAT
2022-03-25 21:40:49 +08:00
Wei Tian Hua
5c3d7b5524
Merge branch 'bugfix/bt_add_some_debug_log' into 'master'
...
component_bt: Add some bluetooth debug log
Closes BT-2307
See merge request espressif/esp-idf!17492
2022-03-25 21:25:44 +08:00
Rahul Tank
c46e3ffd0c
Wifi_prov : Fixed crash issue during provisioning using NimBLE
2022-03-25 15:21:16 +05:30
xiongweichao
2be8875fd7
Fix ESP32C3/S3 build error after enable light sleep
2022-03-24 11:43:04 +08:00
Anton Maklakov
68e5d9d585
Remove IRAM_ATTR from any function declarations
...
IRAM_ATTR expands to a unique section attribute. Applying it to both
declaration and definition results in a section conflict.
2022-03-22 09:58:50 +00:00
xiongweichao
7dd9ac9997
Add some bluetooth debug log
2022-03-22 10:35:50 +08:00
Rahul Tank
f376bb5d05
Add support in Nimble for ESP32H2
2022-03-14 11:57:53 +05:30
Wang Meng Yang
8b5ad2ab4f
Merge branch 'bugfix/upd_nimble_warnings' into 'master'
...
nimble: update because of warnings
See merge request espressif/esp-idf!17354
2022-03-11 17:01:07 +08:00
Wang Meng Yang
c412cb15ac
Merge branch 'feature/update_hfp_hf_version' into 'master'
...
component_bt: Update HFP_HF version to 1.7.2
Closes BT-2082
See merge request espressif/esp-idf!16950
2022-03-10 20:17:06 +08:00
Marius Vikhammer
934a3951b8
Merge branch 'feature/s2_s3_support_ext_mem_stack' into 'master'
...
soc: support placing task stacks in external memory for S2 and S3
Closes IDF-2797 and IDF-1805
See merge request espressif/esp-idf!16186
2022-03-09 11:57:31 +08:00
Zim Kalinowski
0440aca4e3
Merge branch 'feature/reevaluate_headers_include_dirs' into 'master'
...
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
See merge request espressif/esp-idf!16763
2022-03-08 01:32:24 +08:00
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
wangjialiang
089637cfa3
ble_mesh: stack: Bugfix the proxy client abnormal disconnection
2022-03-05 11:14:28 +00:00
wangjialiang
c49b5b2409
ble_mesh: stack: Add proxy server connect and disconnect event
2022-03-05 11:14:28 +00:00
xiongweichao
7ee85858b4
Update HFP_HF version to 1.7.2
2022-03-04 11:52:12 +00:00
Marius Vikhammer
36ef485c4e
soc: support placing task stacks in external memory for S2 and S3
2022-03-04 15:25:52 +08:00
Anton Maklakov
924178d407
nimble: update because of warnings
2022-03-04 10:00:54 +07:00
Yang Zhao
000f398ab9
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-03 07:39:22 +00:00
Mahavir Jain
035d7df1a0
Merge branch 'feature/mbedtls-3.1' into 'master'
...
Update to mbedtls-3.1
Closes IDF-3723
See merge request espressif/esp-idf!16656
2022-03-03 11:27:48 +08:00
Wang Meng Yang
cdc00140d0
Merge branch 'bugfix/a2dp_sniff_master' into 'master'
...
Fix crash when host exit sniff mode
Closes BT-1802
See merge request espressif/esp-idf!14434
2022-03-03 11:26:05 +08:00
Aditya Patwardhan
740f1afe20
Update nimble submodule
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
45122533e0
mbedtls-3 update:
...
1) Fix build issue in mbedtls
2) skip the public headers check in IDF
3)Update Kconfig Macros
4)Remove deprecated config options
5) Update the sha API according to new nomenclature
6) Update mbedtls_rsa_init usage
7) Include mbedtls/build_info.h instead of mbedtls/config.h
8) Dont include check_config.h
9) Add additional error message in esp_blufi_api.h
2022-03-03 01:37:10 +05:30
xiongweichao
3fe222d17b
Fix crash when host exit sniff mode
2022-03-02 03:56:52 +00:00
Marius Vikhammer
bb88338118
system: move kconfig options out of target component
...
Moved the following kconfig options out of the target component:
* ESP32_X_BROWNOUT_* -> esp_system
* ESP32_X_DEBUG_OCDAWARE -> esp_system
* APP_NO_BLOBS -> build type (main kconfig)
2022-03-02 01:22:26 +00:00
Rahul Tank
3387d816e2
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-18 11:47:48 +05:30
xiewenxiang
dd9e2f4ac6
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 16:35:00 +08:00
Darian Leung
57fd78f5ba
freertos: Remove legacy data types
...
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
morris
ef00bd59dc
esp_rom: extract int matrix route and cpu ticks getter
2022-02-09 13:52:20 +08:00
xiewenxiang
8ecc8cf40a
component/bt: check the ble ext adv parameters
2022-02-07 16:10:50 +08:00
Anton Maklakov
7cdd151612
Merge branch 'bugfix/nocommon' into 'master'
...
enable and fix warnings on common symbols
Closes IDFGH-3055 and IDF-3013
See merge request espressif/esp-idf!16802
2022-01-28 14:39:51 +00:00
Anton Maklakov
85462d17a5
components/bt: move deinit_semaphore definition to source file
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
67c52657cf
bluedroid: mark dequant_long_* as extern variables
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
20286b37b2
blufi: remove duplicate definition of blufi_env
...
Keeping the single definition in blufi_prf.c
2022-01-27 11:00:09 +07:00
Jakob Hasse
1d4061d3f2
refactor (nvs_flash)!: removed mbedtls as default dependency
...
mbedtls is only required in NVS if NVS encryption is enabled.
Hence the mbedtls dependency is now only added if encryption
is enabled, otherwise it is not added.
BREAKING CHANGE: Removed mbedtls as default dependency
2022-01-26 17:32:23 +08:00
Kevin (Lao Kaiyao)
bf8d4d55d0
Merge branch 'refactor/rename_esp8684_to_esp32c2' into 'master'
...
esp8684: rename esp8684 to esp32c2
Closes IDF-4530
See merge request espressif/esp-idf!16745
2022-01-19 09:08:58 +00:00
laokaiyao
cf049e15ed
esp8684: rename target to esp32c2
2022-01-19 11:08:57 +08:00
wangmengyang
941165e380
components/bt: fix the definition of "le_scan_duplicate_option" to avoid defining common symbols
2022-01-17 10:46:00 +08:00
Wang Meng Yang
df1f9ec26e
Merge branch 'bugfix/a2dp_source_congest' into 'master'
...
component_bt: Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
Closes IDFGH-6485
See merge request espressif/esp-idf!16537
2022-01-10 03:00:05 +00:00
xiongweichao
6d86b07546
fixed config parse crash after flash_erase
...
Closes https://github.com/espressif/esp-idf/issues/6170
2022-01-06 20:17:43 +08:00
xiongweichao
83b9320d2e
btc_a2dp_control_set_datachnl_stat is only used by a2dp sink
2022-01-06 14:10:18 +08:00
xiongweichao
688700f33b
remove btc_a2dp_dispatch_datapath_evt and event
2022-01-06 14:02:03 +08:00
xiongweichao
c5af97759f
Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started
2022-01-06 14:02:03 +08:00
xiongweichao
061ae4c07a
Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
2022-01-06 14:02:03 +08:00
jincheng
6a9afa65a2
fix cs event for rd_rem_ext_feats delayed issue
2022-01-05 14:48:04 +08:00
Wang Meng Yang
7e39aa61fa
Merge branch 'bugfix/fix_null_pointer_deference_issue_master_mr' into 'master'
...
Fix the null pointer deference issue via Reconnection Spamming
See merge request espressif/esp-idf!16502
2022-01-04 04:06:27 +00:00
“YangZhao”
8d48a56249
There is an issue that if the the btm_cb.p_sec_dev_rec_list is full,but at the same
...
time we can't find old device to be replaced,then this can cause crash. So we need
to change the way to malloc the new device or replace the old in the list.
2021-12-30 15:50:07 +08:00
xiewenxiang
50748009e4
components/bt: Fix bluedroid compile issue
2021-12-30 11:54:47 +08:00
Wang Meng Yang
bc1a679052
Merge branch 'doc/update_document_of_demo_bt_discovery' into 'master'
...
Doc/update document of demo bt discovery
Closes BT-2133
See merge request espressif/esp-idf!16265
2021-12-29 06:07:19 +00:00
xiewenxiang
54298708fe
component/bt: Support set HW CCA threshold value
2021-12-28 18:15:18 +08:00
xiewenxiang
04328cf384
component/bt: fix periodic adv parameters detection issue
2021-12-28 11:29:41 +08:00
Li Qi Gan
c3c37b95e7
Merge branch 'bugfix/fix_spp_open_err_bda' into 'master'
...
Component_bt/Fix SPP acceptor open with wrong remote address
Closes BT-2205
See merge request espressif/esp-idf!16503
2021-12-23 12:29:31 +00:00
liqigan
cccd22a080
fix SPP open with wrong remote bd_addr
2021-12-22 17:04:58 +08:00
liqigan
66e88fbdbe
clear old event bits when malloc a slot
2021-12-22 16:44:51 +08:00
wangmengyang
219bffce9f
component/bt: fixed coexistence scannable extended adv performance issue
2021-12-22 10:55:33 +08:00
baohongde
d4aeef6ced
components/bt: Update the document of demo bt discovery
2021-12-21 10:54:54 +08:00
Wang Mengyang
5e95537f9c
component/bt/host/nimble: fixed memory leak due to timer not destroyed during NimBLE host start-stop
2021-12-20 15:49:14 +08:00
Chinmay Chhajed
5ddce053ea
Merge branch 'bugfix/bt_enc_proc_finish' into 'master'
...
bt/bugfix: ACL Rx data is sent to host before enc change event
See merge request espressif/esp-idf!16346
2021-12-15 12:07:59 +00:00
Wang Meng Yang
7e2a9feb27
Merge branch 'bugfix/fix_blufi_encryption_fail' into 'master'
...
components/bt: fix blufi encryption fail
See merge request espressif/esp-idf!16313
2021-12-14 03:17:03 +00:00
xiewenxiang
0030fba89c
components/bt: Fix high duty cycle directed advertising will not be stopped when timeout
2021-12-13 20:10:21 +08:00
xiewenxiang
132875a6eb
components/bt: Support low duty cycle directed advertising
2021-12-13 17:07:23 +08:00
Chinmay Chhajed
556cd73a7e
bt/bugfix: ACL Rx data is sent to host before enc change event
2021-12-09 15:23:50 +08:00
xiewenxiang
9006d20355
components/bt: fix blufi encryption fail
2021-12-09 10:40:01 +08:00
baohongde
c138e47f45
components/bt: Update licenses
2021-12-08 10:59:06 +08:00
Sudeep Mohanty
40c1f3e06e
freertos: update module handles to struct type
...
This commit updates the handles for the timer, task and event_group
modules to struct type. This matches upstream freertos source.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-06 08:37:06 +05:30
Sudeep Mohanty
88aa3e78c3
NimBLE: Invoke xTimerGetExpiryTime in npl porting layer only when freertos timer is used
...
This commit adds an esp timer guard check to call in the function
npl_freertos_callout_remaining_ticks() to enable fetching remaning ticks
when esp timer is enabled.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-03 15:57:19 +05:30
liqigan
aa6f86fbc5
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-01 14:59:14 +08:00
Wang Meng Yang
fe289ec670
Merge branch 'bugfix/fix_can_not_find_mac_addr_error_mr' into 'master'
...
fix can not find mac addr error
Closes BT-2032
See merge request espressif/esp-idf!16143
2021-12-01 02:53:34 +00:00
Yang Zhao
4b7a71673e
Add the feature that switch random address to origin mac addr in the ADV
...
report data.
2021-11-30 14:14:42 +08:00
Cao Sen Miao
eddc196081
esp_clk: refactor target/clk.h to private/esp_clk.h
2021-11-26 14:56:30 +08:00
xiewenxiang
6d35819d16
component/bt: fix assert fail when interrupt hlevel disable
2021-11-24 20:10:00 +08:00
Wang Meng Yang
c788274658
Merge branch 'feature/add_coex_hci_command_master' into 'master'
...
Add hci command to set coexistence status
Closes BT-1886
See merge request espressif/esp-idf!14830
2021-11-23 03:08:50 +00:00
Wang Meng Yang
ee5192960c
Merge branch 'bugfix/fix_static_check_error_mr' into 'master'
...
Fix the high-impact issues from the code analysis report from customer.
Closes BT-2079
See merge request espressif/esp-idf!15976
2021-11-23 03:07:05 +00:00
xiongweichao
c80ac536d7
Add hci command to set coexistence status
2021-11-22 19:57:01 +08:00
“YangZhao”
12ec4866b8
Fix the high-impact issues from the code analysis report from customer.
...
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 17:38:02 +08:00
wangmengyang
8cfffa260b
[nimble]: clear timer handler during de-initialization
2021-11-19 15:08:55 +08:00