luomanruo
f74338afa2
ble:update c2 libble to 6a8d1f3d, h2 c6 libble to 57ed7949
2023-10-12 15:56:56 +08:00
luomanruo
fa4f34e791
change(ble): update controller log print interface
2023-09-12 15:44:01 +08:00
zwl
4abf0c46b5
ble: supported trace function and adv report flow control on esp32c2
2023-08-31 11:58:29 +08:00
chenjianhua
be0ef2d0e0
update esp32 bt-lib (7b24543)
...
- Support BLE RX error packet count record
- Fixed instant setting for LLC procedures with instants
- Fixed adv random delay when adv interval is less than 20ms
2023-08-18 16:49:35 +08:00
chenjianhua
6719002dd1
Update bt lib for ESP32-C3 and ESP32-S3(ff6efe7)
...
- fix(bt/controller): Fixed PHY enable and disable
- feat(bt/controller): Support DAA and LBT mode for BLE CCA
2023-08-03 10:53:03 +08:00
luomanruo
1636061b81
c2 h2 c6 headfile re-organized
...
c2 c6 h2 cfg_t and addr_t documented
comments for controller_enable
2023-07-31 12:39:43 +08:00
Luo Man Ruo
aa6a8b79c9
Merge branch 'feature/controller_log' into 'master'
...
ble: bugfix for esp32c6 and esp32h2
See merge request espressif/esp-idf!24951
2023-07-26 18:07:20 +08:00
luomanruo
2a2251487b
ble update: bugfix for esp32c6 and esp32h2
2023-07-25 14:40:39 +08:00
zhanghaipeng
f4b10bd304
docs(bt): Organize header files for esp32c3 and esp32s3
2023-07-23 11:42:03 +08:00
Jin Chen
d918b5226c
Merge branch 'ble_dev/support_esp32h2_modem_clock_selection' into 'master'
...
ble: support esp32h2 modem clock selection
Closes EBLE50Y23-129
See merge request espressif/esp-idf!24387
2023-07-06 13:58:11 +08:00
Island
a7e5d49d10
Merge branch 'feature/update_ble_duplicte_vs_hci_lib_fix' into 'master'
...
Feature/update ble duplicte vs hci lib fix
See merge request espressif/esp-idf!24521
2023-07-05 21:28:31 +08:00
Geng Yuchao
fbb88ef979
feat(ble): Add duplicate filter feature enable on ble for h2.
2023-07-04 10:40:04 +08:00
Geng Yuchao
2310c68966
feat(ble): Add duplicate filter feature enable on ble for c6.
2023-07-04 10:39:05 +08:00
cjin
3d2342df6c
ble: support esp32h2 modem clock selection
2023-07-03 16:05:42 +08:00
cjin
b37f172cc6
ble: fix cca for esp32c2
2023-06-29 19:59:16 +08:00
cjin
f3457133f6
ble:added esp32c6 light sleep support
2023-06-16 15:37:03 +08:00
cjin
1952a26d5e
ble:add version num support for esp32c6 chip
2023-05-16 19:18:53 +08:00
zhiweijian
f10de13df7
Disable controller 5.0 feature bits if host 5.0 feature is not enabled
2023-04-20 14:55:35 +08:00
Jiang Jiang Jian
12b44b3a0a
Merge branch 'bugfix/update_config_in_esp32h2_chip' into 'master'
...
ble: update config in esp32h2 chip
See merge request espressif/esp-idf!22708
2023-03-20 12:09:52 +08:00
cjin
e317f07798
ble: update config in esp32h2 chip
2023-03-15 21:02:12 +08:00
zwj
a9d9f115c3
- Support ESP32C3 and ESP32S3 new BLE lib
...
- Disable controller 5.0 feature bits if host 5.0 feature is not enabled
- Fixed extend ADV parameters check for ADV_DIRECT_HI
2023-03-13 10:47:18 +00:00
Roshan Bangar
de7a7b41b7
NimBLE : Correct macro usage
2023-03-10 11:05:41 +05:30
Jiang Jiang Jian
fe979e6513
Merge branch 'feature/merge_c3_s3_bt_files_to_one' into 'master'
...
Merge ESP32C3 and ESP32S3 BLE bt.c, esp_bt.h and kconfig files to one
Closes BT-3209
See merge request espressif/esp-idf!22453
2023-03-08 10:53:01 +08:00
zwj
a5e43a7d43
Merge ESP32C3 and ESP32S3 BLE bt.c files to one
2023-03-06 14:53:03 +08:00
Shen Weilong
f39648040e
BLE: Add ble support for esp32h2
2023-03-06 10:43:17 +08:00
Jiang Jiang Jian
07d8862256
Merge branch 'feature/migration_to_nimble_1.5' into 'master'
...
Nimble: migrate to nimble 1.5 branch
See merge request espressif/esp-idf!22034
2023-02-17 12:45:34 +08:00
Roshan Bangar
ba1119a725
Nimble: Migrate to nimble 1.5
2023-02-15 04:55:26 +00:00
zwl
f79d0e6a43
ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2
2023-02-10 14:16:07 +08:00
zwl
38c5f239be
Enabled PCL feature on ESP32C6 BT Controller
2023-01-16 12:28:44 +08:00
Shen Weilong
e41b35b089
1. Update libbt
...
2. Release the controller's .bss and .data memory
3. Modify the kconfig in nimble host
2023-01-04 11:17:07 +08:00
shenweilong
93fc1bd05f
support ble on esp32c6
2023-01-04 11:10:10 +08:00
zwj
9ac7b16124
Update bt lib for ESP32
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-19 15:15:37 +08:00
Zhi Wei Jian
67cfef0acd
Merge branch 'feature/add_config_to_set_duplicate_scan_list_refresh_time' into 'master'
...
Add config to set duplicate scan list refresh period on ESP32-S3 and ESP32-C3
Closes BT-3073 and BT-3023
See merge request espressif/esp-idf!21586
2022-12-15 16:29:44 +08:00
zwj
5e72006fb9
Update bt lib for ESP32-C3 and ESP32-S3
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-14 15:54:01 +08:00
zwl
a83ee7d406
Fixed some occasional ble issues on ESP32H2BETA2
2022-12-13 17:47:28 +08:00
Omar Chebib
cd21058097
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
...
Closes https://github.com/espressif/esp-idf/issues/9938
2022-11-21 16:18:08 +08:00
zwj
b2a17e9d4c
Update bt lib for ESP32C3 and ESP32S3
...
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-16 15:58:32 +08:00
laokaiyao
8677216576
esp32h2: renaming esp32h2 to esp32h4
2022-11-08 17:05:33 +08:00
zwl
efd10a6af4
Modify ESP32C2's default ble tx output power
2022-10-25 16:29:10 +08:00
Evan Neidler
54ee184a95
Update #define BT_CONTROLLER_INIT_CONFIG_DEFAULT().
...
Corrects header names in string from "bt.h" to "esp_bt.h".
2022-10-09 10:52:04 +08:00
cjin
8e348c3f63
update ble controller lib for bugfix on esp32c2
2022-09-21 12:34:41 +00:00
Wang Meng Yang
cf8abdb554
Merge branch 'bugfix/remove_bt_dft_init_semicolon' into 'master'
...
bt: Remove trailing semicolon from bt dft initializer
Closes IDFGH-8058
See merge request espressif/esp-idf!19773
2022-09-01 11:30:21 +08:00
zwl
30e47072f9
add set/get txpwr api and fix issues such as disconnect and abnormal tx behavior for esp32c2
2022-08-29 11:32:18 +08:00
Pedro
792186a3da
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-08-16 11:48:17 -03:00
zwj
788f7265c0
Update BLE lib for ESP32-C3 and ESP32-S3
...
- update ble tx power level mapping
- Fixed ble sch_arb assert
2022-08-11 21:29:26 +08:00
jingli
ee3423834e
kconfig: refactor xtal freq kconfig to common configuration item
2022-08-05 19:12:29 +08:00
zwl
dd05a3754a
update ble controller lib for ble issues fixed on esp32c2(8dbbbf0269)
2022-08-04 15:19:51 +08:00
Shen Weilong
028d071e84
support BLE with 26M xtal for esp32c2
2022-07-29 21:36:33 +08:00
xiewenxiang
451a1dd937
doc(bt): Add description for de-initialize bt controller
2022-07-08 10:58:32 +08:00
GengYuchao
509ac4e748
Update esp32h2 beta2 lib to master
2022-07-05 15:15:41 +08:00
GengYuchao
b474c83840
Add support for esp32h2 beta2
2022-06-30 17:02:00 +08:00
GengYuchao
07a470bccc
Update ble lib for h2 beta1
2022-06-30 17:02:00 +08:00
GengYuchao
29a2c83173
Fix default option value
2022-06-30 17:02:00 +08:00
zwj
004918adbe
fix BLE sleep can not be enabled
2022-06-27 14:21:11 +08:00
GengYuchao
b2f8a3c694
Update bt controller interface file
2022-06-20 17:00:12 +08:00
zwj
fd90341138
support ble modem sleep and light sleep
2022-06-14 19:52:50 +08:00
Wang Meng Yang
e2bc3f865e
Merge branch 'bugfix/uninitialized-element' into 'master'
...
component_bt:initialize all elements of esp_bt_controller_config_t
Closes IDFGH-7506
See merge request espressif/esp-idf!18343
2022-06-07 17:24:39 +08:00
Geng Yuchao
5bba3ebed9
Fix esp32h2 controller support.
2022-06-04 00:59:56 +08:00
Geng Yuchao
5c3f0bfe7c
Add esp32c2 controller support.
2022-06-04 00:59:21 +08:00
xiongweichao
a48cb2c5e7
initialize all elements of esp_bt_controller_config_t
...
Closes https://github.com/espressif/esp-idf/pull/9073
2022-06-01 18:10:25 +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
Rahul Tank
f376bb5d05
Add support in Nimble for ESP32H2
2022-03-14 11:57:53 +05:30
xiewenxiang
54298708fe
component/bt: Support set HW CCA threshold value
2021-12-28 18:15:18 +08:00
Li Shuai
46dedca23c
ci: replace old header with new SPDX header style
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
baohongde
e2fb413329
components/bt: add config option to choose Bluetooth intterupt level.
2021-09-09 11:29:17 +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
Omar Chebib
c4f57af6c9
G0: Memory layouts are now part of heap components
2021-07-15 11:38:23 +10:00
zwj
f5fcfec2cb
Fixed ESP32S3 BLE controller init failed
2021-07-06 18:04:04 +08:00
zwj
97188e8068
support hw recorrect
2021-06-25 15:30:02 +08:00
wangmengyang
59c0825ed8
Added example(ESP32-C3), to use Bluetooth Controller through HCI UART transport
2021-04-30 15:25:10 +00:00
zwj
58cd231895
optimize C3 and s3 multi-connection
2021-04-20 02:41:14 +00:00
zwj
facadc86d8
support 727 esp32s3 BLE
2021-04-15 22:02:58 +08: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
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
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
wangmengyang
528964f12c
fixed incorrect Tx power mappings for ESP32C3 chip
2021-03-17 16:52:26 +08:00
KonstantinKondrashov
b31bf01484
rtc: Clean up for S2,S3,C3
2021-03-01 16:51:15 +08:00
zwj
52909b69b7
fix esp32c3 can't enable adv flow control func
2021-02-08 16:33:20 +08:00
wangmengyang
2dd730d35c
component/bt: [esp32c3] modify Bluetooth coexistence options
2021-02-05 09:16:29 +00: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
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
zwj
7c1c669799
component/bt: add BLE v5.0 feature for bluedroid host
2021-01-15 17:55:12 +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
baohongde
3f97f1d67a
components/bt: Make sleep avaliable in hli(for future use)
2020-10-13 19:45:03 +08:00
weitianhua
8f84930c5c
Redesign Kconfig.in BT components
2020-07-14 11:01:02 +08:00
weitianhua
4167fc3438
Enable pcm config
2020-07-14 10:25:13 +08:00
Chinmay Chhajed
e3350e7861
Bluedroid: Authentication fixes in Legacy and Secure Connection.
...
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:
- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.
- Doing a mutual authentication during Legacy Authentication.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-06-25 15:37:01 +05:30
baohongde
f9802da461
components/bt: Fix A2DP stuck when BLE's interval is too small
...
1. Fix the cumulative time switch from BLE to classic BT
2. Enhance classic BT performance while enable calssic BT and BLE at the same time
2020-01-06 20:22:04 +08:00
Angus Gratton
596ccc6793
bluetooth: Remove bt.h header (deprecated in v3.1-dev)
2019-09-13 09:44:07 +10:00
Jiang Jiang Jian
291e25baa6
Merge branch 'bugfix/btdm_add_readme_for_BLE_demos' into 'master'
...
Component/bt: add readme doc for BLE demos
See merge request idf/esp-idf!4890
2019-06-26 16:04:28 +08:00
Hrishikesh Dhayagude
342f6a7829
Port NimBLE Host Stack on ESP-IDF
2019-06-25 09:03:58 +08:00
zhiweijian
4d8a46b376
component/bt: add readme doc for BLE demos
...
- Closes:https://github.com/espressif/esp-idf/issues/3341
2019-06-17 07:05:41 +00:00
baohongde
48e32113de
component/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller
2019-06-04 16:31:21 +08:00
wangmengyang
ff2c583a0d
component/bt: Add option to configure BLE SCA through menuconfig and use a fixed value of clock cycle to estimate sleep duration for external 32kHz oscillator
2019-05-28 19:56:26 +08:00
Roland Dobai
a1bddb923b
Rename Kconfig options (components/bt)
2019-05-21 09:09:01 +02:00
baohongde
e87d05d81f
components/bt: Add precautions for esp_vhci_host_send_packet
2019-01-31 11:47:58 +08:00
wangmengyang
59f34461d7
component/bt: bugfix of bluetooth modem sleep not being able to work with Dynamic Frequency Scaling
...
1. start an esp_timer on entering sleep to acquire pm_lock before wake up from modem sleep
2. decrease the clock division of XTAL fed to bluetooth low power clock from 32us to 2us period to allow to work under 240MHz Max CPU frequency
3. decrease the minimum sleep duration threshold to allow shorter bluetooth modem sleep period, especially for BLE with short connection interval
4. reconfigure bluetooth baseband(BT-BB) settings after PHY/RF init upon waking up from modem sleep to avoid packet RX/TX performance degradation
2018-12-11 16:49:01 +08:00
zhiweijian
9103a04793
component/bt: add adv packet duplicate in scan duplicate
2018-09-11 02:31:11 +00:00