Skip to content

feat: add support for if_name on mqtt and http client - #635

Closed
SeaRoll wants to merge 1 commit into
esp-rs:masterfrom
SeaRoll:master
Closed

SeaRoll wants to merge 1 commit into
esp-rs:masterfrom
SeaRoll:master

Conversation

@SeaRoll

@SeaRoll SeaRoll commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

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 of the affected crate(s) in the proper section.

Pull Request Details 📖

Description

Added if_name as configuration on both mqtt and http client due to functionality support required in cases where users want to handle one traffic through one interface and another through another. (example: interface A with mqtt client and interface B with http requests.

Testing

Compile + clippy checks.

Working on an ongoing main file that works on an esp device.

@ivmarkov ivmarkov mentioned this pull request Nov 17, 2026
3 of 4 tasks
@ivmarkov

Copy link
Copy Markdown
Collaborator

Thanks! Please see #638 which changes the heapless::String usage to a regular &str at the expense of making the HttpConfiguration struct lifetimed (just like MqttConfiguration is already, by the way).

@ivmarkov ivmarkov closed this Nov 17, 2026
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