Commit Graph

5041 Commits

Author SHA1 Message Date
cjin
cdb421f08f feat(ble): added pytest for ble power save example 2024-01-22 10:56:52 +08:00
xiongweichao
22e6e5be06 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-22 10:49:00 +08:00
luomanruo
6c8fa646e4 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:14:05 +08:00
Jin Cheng
00052aa208 fix(bt/bluedroid): corrected the strings of A2DP audio states 2024-01-04 17:53:51 +08:00
zhanghaipeng
401653364d fix(bt/bluedroid): Optimize ble remove all bonded devices function 2023-12-30 20:39:57 +08:00
zhanghaipeng
9f478a8305 fix(bt/bluedroid): Update ble ibeacon example document 2023-12-30 20:39:47 +08:00
zhanghaipeng
a76b44602c fix(bt/bluedroid): Update ble gattc gatts coex example 2023-12-30 20:39:37 +08:00
Jiang Jiang Jian
8b84071f6a Merge branch 'backport/fix_ble_prepare_write_v5.1' into 'release/v5.1'
Backport/fix ble prepare write v5.1

See merge request espressif/esp-idf!27909
2023-12-29 12:01:01 +08:00
Jiang Jiang Jian
04895043f5 Merge branch 'feat/support_esp32c3_v1.1_wifi_v5.1' into 'release/v5.1'
feat(wifi): support esp32c3 v1.1 WiFi(v5.1)

See merge request espressif/esp-idf!27914
2023-12-28 16:56:49 +08:00
Alexey Lapshin
ddc3b14fdb fix(app_trace): Fix SystemView build 2023-12-28 12:08:57 +04:00
alanmaxwell
58de97b193 fix(wifi): change default flash freq from 40M to 80M for esp32 in iperf 2023-12-27 16:47:00 +08:00
zwx
66efe67609 fix(ieee802154): introduce a receive done handler feature 2023-12-26 19:12:11 +08:00
Shu Chen
f922e43625 Merge branch 'backport/some_openthread_related_features_v51' into 'release/v5.1'
Backport some openthread related features (backport v5.1)

See merge request espressif/esp-idf!28055
2023-12-26 17:27:27 +08:00
harshal.patil
d62f61dc47
fix(examples): Fix encoding issue in esp_local_ctrl's proto script 2023-12-26 14:03:09 +05:30
zhanghaipeng
6ae956d81c fix(bt/bluedroid): Fix prepare write for BLE example 2023-12-23 20:19:37 +08:00
Roshan Bangar
a95bf9e0c3 feat(nimble): added HID over Gatt profile support 2023-12-22 11:23:05 +05:30
zwx
abe36b97a5 fix(openthread): fix ot netif destroy netif order issue 2023-12-21 15:16:28 +08:00
Mahavir Jain
b38ee33b6d Merge branch 'bugfix/fix-clean-up-in-error-condition-in-http-example_v5.1' into 'release/v5.1'
fix(example/http): Fixed potential memory leak/crash in when handling error condition (v5.1)

See merge request espressif/esp-idf!27875
2023-12-20 16:41:29 +08:00
zhangyanjiao
61ae9bd8e2 fix(wifi/mesh): fix the IE crypto disable error and update doc 2023-12-19 19:15:49 +08:00
muhaidong
baeed9fb6a fix(wifi): update scan example for scan get ap records 2023-12-19 19:15:49 +08:00
zhanghaipeng
103656e7a2 feat(bt/bluedroid): Support ble create sync report disable and filter duplicate 2023-12-18 11:51:29 +08:00
zhanghaipeng
d0e9b33f5d docs(bt/bluedroid): Update ble example document 2023-12-18 11:51:29 +08:00
morris
7a32d046bd Merge branch 'fix/spi_lcd_example_fix_border_pixel_display_v5.1' into 'release/v5.1'
fix(spi_master): fixed lcd example block border pixel issue (v5.1)

See merge request espressif/esp-idf!27920
2023-12-15 16:03:30 +08:00
Roshan Bangar
e8503d6efe feat(nimble): Added example support for Current Time Service 2023-12-14 20:24:20 +05:30
wanlei
94fb5232ce fix(spi_master): fixed lcd example block border pixel issue 2023-12-14 17:17:36 +08:00
Zim Kalinowski
4c93085e4a
fix(example/http): Fixed potential memory leak/crash in when handling error condition 2023-12-13 10:05:19 +05:30
xiaqilin
ef4f420663 fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue
* switch root clk src to PLL for modem reg opt and added callback
* register power_down/power_up callback in ieee802154 driver for esp32c6
* remove software regdma opt in bt
2023-12-08 08:03:32 +00:00
Jiang Jiang Jian
d52d82ee83 Merge branch 'doc/change_deepsleep_example_readme_v5.1' into 'release/v5.1'
Doc/change deepsleep example readme v5.1

See merge request espressif/esp-idf!27447
2023-12-08 11:20:50 +08:00
Jiang Jiang Jian
bc3a75d5ba Merge branch 'fix/esp_netif_lock_v5.1' into 'release/v5.1'
fix(esp_netif): Lock netif list with TCPIP context (v5.1)

See merge request espressif/esp-idf!26710
2023-12-08 11:18:09 +08:00
Jiang Jiang Jian
c3de87083f Merge branch 'fix/remove_deprecated_bt_example_sdkfonfigs_v5.1' into 'release/v5.1'
ci(bt/bluedroid): remove configs that are not in effect (backport v5.1)

See merge request espressif/esp-idf!27282
2023-12-08 11:17:18 +08:00
Marius Vikhammer
25507da236 Merge branch 'bugfix/import_lib_example_url_v5.1' into 'release/v5.1'
fix(build-system/example): Removed dead URL for downloading tinyxml2 (v5.1)

See merge request espressif/esp-idf!27661
2023-12-07 16:56:49 +08:00
Shu Chen
46d52c81f9 Merge branch 'backport5.1/ot_examples_config' into 'release/v5.1'
fix(openthread): openthread examples config (backport v5.1)

See merge request espressif/esp-idf!27553
2023-12-06 21:44:08 +08:00
morris
5cf65ce766 Merge branch 'fix/usb_host_soc_caps_backport_v5.1' into 'release/v5.1'
USB host soc caps (backport v5.1)

See merge request espressif/esp-idf!27399
2023-12-06 09:59:53 +08:00
Marius Vikhammer
81ab5f7fb7 fix(build-system/example): Updated dead URL for downloading tinyxml2
The import_lib example contained a fallback mirror for downloading tinyxml2 sources
but this link was dead. If this mirror was used it would cause the build to fail.
2023-12-05 12:32:33 +08:00
Xu Si Yu
d13e47596b fix(openthread): add eventfd nums for spi interface 2023-12-04 17:51:25 +08:00
Shu Chen
c9babf8cb3 fix(openthread): remove invalid configs from ot examples 2023-12-04 17:51:25 +08:00
Lou Tianhao
5d4a786354 docs(pm):change_deepsleep_example_readme 2023-12-04 07:39:11 +00:00
Liu Linyan
1bfd5e35af fix(ble_mesh): Enable relay by default for the specific dev role 2023-11-30 12:29:37 +08:00
Ivan Grokhotkov
a803c846aa Merge branch 'bugfix/console_examples_reenable_v5.1' into 'release/v5.1'
examples: re-enable console examples for C2, C6, H2 (v5.1)

See merge request espressif/esp-idf!24336
2023-11-29 23:57:09 +08:00
Mahavir Jain
3b1d428501 Merge branch 'bugfix/preencrypted_ota_failed_with_partial_download_v5.1' into 'release/v5.1'
fix(esp_https_ota): fix preencrypted ota failed with pytest server and partial http enabled (v5.1)

See merge request espressif/esp-idf!27354
2023-11-29 14:05:39 +08:00
Tomas Rezucha
609628e139 fix(usb/host): Do not abort on string descriptor overflow
Some devices return full LANGID table, even if short LANGID table was requested.
No memory overflow occurs, because we have allocated enough memory for transfers to the
default pipe. So we can ignore the error and continue with string desc fetching.
2023-11-28 22:00:54 +01:00
Darian Leung
411405355d refactor(soc): SOC_USB_PERIPH_NUM option
This commit refactors SOC_USB_PERIPH_NUM as follows:

- Renamed to SOC_USB_OTG_PERIPH_NUM to avoid confusion with USB Serial JTAG
- Updated to unsigned integer "1U"
- Updated some build rules to depend on SOC_USB_OTG_SUPPORTED instead
2023-11-28 22:00:30 +01:00
Ivan Grokhotkov
b52607af71
examples: re-enable console examples for C2, C6, H2
- Split the sleep-related system commands into a separate file
- Don't compile that file and don't register sleep commands for H2 yet
- Exclude Wi-Fi commands if the chip doesn't have Wi-Fi
2023-11-28 18:08:11 +01:00
Jiang Jiang Jian
3ba577165c Merge branch 'bugfix/esp32s3_usb_otg_console_v5.1' into 'release/v5.1'
system: support USB_OTG CDC console on ESP32-S3 (v5.1)

See merge request espressif/esp-idf!24337
2023-11-24 10:19:02 +08:00
Island
80b61281b9 Merge branch 'bugfix/ble_update_lib_1110_5.1' into 'release/v5.1'
Bugfix/ble update lib 1110 5.1

See merge request espressif/esp-idf!27061
2023-11-23 19:10:49 +08:00
nilesh.kale
0e214b776b fix: fix preencrypted ota failed with pytest server and partial http enabled 2023-11-23 12:50:18 +05:30
Rahul Tank
2a227b89d5 Merge branch 'feature/walkthrough_for_bleprph_v5.1' into 'release/v5.1'
doc (nimble): Added the tutorial for bleprph example. (v5.1)

See merge request espressif/esp-idf!26887
2023-11-22 18:21:49 +08:00
Rahul Tank
ad11452275 Merge branch 'bugfix/cleanup_nimble_sdkconfig_v5.1' into 'release/v5.1'
ci(nimble): Cleanup sdkconfig files for nimble examples (v5.1)

See merge request espressif/esp-idf!27289
2023-11-22 18:09:16 +08:00
David Cermak
5e07ffb444 fix(esp_netif): Mark esp_netif_next deprecated and fix usages
* Uses netif_find_if() in IPv6 examples
* Fixes esp_netif_next() usage in L2TAP
2023-11-22 09:59:37 +00:00
Jiang Jiang Jian
8b6977b883 Merge branch 'bugfix/coex_cfg_option_invisible_v5.1' into 'release/v5.1'
fix(esp_coex): Fix dependency errors in coexist configuration (Backport v5.1)

See merge request espressif/esp-idf!26577
2023-11-22 17:45:05 +08:00
Shu Chen
ecbbd3c3d9 Merge branch 'backport/add_ot_radio_stats_enable_config_5_1' into 'release/v5.1'
feat(openthread): backport some openthread features(BackportV5.1)

See merge request espressif/esp-idf!26885
2023-11-22 12:23:53 +08:00
Ivan Grokhotkov
e2f1327a5c
examples: re-enable system/console/advanced_usb_cdc for ESP32-S3
Closes https://github.com/espressif/esp-idf/issues/9364
2023-11-21 17:33:30 +01:00
luomanruo
2cf6c185dc ci(ble/bluedroid): Add notes in sdkconfig.defaults 2023-11-21 15:03:38 +08:00
Rahul Tank
9571780d5e ci(nimble): Cleanup sdkconfig files for nimble examples 2023-11-21 12:23:06 +05:30
morris
6bc8a025d5 Merge branch 'bugfix/ledc_max_duty_cycle_v5.1' into 'release/v5.1'
fix(ledc): fix ledc driver 100% duty cycle configuration (backport v5.1)

See merge request espressif/esp-idf!27179
2023-11-21 10:58:16 +08:00
gongyantao
1978b711f0 ci(bt/bluedroid): remove configs that are not in effect 2023-11-21 10:09:40 +08:00
Mahavir Jain
fcd0b8b8e9 Merge branch 'fix/https_request_example_build_with_esp_wolfssl_v5.1' into 'release/v5.1'
fix(esp-tls): Fix the https_request example build for esp-wolfssl (v5.1)

See merge request espressif/esp-idf!26735
2023-11-20 11:07:36 +08:00
Rahul Tank
57090788ec Merge branch 'feature/walkthrough_for_coc_ble_prph_v5.1' into 'release/v5.1'
doc (nimble): Added the tutorial for coc_bleprph example. (v5.1)

See merge request espressif/esp-idf!26480
2023-11-18 16:21:42 +08:00
Song Ruo Jing
03299962f6 fix(ledc): fix ledc driver 100% duty cycle configuration
Update ledc duty cycle value range in doxygen.
Fix duty configuration error at 100% duty cycle for ESP32.
Improve LEDC API doxygen.

Closes https://github.com/espressif/esp-idf/pull/11516
Closes https://github.com/espressif/esp-idf/issues/12593
Closes https://github.com/espressif/esp-idf/issues/12083
2023-11-17 12:38:32 +08:00
linruihao
f57826e239 fix(esp_coex): Fix dependency errors in coexist configuration 2023-11-16 03:16:15 +00:00
Jiang Jiang Jian
5c61c89308 Merge branch 'fix/exception_was_unhandled_for_bt_spp_vfs_acceptor_v5.1' into 'release/v5.1'
fix(bt/bluedroid): fix LoadProhibited error in spp vfs acceptor example (backport v5.1)

See merge request espressif/esp-idf!26861
2023-11-15 14:45:04 +08:00
David Čermák
cc7c93cfaa Merge branch 'fix/netif_sntp_examples_v5.1' into 'release/v5.1'
fix(examples): Fix usage of SNTP netif API in examples (v5.1)

See merge request espressif/esp-idf!26917
2023-11-14 21:57:12 +08:00
Jiang Jiang Jian
0f61bd25a2 Merge branch 'bugfix/iperf_improvements_v5.1' into 'release/v5.1'
fix(examples/iperf): Update and rename default TCP/UDP buffer sizes (Backport v5.1)

See merge request espressif/esp-idf!26680
2023-11-14 15:38:23 +08:00
Wang Meng Yang
c46775031e Merge branch 'bugfix/backport_some_ble_bugs_20231020_v5.1' into 'release/v5.1'
Fixed some BLE bugs 20231020 (backport v5.1)

See merge request espressif/esp-idf!26604
2023-11-14 15:35:55 +08:00
Jiang Jiang Jian
5a128c169c Merge branch 'doc/update_espnow_example_v5.1' into 'release/v5.1'
doc(WiFi/Vendor): Update the ESPNOW example for the recv callback function (backport v5.1)

See merge request espressif/esp-idf!26685
2023-11-14 15:35:37 +08:00
Jiang Jiang Jian
8f4c9bdc03 Merge branch 'backport/fix_ble_bugs_v5.1' into 'release/v5.1'
Backport/fix ble bugs v5.1(backport v5.1)

See merge request espressif/esp-idf!26762
2023-11-14 15:15:40 +08:00
Jiang Jiang Jian
894cf042f9 Merge branch 'fix/remove_esp_hf_ag_devices_status_indchage_in_example_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Send device status of AG to HF with a different api (backport v5.1)

See merge request espressif/esp-idf!26587
2023-11-14 15:10:50 +08:00
Armando
6de9757a4b fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-07 14:09:21 +08:00
David Cermak
cda65b73f4 fix(examples): Fix usage of SNTP netif API in examples 2023-11-03 11:23:17 +01:00
zwx
9f8655cdef feat(openthread): Add deep sleep support for SED 2023-11-03 11:02:56 +08:00
Lou Tianhao
9b3e40c9d1 feat(pm/deepsleep): Support EXT1_WAKEUP_MODE_PER_PIN 2023-11-03 11:02:56 +08:00
Abhinav Kudnar
9ff25a94d9 doc (nimble): Added the tutorial for bleprph example. 2023-11-02 17:57:22 +05:30
Abhinav Kudnar
7ac37cccef doc (nimble): Added the tutorial for coc_bleprph example. 2023-11-02 17:53:33 +05:30
gongyantao
70aedc85a4 fix(bt/bluedroid): fix loadprohibited error in spp vfs acceptor example 2023-11-02 11:47:28 +08:00
alanmaxwell
85fbfae5d2 fix(wifi): Fix bug using CONFIG_WIFI_ENABLED macro 2023-10-31 15:56:21 +08:00
zhanghaipeng
c7e82194a4 fix(bt/bluedroid): Fix max BLE gattc notify number to improve compatibility 2023-10-31 14:38:42 +08:00
zhanghaipeng
b35c41aee0 fix(bt/bluedroid): Optimize compatibility with Android 10 and later devices 2023-10-31 14:38:42 +08:00
zhanghaipeng
6a94399233 feat(bt/bluedroid): Support hid device control point 2023-10-31 14:38:42 +08:00
zhanghaipeng
35afc37f1a fix(bt/bluedroid): Optimize compatibility with IOS and MACOS devices 2023-10-31 14:38:42 +08:00
Aditya Patwardhan
2276b07b39 fix(esp-tls): Fix the https_request example build for esp-wolfssl 2023-10-29 19:18:05 +05:30
zhangyanjiao
3a436b0eb2 doc(WiFi/Vendor): Update the ESPNOW example for the recv callback function 2023-10-26 14:14:00 +08:00
Nachiket Kukade
d64a29c3b4 fix(examples/iperf): Update and rename default TCP/UDP buffer sizes 2023-10-26 10:35:57 +05:30
zhiweijian
5677692187 feat: add config to disable ble hci uart flow control 2023-10-20 16:48:33 +08:00
gongyantao
ae04d7b61d fix(bt/bluedroid): Send device status of AG to HF with a different api
1: replace api esp_hf_ag_devices_status_indchange with esp_hf_ag_ciev_report in bluetooth
   hfp_ag example to send device status of AG to HF unit.
2: remove the unused codes
2023-10-20 10:03:24 +08:00
Erhan Kurubas
1ddbc13499 fix(pytest_gcov): properly extract file path from the gcov output 2023-10-18 10:57:05 +02:00
zhangwenxu
3bb89e116a feat(openthread): Host connection logic refactor 2023-10-16 15:02:57 +08:00
Jiang Jiang Jian
d02cfc21b7 Merge branch 'feature/walkthrough_for_spp_client_v5.1' into 'release/v5.1'
doc(nimble): Added the tutorial for spp_client example. (v5.1)

See merge request espressif/esp-idf!26201
2023-09-28 13:35:57 +08:00
Zim Kalinowski
1256e6fd6b fix(examples): Reverted: Fix example build errors caused by the deep_sleep funcs are returnable
This reverts commit d521b7d52a.
2023-09-27 12:25:51 +02:00
Anton Maklakov
c4b6f0cf41 Merge branch 'feature/walkthrough_for_spp_server_v5.1' into 'release/v5.1'
doc(nimble): Added the tutorial for spp_server example. (v5.1)

See merge request espressif/esp-idf!26216
2023-09-27 17:30:11 +08:00
Shu Chen
5b45d359d2 Merge branch 'feature/update_esp32h2_sleep_logic_backport_v5.1' into 'release/v5.1'
feat(pm): remove SOC_PM_RETENTION_HAS_CLOCK_BUG for esp32h2 (backport v5.1)

See merge request espressif/esp-idf!26181
2023-09-27 14:38:47 +08:00
Jiang Jiang Jian
8008dbe624 Merge branch 'test/bqb_test_bt_classic_hfp_v5.1' into 'release/v5.1'
feat(bt/hfp): Add support for HFP BQB auto test (backport v5.1)

See merge request espressif/esp-idf!26222
2023-09-27 14:15:22 +08:00
Jiang Jiang Jian
4b3cc2aa02 Merge branch 'feature/eth_iram_optimization_v5.1' into 'release/v5.1'
feat(esp_eth): added IRAM optimization option for internal EMAC (v5.1)

See merge request espressif/esp-idf!25842
2023-09-27 10:34:00 +08:00
Jiang Jiang Jian
b5891b61b6 Merge branch 'feature/walkthrough_for_coc_ble_cent_v5.1' into 'release/v5.1'
doc (nimble): Added the tutorial for coc_blecent example. (v5.1)

See merge request espressif/esp-idf!26204
2023-09-27 10:24:29 +08:00
Rahul Tank
8c74d2795c Merge branch 'feature/walkthrough_for_ble_multi_adv_v5.1' into 'release/v5.1'
doc (nimble): Added the tutorial for ble_multi_adv example. (v5.1)

See merge request espressif/esp-idf!26178
2023-09-26 19:15:55 +08:00
Mahavir Jain
e565bc5a1b Merge branch 'bugfix/fix_build_error_in_protocol_examples_v5.1' into 'release/v5.1'
fix: Fix protocols example to build without setting target (v5.1)

See merge request espressif/esp-idf!26200
2023-09-26 16:11:38 +08:00
wanglai@espressif.com
83a6683006 fix(bt/bluedroid): Modify the operator name to English in hfp_ag example 2023-09-26 15:10:05 +08:00
wanglai@espressif.com
e989d9eb32 feat(bt/bluedroid): Add supprot for specific indicator sending from AG to Client 2023-09-26 15:10:04 +08:00
wanglai@espressif.com
e1ead7ae40 feat(bt/bluedroid): Modify AT+CNUM response api and HFP AG example 2023-09-26 15:10:04 +08:00
Jiang Jiang Jian
face850973 Merge branch 'feature/rename_wpa2_ent_to_eap_client_v5.1' into 'release/v5.1'
WiFi: Rename WPA2 enterprise APIs to EAP Client. (v5.1)

See merge request espressif/esp-idf!26082
2023-09-26 13:30:52 +08:00
darshan
3c8d9a0d77 doc(nimble): Added the tutorial for spp_server example. 2023-09-26 10:23:10 +05:30