Commit Graph

1186 Commits

Author SHA1 Message Date
xuxiao
a397d31162 fix(wifi): add comments for the new API and fix code comments 2024-07-26 10:50:55 +08:00
Fu Hanxi
104ba56d92
ci: temp disable esp32c5 build of examples/bluetooth/nimble/throughput_app/blecent_throughput 2024-07-24 21:19:01 +02:00
Song Ruo Jing
71d37f9ea8 fix(ci): wrap sleep related code with porper caps for ble throughput_app 2024-07-24 15:45:21 +08:00
Shen Weilong
777b48a494 feat(ble): support ble on esp32c5 2024-07-23 20:12:43 +08:00
Rahul Tank
f92efd98e9 fix(nimble): Increase Timer stack size for nimble application 2024-07-22 15:05:59 +05:30
gongyantao
a14dc38023 feat(bt): add bt address printing for all bt examples 2024-07-18 20:06:46 +08:00
gongyantao
cd0e0a683f fix(bt): fix uTask stack overflow in bt example spp_initiator 2024-07-18 20:06:40 +08:00
Zhao Wei Liang
abfca50561 Merge branch 'feat/optimize_bt_porting_hci_0628' into 'master'
Feat/optimize bt porting hci 0628

Closes BLERP-850 and BLERP-848

See merge request espressif/esp-idf!31913
2024-07-15 19:48:59 +08:00
Rahul Tank
d42fa84973 fix(nimble): Update menuconfig option to consider 5.0 support 2024-07-10 13:48:00 +05:30
zwl
3748573817 fix(ble): fixed nimble host only build error 2024-07-09 20:43:48 +08:00
zhanghaipeng
1325c835fe feat(ble/bluedroid): Support BLE50 instance in related event 2024-07-08 11:05:15 +08:00
cjin
b4ded34fd8 fix(ble): added c6 config check for ble light sleep 2024-06-21 14:58:39 +08:00
Rahul Tank
90960d58c6 feat(nimble): Revert support for Enhanced ATT "
This reverts commit f265e50ca0.
2024-05-29 12:39:25 +05:30
Rahul Tank
7e2534d533 Merge branch 'feat/enhanced_att' into 'master'
feat(nimble): Added support for Enhanced ATT

Closes BT-3065

See merge request espressif/esp-idf!30422
2024-05-21 14:11:13 +08:00
Sarvesh Bodakhe
6f966dd0ee fix(esp_wifi): Add some bugfixes and cleanup in softAP
1. Fix wrong reason code in 'WIFI_EVENT_AP_STADISCONNECTED' event
2. cleanup in softAP for disconnecting connected station
3. Update examples to display reason while processing WIFI_EVENT_AP_STADISCONNECTED event
2024-05-19 00:52:59 +05:30
Sumeet Singh
f265e50ca0 feat(nimble): Added support for Enhanced ATT or ATT over Enhanced L2CAP Credit Based Flow Control Mode 2024-05-17 12:27:32 +05:30
Konstantin Kondrashov
28e592563c Merge branch 'feature/unuse_old_log_apis' into 'master'
feat(all): Remove usage old log macros

See merge request espressif/esp-idf!30598
2024-05-16 13:57:06 +08:00
Konstantin Kondrashov
668886842f feat(all): Remove usage old log macros 2024-05-15 15:25:30 +08:00
Rahul Tank
29e5a80eb0 docs(nimble): Added chip information in ble_enc_adv README file 2024-05-10 09:53:54 +05:30
zhanghaipeng
f2cfe4a0f0 fix(ble/bluedroid): Fixed BLE no data length change event 2024-05-06 15:34:21 +08:00
zwl
c31a06d257 ble: update sdkconfig.defaults.esp32c6 file for blufi example 2024-04-22 11:25:04 +08:00
zwl
89b0e94782 ble: update sdkconfig.defaults.esp32c2 file for blufi example 2024-04-22 11:25:04 +08:00
zhiweijian
b9a1756202 fix(ble/bluedroid): Remove BLE functions discard declaration
fix(nt/bluedroid): Split the device name set functions

feat(bt/bluedroid): added APIs to get/set device name on BT GAP side

change(bt/common): Marked some APIs in device module as deprecated

1. esp_bt_dev_set_device_name
2. esp_bt_dev_get_device_name

change(bt/bluedroid): use BT GAP APIs to set/get device name in bluetooth classic examples

change(bt/bluedroid): use BT/BLE GAP APIs to set/get device name in coexist examples
2024-04-18 15:53:54 +08:00
zhiweijian
5725595d84 fix(ble/bluedroid): Remove esp_bluedroid_init() discard declaration 2024-04-18 15:53:30 +08:00
Island
636f900b43 Merge branch 'bugfix/fix_ble_spp_example' into 'master'
fix(ble/bluedroid): Optimized BLE SPP example for improved compatibility

Closes BLERP-653

See merge request espressif/esp-idf!29961
2024-04-08 15:23:09 +08:00
ESPAbhinav
f8b2ab7955 feat(nimble): Added blecsc profile support for nimble examples 2024-04-03 10:50:02 +05:30
zhanghaipeng
b0a84f76a2 fix(ble/bluedroid): Optimized BLE SPP example for improved compatibility 2024-04-01 16:31:26 +08:00
cjin
edb3f70562 change(ble): support ble light sleep using ext 32k xtal on C2 2024-04-01 15:57:06 +08:00
Jiang Jiang Jian
0c68b9b06c Merge branch 'feat/sleep_retention_depends_power_state_management' into 'master'
sleep retention multiple modules initialization and dependency management

Closes WIFI-5252 and IDFGH-11302

See merge request espressif/esp-idf!28941
2024-04-01 09:28:42 +08:00
Li Shuai
7a4d92a7ef fix(example/bluetooth): fix app partition is to small for binary esp_hid_device.bin and esp_hid_host.bin 2024-03-30 11:51:52 +08:00
Rahul Tank
eafad32dc6 fix(nimble): Handle missing free in application 2024-03-29 16:37:11 +05:30
Island
4505ddc8a9 Merge branch 'bugfix/fix_ble_power_save_ci' into 'master'
fix(ble): fix conn error of ble power save ci test

Closes BLERP-642

See merge request espressif/esp-idf!29712
2024-03-27 10:30:40 +08:00
Jiang Jiang Jian
38733a752d Merge branch 'feat/move_iperf_component' into 'master'
feat: move iperf to component registry

Closes RDT-618

See merge request espressif/esp-idf!29537
2024-03-26 19:53:40 +08:00
Chen Yudong
c48eb1055b feat: move iperf to component registry 2024-03-22 10:53:24 +08:00
cjin
af94db4934 fix(ble): fix ci ble powe save test addresss error 2024-03-20 14:12:59 +08:00
Roshan Bangar
23c702cdc1 fix(nimble): Fix compilation issues and Minor enhancements to esp_hid 2024-03-19 16:27:17 +05:30
zhanghaipeng
f812863827 fix(ble/bluedroid): Optimize the BLE documentation 2024-03-15 20:02:13 +08:00
Tomas Rezucha
868d375c1d refactor(esp_hid): Create one common event loop
After this change, only one event loop is created.
It is reused by all transport layers (BT, BLE, USB).
2024-03-14 11:34:13 +01:00
Rahul Tank
11c03bca53 Merge branch 'contrib/github_pr_13034' into 'master'
docs(nimble): Fixed typo in examples/bluetooth/nimble/blehr/README (GitHub PR)

Closes IDFGH-11956

See merge request espressif/esp-idf!29594
2024-03-13 20:40:06 +08:00
Rahul Tank
edc5466a80 Merge branch 'feature/add_doc_for_p4' into 'master'
docs(nimble): Added gpio configuration table for esp32p4

See merge request espressif/esp-idf!29598
2024-03-13 20:37:13 +08:00
Island
556d71b97f Merge branch 'bugfix/BT-3491' into 'master'
bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have...

Closes BT-3491 and BLEMESH-437

See merge request espressif/esp-idf!27087
2024-03-13 17:16:38 +08:00
Roshan Bangar
e9a866297d docs(nimble): Added gpio configuration table for esp32p4 2024-03-13 11:48:15 +05:30
Alex Verschoot
3d39291106 Update README.md
Fix typo
2024-03-13 13:39:41 +08:00
wangjialiang
4b347ba1ad update invalid links in the ble mesh example documentation 2024-03-13 11:38:27 +08:00
wangjialiang
a9c1641792 ci(ble/mesh): cleanup BLE Mesh examples sdkconfig 2024-03-12 16:58:19 +08:00
Rahul Tank
d8ab10c978 Merge branch 'features/uart_host_only_tut' into 'master'
docs(nimble): Improved documentation for uart host only example

See merge request espressif/esp-idf!29401
2024-03-08 22:49:46 +08:00
Island
be29217eeb Merge branch 'bugfix/fix_some_bluedroid_bugs_2402' into 'master'
fix(bt/blufi): Fixed BluFi module link error(C++ hybrid compilation)

See merge request espressif/esp-idf!29220
2024-03-06 11:41:50 +08:00
Roshan Bangar
87b47b461d docs(nimble): Improved documentation for uart host only example 2024-03-04 15:04:30 +05:30
Roshan Bangar
51d571c498 fix(nimble): Corrected acl data handling code in bleprph_host_only 2024-02-28 19:48:34 +05:30
Raghu Saxena
82a711d4e2 fix(bt/example): Use correct struct type 2024-02-27 22:32:14 +08:00
Jiang Jiang Jian
be2ccdcc50 Merge branch 'bugfix/fix_double_free_coc' into 'master'
fix(nimble): Removed double free of packet

See merge request espressif/esp-idf!29030
2024-02-21 20:37:03 +08:00
Sudeep Mohanty
9605f9be3f Merge branch 'contrib/github_pr_12800' into 'master'
feat(freertos): Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES

Closes IDFGH-11693 and IDF-8785

See merge request espressif/esp-idf!28505
2024-02-20 15:21:47 +08:00
Yuan Ming Fu
e6dba934bd Merge branch 'bugfix/blemesh_lightbulb' into 'master'
fix: example: blemesh lightbulb driver

See merge request espressif/esp-idf!28870
2024-02-18 16:52:37 +08:00
Wang Meng Yang
28ff8e3788 Merge branch 'feat/add_test_api_for_sec' into 'master'
Feat/add test api for sec

Closes BT-3578 and BT-3579

See merge request espressif/esp-idf!28191
2024-02-18 09:57:37 +08:00
Rahul Tank
3d03c07c84 fix(nimble): Removed double free of packet 2024-02-13 14:14:03 +05:30
fl0wl0w
90d1dcfd76 feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.

[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2024-02-09 09:11:28 +01:00
Jiang Jiang Jian
b4fe434d2e Merge branch 'bugfix/fix_esp_wifi_scan_start_memory_leakage_issue' into 'master'
fix(wifi): fix esp_wifi_scan_start memory leakage issue

Closes IDFGH-9313

See merge request espressif/esp-idf!28869
2024-02-05 19:23:33 +08:00
Island
4c190c56e6 Merge branch 'bugfix/fix_hci_uart_with_flow_ctrl_off' into 'master'
fix(bt/example): Fixed UART HCI when flow control is off on ESP32C3

See merge request espressif/esp-idf!27712
2024-02-04 16:00:48 +08:00
YuanMingFu
ef2935e955 fix: example: blemesh lightbulb driver 2024-02-03 16:40:53 +08:00
muhaidong
d278ffc501 fix(wifi): fix esp_wifi_scan_start memory leakage issue
Closes https://github.com/espressif/esp-idf/issues/10693
2024-02-03 16:32:09 +08:00
Roshan Bangar
51efb20516 feat(nimble): Nimble Host only mode over uart 2024-01-31 09:49:21 +05:30
Rahul Tank
c8220ad5af Merge branch 'feat/features_and_fixes_for_pts_qualification' into 'master'
feat(nimble): Features and Fixes for PTS Qualification

Closes BLERP-427, BLERP-429, and BLERP-430

See merge request espressif/esp-idf!28608
2024-01-29 13:37:45 +08:00
morris
fe2fbc99f7 Merge branch 'fix/esp_ble_mesh_aligenie_build_rules' into 'master'
fix(esp_ble_mesh): Remove separate AliGenie example build rules

See merge request espressif/esp-idf!28612
2024-01-29 11:05:51 +08:00
SumeetSingh19
7ad6df977e feat(nimble): additional AD types for advertisements 2024-01-25 18:34:55 +05:30
SumeetSingh19
7bda1db4f8 feat(nimble): authorization permission on gatt read and write 2024-01-25 18:34:55 +05:30
Darian Leung
8f15dd1ce0 fix(esp_ble_mesh): Remove separate AliGenie example build rules
The AliGenie example can run on all targets that support esp_ble_mesh (i.e.,
SOC_BLE_MESH_SUPPORTED). Thus, the example does not require a separate build
rule.
2024-01-22 19:57:54 +08:00
InfiniteYuan
728ff8dc99 ble_mesh: example: fix the structure init order to meet C++ requirements
Closes https://github.com/espressif/esp-idf/issues/8110
2024-01-22 14:14:34 +08:00
Island
b0a58d7080 Merge branch 'ble_dev/added_ble_power_save_pytest' into 'master'
Added pytest case for BLE power save example.

Closes BLERP-449

See merge request espressif/esp-idf!28384
2024-01-22 10:41:19 +08:00
Island
b667d20312 Merge branch 'bugfix/ble_update_lib_20231229' into 'master'
update lib on master

Closes BLERP-414, BLERP-415, BLERP-416, BLERP-418, BLERP-419, BLERP-417, BLERP-355, BLERP-420, BLERP-421, BLERP-422, BLERP-443, BLERP-445, BLERP-444, BLERP-442, BLERP-446, and BT-3558

See merge request espressif/esp-idf!28186
2024-01-22 10:38:16 +08:00
cjin
9533df5c39 feat(ble): added pytest for ble power save example 2024-01-19 17:23:35 +08:00
luomanruo
dededd1267 change(ble): npl count is zero if nimble host is not used
change(ble): added npl eventq put to front

change(ble): added cache safe check in ble power save example

ble(update):
    Update c2 lib to 91b81332
    Update h2 lib to 620fbe79
    Update c6 lib to 620fbe79

fix(ble): fix stack overflow disable at sleep

Revert "change(ble): added ble cca en and thresh option"

This reverts commit 71901499b9.
2024-01-19 16:13:12 +08:00
xiongweichao
a4f228da46 fix(ble): Fixed the issue of being unable to enter light sleep
- Fixed the issue where light sleep cannot be entered when external 32k XTAL does not exist
2024-01-17 10:29:43 +08:00
MinZai97
15583ed635 feat: replace lightdriver, and support more chips in ble mesh examples 2024-01-16 17:07:01 +08:00
Jin Cheng
057eb7061d feat(bt/bluedroid): Added an event to notify the encryption mode to applicaiton layer 2024-01-05 09:40:38 +08:00
Jin Cheng
8582f9bedf fix(bt/bluedroid): corrected the strings of A2DP audio states 2024-01-04 17:52:11 +08:00
Island
562b5795bd Merge branch 'bugfix/ble_coex_gattc_gatts' into 'master'
fix(bt/bluedroid): Update ble gattc gatts coex example

See merge request espressif/esp-idf!28098
2024-01-03 15:00:26 +08:00
Wan Lei
bbe91fadbd Merge branch 'feature/esp_driver_ledc' into 'master'
feat(ledc): make esp_driver_ledc as component

See merge request espressif/esp-idf!28163
2023-12-29 21:15:55 +08:00
zhanghaipeng
216b9da33d fix(bt/bluedroid): Optimize ble remove all bonded devices function 2023-12-29 19:28:06 +08:00
Jin Cheng
6ee9b95960 feat(bt/bluedroid): Added report for the type of link key in ESP_BT_GAP_AUTH_CMPL_EVT 2023-12-29 16:22:04 +08:00
zhanghaipeng
96626cb110 fix(bt/bluedroid): Update ble ibeacon example document 2023-12-29 14:16:11 +08:00
zhanghaipeng
cfd84e654c fix(bt/bluedroid): Update ble gattc gatts coex example 2023-12-29 12:14:39 +08:00
wanlei
82f26471f0 feat(ledc): make esp_driver_ledc as component 2023-12-29 11:28:19 +08:00
Wang Meng Yang
4c8f6c5458 Merge branch 'feat/add_get_device_name_api' into 'master'
feat(bt/bluedroid): Added API to get local device name

Closes BT-3526

See merge request espressif/esp-idf!27667
2023-12-27 10:37:33 +08:00
zhanghaipeng
ed036e0ebe fix(bt/bluedroid): Fix prepare write for BLE example 2023-12-21 10:59:26 +08:00
Song Ruo Jing
0e759c6deb Merge branch 'refactor/esp_driver_uart' into 'master'
refactor(uart): make uart driver as component

Closes IDF-8384

See merge request espressif/esp-idf!27333
2023-12-18 19:16:34 +08:00
Roshan Bangar
96ed1ae7a7 feat(nimble): added HID over Gatt profile support 2023-12-16 17:42:49 +05:30
Jin Cheng
a3f68aef8a feat(bt/bluedroid): Added API to get local device name 2023-12-15 19:30:12 +08:00
Song Ruo Jing
6ad80f0332 refactor(uart): make uart driver as component, and fix astyle 2023-12-15 17:03:51 +08:00
chenjianhua
5c2c0884fe fix(bt/example): Fixed UART HCI when flow control is off on ESP32C3 2023-12-06 15:37:04 +08:00
Darian
e3191df37a Merge branch 'change/deprecate_legacy_xtensa_include_path' into 'master'
change(xtensa): Deprecate legacy include paths

Closes IDF-7230

See merge request espressif/esp-idf!26725
2023-12-05 15:05:29 +08:00
Island
94d7ec7a38 Merge branch 'bugfix/bluedroid_menuconfig' into 'master'
Bugfix/bluedroid menuconfig

Closes BLERP-317

See merge request espressif/esp-idf!27508
2023-12-04 16:30:05 +08:00
Island
e3ab9f009b Merge branch 'feat/support_ble_create_sync_report' into 'master'
feat(bt/bluedroid): Support ble create sync report disable and filter duplicate

Closes BLERP-216

See merge request espressif/esp-idf!26923
2023-12-01 17:17:48 +08:00
Darian Leung
2204c8e137 change(xtensa): Deprecate ".../xtensa_api.h" include path
This commit deprecates the "freertos/xtensa_api.h" and "xtensa/xtensa_api.h"
include paths. Users should use "xtensa_api.h" instead.

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Replaced some calls with "esp_cpu_..." equivalents
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
zhanghaipeng
a5a7e60ad0 docs(bt/bluedroid): Update ble example document 2023-11-30 10:42:49 +08:00
Kevin (Lao Kaiyao)
ff45ef6516 Merge branch 'refactor/esp_driver_dac' into 'master'
refactor(dac): make dac driver as component

Closes IDF-8370

See merge request espressif/esp-idf!27264
2023-11-24 11:28:23 +08:00
laokaiyao
ef7772eee0 refactor(dac): make dac driver as component 2023-11-23 12:04:06 +08:00
Marius Vikhammer
47690e2465 ci(nimble): removed ci configs which set esp32 only options 2023-11-23 12:03:13 +08:00
Jiang Jiang Jian
676968ab0e Merge branch 'bugfix/ble_update_lib_1110' into 'master'
Bugfix/ble update lib 1110

Closes BLERP-242, BLERP-248, BLERP-241, BLERP-243, BLERP-239, BLERP-256, BLERP-257, BLERP-258, BLERP-259, BLERP-260, BLERP-261, BLERP-262, BLERP-240, BLERP-227, BLERP-214, BLERP-266, BLERP-267, BLERP-268, BT-3481, WIFI-6313, and BLERP-287

See merge request espressif/esp-idf!27060
2023-11-23 11:05:18 +08:00
Rahul Tank
229d275fb1 Merge branch 'bugfix/cleanup_nimble_sdkconfig' into 'master'
ci(nimble): Cleanup sdkconfig files for nimble examples

Closes IDF-8496

See merge request espressif/esp-idf!26932
2023-11-22 14:48:19 +08:00
Jiang Jiang Jian
275a7ec2a2 Merge branch 'fix/esp32c6_sleep_pll_issue' into 'master'
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue

Closes BLERP-105, BLERP-213, and BLERP-234

See merge request espressif/esp-idf!26208
2023-11-22 10:29:48 +08:00