weitianhua
e51df179ad
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 11:37:46 +08:00
Rahul Tank
2be66a6151
Nimble: Configurable option to modify max gatt procedures allowed for GATT
...
client
2022-07-27 08:59:37 +00:00
GengYuchao
964304b751
Change the selection based on target to function selection
2022-07-20 13:06:56 +08:00
GengYuchao
298583b116
Fix nimble port api adapt remove esp_nimble_hci_and_controller_init
2022-07-20 11:44:00 +08:00
GengYuchao
5430ad0519
Remove esp_nimble_hci_and_controller_init function
2022-07-20 11:44:00 +08:00
Jiang Jiang Jian
7497a5287c
Merge branch 'bugfix/fix_bluedroid_host_memory_overflow' into 'master'
...
Fixed bluedroid host memory overflow
Closes BT-2397
See merge request espressif/esp-idf!18897
2022-07-15 11:52:33 +08:00
zhiweijian@espressif.com
4bd267ac9a
Fixed bluedroid host memory overflow
2022-07-14 19:35:22 +08:00
Isha Pardikar
183100fc28
Nimble: Fixed compilation error for esp32c2 and esp32h2 when os_mbuf_free is called.
2022-07-14 09:41:05 +05:30
Jiang Jiang Jian
258585f50a
Merge branch 'bugfix/correct_blecmd_for_rf_path' into 'master'
...
Bluedroid: Fixed compilation error due to incorrect macro name
See merge request espressif/esp-idf!18983
2022-07-12 19:35:40 +08:00
Jiang Jiang Jian
4c1f114eab
Merge branch 'bugfix/ble_50_sync_periodic_adv_lost_data' into 'master'
...
components/bt: Fix ble sync periodic adv report will lost data
See merge request espressif/esp-idf!18957
2022-07-12 16:18:01 +08:00
Rahul Tank
ac54468d1b
Bluedroid: Fixed compilation error due to incorrect macro name
2022-07-11 16:40:51 +05:30
xiewenxiang
947d082b44
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:51:22 +08:00
Wang Meng Yang
13d141de27
Merge branch 'bugfix/fix_osi_men_dbg_xxx_not_defined_when_enable_mem_dbg' into 'master'
...
bugfix/fix the issue of functions not defined when enable memory debug
Closes IDFGH-9248
See merge request espressif/esp-idf!18802
2022-07-11 15:36:46 +08:00
Wei Tian Hua
8699a10929
Merge branch 'bugfix/redesign_hf_ag_init_deinit_api_param' into 'master'
...
component_bt: Change HF AG API
See merge request espressif/esp-idf!18592
2022-07-08 16:57:20 +08:00
jincheng
3de3a8b354
fix the issue of functions not defined when enable memory debug
...
Closes https://github.com/espressif/esp-idf/issues/9248
2022-07-08 10:57:29 +08:00
Rahul Tank
d3e7d9b090
NimBLE: Removed extra event init done during periodic_sync_alloc
2022-07-06 09:50:17 +05:30
chenjianhua
3a1a5e284a
Bluedroid: fix channel map of ext adv params check
2022-07-05 16:02:37 +08:00
GengYuchao
3be5ab7268
Update nimble port init changes
2022-07-05 02:40:49 +00:00
GengYuchao
9e1466a34d
move init func to nimble
2022-07-05 02:40:49 +00:00
morris
7863c1bc45
Merge branch 'bugfix/fix_rtc_freq_err_for_h2_beta1' into 'master'
...
Bugfix/fix rtc freq err for h2 beta1
See merge request espressif/esp-idf!18682
2022-07-04 16:46:17 +08:00
Wang Meng Yang
cb74a64768
Merge branch 'feature/support_for_wr_sugg_data_len_cmd' into 'master'
...
feature/added read-write sugg default datalen cmds
See merge request espressif/esp-idf!17863
2022-07-04 15:17:44 +08:00
Jiang Jiang Jian
c154d09c52
Merge branch 'bugfix/resolve_redefinition_in_spp_and_hid' into 'master'
...
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
Closes IDFGH-7647
See merge request espressif/esp-idf!18617
2022-07-04 14:12:35 +08:00
Onkar
731a8d357f
feature/added read-write sugg default datalen cmds
2022-07-03 13:50:12 +05:30
GengYuchao
b474c83840
Add support for esp32h2 beta2
2022-06-30 17:02:00 +08:00
GengYuchao
e1d07c0cf2
Support H2 periodic advertiser list option on h2
2022-06-30 17:02:00 +08:00
liqigan
3e3a0cdfdb
fix sink wrong sniff params which caused by HID porting
2022-06-29 10:11:56 +08:00
weitianhua
b4aa3269e7
Change HF AG APIs' NamingMethod
...
1. Remove parameter of esp-bt_hf_init & esp_bt_hf_deinit API
2. Change API names
2022-06-22 15:34:05 +08:00
Darian
e9385aa5c0
Merge branch 'bugfix/bluedroid_typos' into 'master'
...
Bluedroid: Fix breaking and non-breaking typos
Closes IDFGH-5103
See merge request espressif/esp-idf!18596
2022-06-22 14:31:50 +08:00
jincheng
b5d1464180
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
...
Closes https://github.com/espressif/esp-idf/issues/9199
2022-06-22 11:33:04 +08:00
Onkar
f2384a4b83
Bugfix: bond not saved properly after re-pairing
2022-06-21 19:36:35 +08:00
Darian Leung
a8805e5b01
bluedroid: Fix non breaking typos
2022-06-21 19:07:25 +08:00
Darian Leung
c2e098c10e
bluedroid: Fix breaking change typos
...
This commit fixes typos that are breaking changes (i.e., macros, types, and functions)
in the bluedroid API. Migration notes for v5.0 have also been added.
Closes https://github.com/espressif/esp-idf/issues/6887
2022-06-21 19:07:25 +08:00
Jiang Jiang Jian
3cc134672b
Merge branch 'feature/optimize_bluetooth_architecture_0616' into 'master'
...
Feature/optimize bluetooth architecture
See merge request espressif/esp-idf!18553
2022-06-21 01:35:12 +08:00
GengYuchao
d0a1fb1802
Fix nimble repo for timer and co_count
2022-06-20 21:18:54 +08:00
GengYuchao
0184d892ef
Fix for prototype
2022-06-20 21:18:20 +08:00
xiongweichao
90510fb597
Fix crash when sending data by spp
2022-06-20 17:12:07 +08:00
GengYuchao
42d70086ae
Sync nimble fix for bt component
2022-06-20 17:00:12 +08:00
GengYuchao
7916f45d58
Update the host configuration options file. Update the osi malloc function.
2022-06-20 17:00:12 +08:00
GengYuchao
633e9282b7
Update the CMake compilation architecture and update the controller configuration options
2022-06-20 17:00:12 +08:00
Jiang Jiang Jian
20e5a989a2
Merge branch 'feature/esp32c2_support_ble_sleep' into 'master'
...
Support ESP32C2 BLE modem sleep and lightsleep
See merge request espressif/esp-idf!18432
2022-06-15 15:39:55 +08:00
Jiang Jiang Jian
60327aeea4
Merge branch 'bugfix/avdtp_genreal_reject_format_error' into 'master'
...
component_bt: Fix AVDTP general reject format error
See merge request espressif/esp-idf!17636
2022-06-15 11:07:55 +08:00
Jiang Jiang Jian
49c53dbe03
Merge branch 'feature/update_hfp_ag_version' into 'master'
...
component_bt: Update hfp_ag version to 1.7.2
Closes BT-2082
See merge request espressif/esp-idf!18329
2022-06-15 11:05:36 +08:00
zwj
a9509ec34c
disable BT_BLE_RPA_SUPPORTED by default and enabled by default for other chips
2022-06-14 19:57:07 +08:00
zwj
fd90341138
support ble modem sleep and light sleep
2022-06-14 19:52:50 +08:00
xiongweichao
d52cb7d6e4
update hfp_ag version to 1.7.2
2022-06-07 17:17:03 +08:00
Rahul Tank
27b34d60c1
Nimble: Added check to free keypair if already allocated to avoid memory
...
leak. Added an API that allows to free keypair
2022-06-07 13:38:15 +05:30
xiongweichao
a2ea4f5bc9
Fix AVDTP general reject format error.
2022-06-07 02:45:46 +00:00
Geng Yuchao
cef8c506fd
Synchronously modify the nibmle repo
2022-06-04 12:11:31 +08:00
Geng Yuchao
3ee9ce9d06
Sync nimble repo
2022-06-04 01:00:04 +08:00
Geng Yuchao
a692abd423
Optimize the Cmake file structure, support esp32c2.
...
Follow Kconfig to update the nimble config macro name.
2022-06-03 22:41:33 +08:00
Geng Yuchao
02636688eb
Refactor Kconfig options structure
2022-06-03 22:41:20 +08:00
satish.solanke
3a42007680
Bluedroid porting changes for esp32h2
...
created common Kconfig for common flag of nimbble and Bluedroid
fix compile error
created common cfg file for controller
fix the compilation error on tip of master
added common controller flags and fixed compilation error
sdkconfig rename for target specific
2022-05-30 08:42:45 +00:00
Jiang Jiang Jian
4ed2e6130a
Merge branch 'feature/add_l2cap_ertm_api' into 'master'
...
Component_bt:Add l2cap and sdp api
Closes IDF-4487
See merge request espressif/esp-idf!18034
2022-05-29 17:34:38 +08:00
Jiang Jiang Jian
ffbc25056c
Merge branch 'feature/add_avdtp_delay_reporting' into 'master'
...
component_bt: add avdtp delay reporting
Closes BT-2308
See merge request espressif/esp-idf!17475
2022-05-29 17:03:36 +08:00
Jiang Jiang Jian
6884d98c23
Merge branch 'bugfix/add_bda_to_read_rmt_name_param' into 'master'
...
Bugfix/add bda to read rmt name param
Closes IDFGH-7459
See merge request espressif/esp-idf!18279
2022-05-29 14:13:39 +08:00
xiongweichao
b777a53fe8
support add and search raw sdp record
2022-05-28 23:34:21 +00:00
xiongweichao
4faf4e760a
sdp support create and search PBAPC record
2022-05-28 23:34:21 +00:00
xiongweichao
a317cb1b0a
Split jv_rfcomm and jv_l2cap
2022-05-28 23:34:21 +00:00
xiongweichao
740dc8795d
rfcomm supports the use of ERTM
2022-05-28 23:34:21 +00:00
xiongweichao
1d9fd4707a
add sdp api
2022-05-28 23:34:21 +00:00
xiongweichao
4719db7047
add l2cap api
2022-05-28 23:34:21 +00:00
xiongweichao
e2e74e2b8b
Modify the format of esp_a2dp_api.h comments
2022-05-28 23:31:45 +00:00
xiongweichao
b0551ef456
add source handle the delay report
2022-05-28 23:31:45 +00:00
xiongweichao
9126e4f07b
add sink send delay reporting
2022-05-28 23:31:45 +00:00
keymoon
3027aa84be
assign value to uninitialized bt_addr
field
2022-05-27 01:07:06 +09:00
keymoon
2c4b135be6
add address field to read_rmt_name_param
2022-05-26 23:24:56 +09:00
Rahul Tank
b45723b92e
Merge branch 'bugfix/fix_esp_timer_crash_on_esp32h2' into 'master'
...
NimBLE: Enabled ESP Timer support for esp32h2
See merge request espressif/esp-idf!18072
2022-05-25 00:22:30 +08:00
Marius Vikhammer
030e52f5d4
Merge branch 'feature/improve_doc_link_check' into 'master'
...
docs: fix broken links and re-enable linkchecker
Closes IDF-2640
See merge request espressif/esp-idf!17919
2022-05-19 15:52:17 +08:00
Rahul Tank
95db4bbf05
NimBLE: Enabled ESP Timer support for esp32h2
2022-05-17 12:49:40 +05:30
Jiang Jiang Jian
8377a3fff1
Merge branch 'bugfix/fix_ble_ext_adv_parameter_detection' into 'master'
...
component/bt: check the ble ext adv parameters
See merge request espressif/esp-idf!15977
2022-05-16 16:13:56 +08:00
Anton Maklakov
b69efa20ad
bluedroid: fix -Wchar-subscripts warning
...
'unsigner char' cast recommended, https://stackoverflow.com/a/60696378
2022-05-13 06:55:22 +00:00
Anton Maklakov
e44d7fbaed
bluedroid: fix argument type according its usage
2022-05-13 06:55:22 +00:00
Anton Maklakov
9a5f0f6c53
bluedroid: fix argument type to correct narrow one
2022-05-13 06:55:22 +00:00
Anton Maklakov
29b2beffc0
bluedroid: fix type for passing argument in function
2022-05-13 06:55:22 +00:00
Anton Maklakov
87bf3260dd
bluedroid: fix argument type in functions
2022-05-13 06:55:22 +00:00
Marius Vikhammer
34910bee07
Merge branch 'bugfix/fix_doxygen_warnings' into 'master'
...
docs: fix doxygen warnings
See merge request espressif/esp-idf!18071
2022-05-12 16:54:52 +08:00
Marius Vikhammer
c8617fe965
docs: fix all doxygen warnings
...
Doxygen warnings would previously not result in a failed pipeline.
Fixed this as well as all current warnings.
2022-05-12 14:50:03 +08:00
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
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
xiongweichao
5a16fa95e9
Fix CI failure when disable bluetooth debug log
2022-04-25 18:35:22 +08:00
Rahul Tank
e254d1f855
NimBLE: Correct the log level of timer reset value print
2022-04-22 16:21:28 +05:30
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
liqigan
81829c2670
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
2022-04-11 17:14:02 +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
Rahul Tank
c46e3ffd0c
Wifi_prov : Fixed crash issue during provisioning using NimBLE
2022-03-25 15:21:16 +05:30
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
xiongweichao
7ee85858b4
Update HFP_HF version to 1.7.2
2022-03-04 11:52:12 +00:00
Anton Maklakov
924178d407
nimble: update because of warnings
2022-03-04 10:00:54 +07:00
Aditya Patwardhan
740f1afe20
Update nimble submodule
2022-03-03 01:37:10 +05:30
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
8ecc8cf40a
component/bt: check the ble ext adv parameters
2022-02-07 16:10:50 +08: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
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
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
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
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
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
baohongde
c138e47f45
components/bt: Update licenses
2021-12-08 10:59:06 +08:00
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
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
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
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
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
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
Yang Zhao
66fa67cde6
Fix the issue of device name len limited
2021-11-11 11:35:36 +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
xiewenxiang
f0ef891901
component/bt: check the ble ext conn parameter
2021-11-02 14:33:24 +08: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
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
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
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
ajit1433
ae8fac38fa
code formatting updated
2021-09-18 23:14:09 +05:30
baohongde
b310c062cd
components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller
2021-09-16 20:26:35 +08:00
baohongde
6fc4bf7145
components/bt: Fix link error of Kconfig
2021-09-13 15:45:27 +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
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
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
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
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
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
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
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
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
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
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
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
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
xiongweichao
96aff16dd3
fix spp acceptor deadlock
...
Closes: https://github.com/espressif/esp-idf/issues/6948
2021-06-22 15:05:27 +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
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
Rahul Tank
9013edfd93
Bluedroid: Fixed issue of option not being set due to incorrect macro
...
name.
2021-06-10 22:06:26 +08:00
xiewenxiang
96811de932
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 17:28:12 +08: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
Mahavir Jain
f339506324
bt: use generic SPIRAM config option for memory alloc policy
2021-05-17 10:43:42 +00: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
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
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
wangmengyang
d2324c162a
components/bt: Minor fix for the range of GATTC number of reconnections.
2021-04-28 12:05:49 +00: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
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
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
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
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
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
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
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
zwj
b3a2fedfde
fix ble connection event report remote address error
2021-03-12 11:49:52 +08: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
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
zwj
f344a65af5
fix crash caused by spp pairing cancel
2021-02-18 21:10:25 +08:00
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
zwj
52909b69b7
fix esp32c3 can't enable adv flow control func
2021-02-08 16:33:20 +08: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
zwj
d76d708bc3
add connection parameter check
2021-01-29 15:29:57 +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
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
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
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