Skip to content

esp_wifi_remote/esp_hosted bindings.#404

Merged
ivmarkov merged 1 commit intoesp-rs:masterfrom
mdwn:esp32p4-wifi
Feb 24, 2026
Merged

esp_wifi_remote/esp_hosted bindings.#404
ivmarkov merged 1 commit intoesp-rs:masterfrom
mdwn:esp32p4-wifi

Conversation

@mdwn
Copy link
Contributor

@mdwn mdwn commented Feb 18, 2026

Thank you for your contribution!

We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:

Submission Checklist 📝

  • I have updated existing examples or added new ones (if applicable).
  • I have used cargo fmt command to ensure that all changed code is formatted correctly.
  • I have used cargo clippy command to ensure that all changed code passes latest Clippy nightly lints.
  • My changes were added to the CHANGELOG.md in the proper section.

Pull Request Details 📖

Description

Both the esp_wifi_remote and esp_hosted bindings have been added, along with a fix for a missing ESP_IDF_VERSION set that comes from the get_idf_version function in idf_tools.py, which is called by idf.py during build. Since we're not using idf.py directly, we're missing this environment variable and setting it here fixes this gap for modules that use it.

Testing

With some changes to esp-idf-svc, was able to successfully connect to a 2.4 GHz wifi network using a test app:

I (3589) RPC_WRAP: Coprocessor Boot-up
E (3740) system_api: 0 mac type is incorrect (not found)
E (3741) system_api: 1 mac type is incorrect (not found)
W (3766) rpc_utils: Event: SSID XXXXX
I (3785) osc_pedal: Starting WiFi...
I (3892) RPC_WRAP: ESP Event: wifi station started
I (3912) RPC_WRAP: ESP Event: wifi station started
I (4028) osc_pedal: WiFi started. Connecting...
I (4028) H_API: esp_wifi_remote_connect
I (6923) RPC_WRAP: ESP Event: Station mode: Connected
I (6923) esp_wifi_remote: esp_wifi_internal_reg_rxcb: sta: 0x40077b54
I (6940) osc_pedal: WiFi connected. Waiting for network interface...
I (8348) esp_netif_handlers: sta ip: 192.168.1.130, mask: 255.255.0.0, gw: 192.168.1.1
I (8376) osc_pedal: WiFi connected! IP: 192.168.1.130
I (8376) osc_pedal: WiFi test passed!

Related to:

Both the esp_wifi_remote and esp_hosted bindings have been added, along
with a fix for a missing ESP_IDF_VERSION set that comes from the
get_idf_version function in idf_tools.py, which is called by idf.py
during build. Since we're not using idf.py directly, we're missing this
environment variable and setting it here fixes this gap for modules that
use it.
@ivmarkov
Copy link
Collaborator

Thanks!

@ivmarkov ivmarkov merged commit 3936490 into esp-rs:master Feb 24, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants