Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose bindings #360

Merged
merged 6 commits into from
Jan 5, 2025
Merged

Expose bindings #360

merged 6 commits into from
Jan 5, 2025

Conversation

indexds
Copy link
Contributor

@indexds indexds commented Jan 5, 2025

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

See esp-rs/esp-idf-svc#537 for more details. The goal is to be able to access the underlying netif struct from an esp_netif_t.

Testing

Works. The necessary function is exposed properly:

use esp_idf_svc::sys::esp_netif_get_netif_impl

src/include/esp-idf/bindings.h Outdated Show resolved Hide resolved
src/include/esp-idf/bindings.h Outdated Show resolved Hide resolved
@ivmarkov ivmarkov merged commit c091b5a into esp-rs:master Jan 5, 2025
20 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