Commit Graph

32498 Commits

Author SHA1 Message Date
zwx
ff7a97b7f1 feat(openthread): update BR lib 2024-06-06 14:18:57 +08:00
Rahul Tank
d2f8b753fc Merge branch 'bugfix/ble_gap_unpair_error_code_v5.1' into 'release/v5.1'
fix(nimble): Added return code in ble_gap_unpair error logs (v5.1)

See merge request espressif/esp-idf!31309
2024-06-06 12:54:08 +08:00
Jiang Jiang Jian
7f1a2c3cc1 Merge branch 'fix/assert_in_bt_controller_v5.1' into 'release/v5.1'
fix(bt): fix some issues in bluetooth controller(backport v5.1)

See merge request espressif/esp-idf!31323
2024-06-06 12:02:43 +08:00
Fu Hanxi
f10e452e50
ci: ensure macos selected the correct python installed by pyenv 2024-06-05 16:03:02 +02:00
David Čermák
b2eeb41888 Merge branch 'update_mqtt_v5.1' into 'release/v5.1'
Update Mqtt client (v5.1)

See merge request espressif/esp-idf!30274
2024-06-05 15:47:37 +08:00
Xu Si Yu
f27797c49a fix(openthread): remove the empty task for openthread tasklets 2024-06-05 15:30:52 +08:00
zwx
ed00f6d94e fix(802.15.4): fixed ieee802154 will sleep when only pm enabled 2024-06-05 15:27:36 +08:00
zwx
e95771bde8 feat(802154): log buffer full message in debug mode only 2024-06-05 15:20:30 +08:00
zwx
ff60eefe0a fix(802.15.4): fix a risk for receive_at and ignore bit8 for the frame length 2024-06-05 15:20:30 +08:00
Xu Si Yu
5abe7425d9 feat(openthread): update openthread br lib 2024-06-05 15:20:30 +08:00
zwx
f87f5a3f22 feat(openthread): remove the range for some configurations 2024-06-05 15:20:30 +08:00
Abhinav Kudnar
5694eb354f fix(nimble): Added return code in ble_gap_unpair error logs 2024-06-05 12:10:41 +05:30
Island
76e28986ba Merge branch 'fix/idfgh-12762_v5.1' into 'release/v5.1'
fix(ble_mesh):Fixed a compatibility issue with the provisioner (v5.1)

See merge request espressif/esp-idf!30731
2024-06-05 10:44:02 +08:00
Island
445811d412 Merge branch 'optimize/bt_make_alarm_num_configurable_v5.1' into 'release/v5.1'
feat(ble_mesh): Make alarm number configurable (v5.1)

See merge request espressif/esp-idf!30789
2024-06-05 10:43:49 +08:00
gongyantao
2a98fba7fe fix(bt): fix some issues in bluetooth controller
1: fix return incorrect link key with hci command rd_stored_link_key
2: fix the assert triggered during APB TX
3: fix role switch LMP collision bug
2024-06-05 09:11:57 +08:00
Wang Meng Yang
b36c954052 Merge branch 'feat/set_get_lpclk_src_v5.1' into 'release/v5.1'
feat(ble): Added API to get low power clock source(v5.1)

See merge request espressif/esp-idf!30108
2024-06-04 19:36:22 +08:00
Wang Meng Yang
50599a62f5 Merge branch 'bugfix/spp_crash_after_deint_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed SPP crash due to the connection not being disconnected before esp_spp_deinit was called(v5.1)

See merge request espressif/esp-idf!30081
2024-06-04 19:34:40 +08:00
Rahul Tank
d3d5a4ef53 Merge branch 'bugfix/explict_free_adv_data_v5.1' into 'release/v5.1'
fix(nimble): Explicitly NULL assign adv data (v5.1)

See merge request espressif/esp-idf!31290
2024-06-04 19:32:19 +08:00
luoxu
23c712ed13 fix(ble_mesh):Fixed a compatibility issue with the provisioner
Closes https://github.com/espressif/esp-idf/issues/13741
2024-06-04 16:50:12 +08:00
wangjialiang
410a02acf0 feat(ble_mesh): Make alarm number configurable 2024-06-04 16:36:10 +08:00
Euripedes Rocha
5814e2a5d5 change(mqtt): Update esp-mqtt submodule
git log --oneline e6afdb4025fe018ae0add44e3c45249ea1974774..aa6f889fb4f6f743b3a550aa587713aabbdca1fc

Detailed description of the changes:
* fix: regard reason codes greater than 0x80 as failures.
  - See merge request espressif/esp-mqtt!205
  - See commit https://github.com/espressif/esp-mqtt/commit/e7b9aa5
* PR: Return on allocation failure
  - See merge request espressif/esp-mqtt!204
  - set last_retransmit to now when first connected (espressif/esp-mqtt@c06f154)
  - add return to faile_message, avoid segment fault (espressif/esp-mqtt@37478a9)
* Minor warning of unused variable
  - See merge request espressif/esp-mqtt!203
  - fix: Minor warning of unused variable (espressif/esp-mqtt@726e5f2)
* Cover the case for SOC without MAC address
  - See merge request espressif/esp-mqtt!202
  - fix: Cover the case for SOC without MAC address (espressif/esp-mqtt@5e3abd4)
* Make state and size atomic
  - See merge request espressif/esp-mqtt!199
  - feat: Make state and size atomic (espressif/esp-mqtt@891380b)
* fix: Adjust the log level on few messages to avoid cluthering the logs
  - See merge request espressif/esp-mqtt!201
  - See commit https://github.com/espressif/esp-mqtt/commit/5c17fc4
* fix: Make automatic client_id soc dependent
  - See merge request espressif/esp-mqtt!200
  - See commit https://github.com/espressif/esp-mqtt/commit/657a2ae
* Clarify data that users need to take care of lifetime.
  - See merge request espressif/esp-mqtt!197
  - docs: Clarify data that users need to take care of lifetime. (espressif/esp-mqtt@371f594)
* Update mqtt_client.h
  - See merge request espressif/esp-mqtt!198
  - add const char * to esp_mqtt_client_subscribe() generic macros (espressif/esp-mqtt@acdb66d)
* client: Report failure on timeout in mid-message timeout (GitHub PR)
  - See merge request espressif/esp-mqtt!165
  - Merges https://github.com/espressif/esp-mqtt/pull/232
  - client: Report failure on timeout in mid-message timeout (espressif/esp-mqtt@ddde502)
* fix: Move buffer initialization to set config
  - See merge request espressif/esp-mqtt!194
  - Closes https://github.com/espressif/esp-mqtt/issues/267
  - See commit https://github.com/espressif/esp-mqtt/commit/ea0df31
* Fix check for message creation when processing publish
  - See merge request espressif/esp-mqtt!195
  - fix: Deliver publish verifies if message was created only for QoS >0
        (espressif/esp-mqtt@6780056)
2024-06-04 15:13:54 +08:00
Rahul Tank
6ab57bbcc4 fix(nimble): Explicitly NULL assign adv data 2024-06-04 12:16:12 +05:30
Island
a9d29b3281 Merge branch 'feat/add_hci_log_record_for_nimble_v5.1' into 'release/v5.1'
feat(bt/nimble): support hci log for nimble (backport v5.1)

See merge request espressif/esp-idf!31213
2024-06-04 14:19:00 +08:00
Jiang Jiang Jian
176f719eb3 Merge branch 'bugfix/nan_datapath_issues_v5.1' into 'release/v5.1'
Fix issues in NAN datapath establishment (Backport v5.1)

See merge request espressif/esp-idf!30852
2024-06-04 12:05:58 +08:00
Jiang Jiang Jian
85fd3f397d Merge branch 'fix/sntp_getreachability_v5.1' into 'release/v5.1'
fix(netif): Add missing SNTP get-reachablitiy API (v5.1)

See merge request espressif/esp-idf!30033
2024-06-04 11:37:05 +08:00
Jiang Jiang Jian
0196f081e5 Merge branch 'bugfix/log_wrap_around_cache_generation_counter_v5.1' into 'release/v5.1'
fix(log): Fix wrap-around of cache generation counter (v5.1)

See merge request espressif/esp-idf!29939
2024-06-04 11:31:12 +08:00
Jiang Jiang Jian
7b5a5ea50e Merge branch 'fix/wl_fatfsgen_safe_mode_v5.1' into 'release/v5.1'
fix(storage/fatfs): make wl_fatfsgen.py safe mode aware (v5.1)

See merge request espressif/esp-idf!29729
2024-06-04 11:30:50 +08:00
Island
d456fdf322 Merge branch 'bugfix/esp32c2_fixed_some_ble_issues_master_v5.1' into 'release/v5.1'
Bugfix/esp32c2 fixed some ble issues master (v5.1)

See merge request espressif/esp-idf!31234
2024-06-04 10:22:07 +08:00
Shyamal Khachane
e6a5be3fda fix(esp_wifi): Fix issues in NAN datapath establishment
1. Resolve indefinite waiting while stopping NAN
2. Increase NDP response timeout to 8 DW's
3. Set NAN discovery beacon interval to 100 TU's as per Section 9.2
   of Wi-Fi Aware Specification v4.0
2024-06-03 18:23:30 +05:30
Jiang Jiang Jian
7ade2ae6e5 Merge branch 'bugfix/fix_dhcp_pool_issue_on_dhcp_server_v5.1' into 'release/v5.1'
fix(lwip): fixed the dhcp pool error on dhcp server (v5.1)

See merge request espressif/esp-idf!31266
2024-06-03 19:47:35 +08:00
Jiang Jiang Jian
de580a0e44 Merge branch 'bugfix/fix_some_wifi_bugs_v5.1' into 'release/v5.1'
fix(wifi): fixed sniffer and espnow issue (v5.1)

See merge request espressif/esp-idf!31214
2024-06-03 19:38:07 +08:00
morris
d47e88776e Merge branch 'feature/usb_host_hub_support_collective_backport_v5.1' into 'release/v5.1'
refactor(usb/host): Prerequisite Refactoring For Hub Collective backport (v5.1)

See merge request espressif/esp-idf!29447
2024-06-03 16:10:30 +08:00
zhangyanjiao
5d00019475 fix(lwip): fixed the dhcp pool error on dhcp server 2024-06-03 11:34:15 +08:00
Omar Chebib
16d957e7aa fix(esp_hw_support): clear reserved interrupts that are not applicable for each target 2024-06-03 11:09:45 +08:00
Omar Chebib
1439815d57 refactor(esp_hw_support): changed reserved interrupt functions to be now defined per SoC 2024-06-03 11:05:25 +08:00
zhangyanjiao
e81e61f86f docs(wifi): update the docmentation for mesh API 2024-06-03 10:50:27 +08:00
zhangyanjiao
64d34d84be fix(wifi): fixed sniffer and espnow issue
1. fix(wifi): fixed sniffer dump fcs error packets fail

Closes https://github.com/espressif/esp-idf/issues/10777

2. fix(wifi): fixed the espnow priv parameter get error

Closes https://github.com/espressif/esp-idf/issues/13693
2024-06-03 10:49:23 +08:00
Jiang Jiang Jian
9eea1706bf Merge branch 'doc/update_esp32c6_power_statics_5.1' into 'release/v5.1'
docs(lowpower): updating low-power statistics in Wi-Fi scenarios (v5.1)

See merge request espressif/esp-idf!31211
2024-06-03 10:38:11 +08:00
Jiang Jiang Jian
8d296506b5 Merge branch 'contrib/github_pr_13022_v5.1' into 'release/v5.1'
fix(freertos): Fix broken portable macro portTRY_ENTER_CRITICAL_SAFE() (v5.1)

See merge request espressif/esp-idf!30317
2024-06-03 10:27:00 +08:00
xiongweichao
0648347994 feat(ble): Added API to get low power clock source 2024-06-03 10:25:29 +08:00
Jiang Jiang Jian
f209f008f3 Merge branch 'bugfix/esp_timer_test_fail_v5.1' into 'release/v5.1'
fix(esp_timer): Force test to go light sleep ignoring ESP_ERR_SLEEP_REJECT (v5.1)

See merge request espressif/esp-idf!29872
2024-06-03 10:24:42 +08:00
xiongweichao
5a8f272660 fix(bt/bluedroid): Fix SPP crash after deinit
- The disconnection event comes up after spp disable is completed, so a null pointer is used.
2024-06-03 10:24:00 +08:00
Jiang Jiang Jian
67ee7eeaae Merge branch 'bugfix/pm-108_v5.1' into 'release/v5.1'
backport v5.1: fix the issue of tg0 watchdog reset caused by wifi module retention

See merge request espressif/esp-idf!31013
2024-06-03 10:19:41 +08:00
zhiweijian
42aa1be457 feat(bt/nimble): support hci log for nimble 2024-06-03 09:48:51 +08:00
zhanghaipeng
9d5f956e87 fix(ble/bluedroid): Optimize BLE stack connect callback name 2024-06-02 19:25:12 +08:00
zhanghaipeng
2f14db087d fix(ble/bluedroid): Fixed BLE no data length change event 2024-06-02 19:23:56 +08:00
Darian Leung
f0b26289d7
docs(usb): Add USBH maintainer notes 2024-06-02 00:29:36 +08:00
Darian Leung
29ae4e7a4f
refactor(usb/usbh): Update USBH device creation and enumeration handling
This commit updates how the USBH handles device creation and enumeration so that
upper layers (such as the Hub driver) can use the USBH API for enumeration instead
of calling the HCD.

USBH Updates:

USBH now creates unenumerated devices set to address 0 with no device/config
descriptor. A newly created device can be opened and communicated with immediately
(using control transfers). This allows the Hub driver to call the USBH instead of
the HCD. Summary of USBH changes:

- Added new APIs to add/remove a device. Devices are now created as unenumerated
and can be immediately opened and communicated with.
- Added new APIs to enumerate a device (see 'usbh_dev_set_...()' functions). Device
must be locked (see 'usbh_dev_enum_lock()') before enumeration functions can be called.
- Added UID for each device. This allows the particular USBH without needing to
use the device's handle (which implies opening the device).

Hub Driver Updates:

Hub driver now calls the USBH for enumeration. Summary of USBH changes:

- Replace all 'hcd_pipe_...()' calls with 'usbh_dev_...()' calls
- Refactored port event handling to fit with new USBH API
- Updated to use UID to uniquely identify devices without opening them

USB Host Updates:

- Reroute USBH control transfers to clients and hub driver

Note: Backported ESP_ERR_NOT_ALLOWED macro
2024-06-02 00:29:36 +08:00
Darian Leung
15121a3ef6
refactor(usb/hub): Update Hub driver port request logic 2024-06-02 00:29:35 +08:00
Darian Leung
144463be5c
refactor(usb/hcd): Allow port resets with allocated pipes
This commit updates the HCD API to allow port resets to occur even if pipes
are allocated. The pipes cannot be active and the port reset will simply
restore the pipes (by reinitializing their channel registers) following the
reset.

Changes:

- Allow port resets while channels are allocated
- Remove pipe persistance API 'hcd_pipe_set_persist_reset()'
2024-06-02 00:29:35 +08:00