#driver #networking #background-task #async #stack #embassy-net

no-std embassy-net-driver

Driver trait for the embassy-net async TCP/IP network stack

3 releases (breaking)

0.2.0 Oct 18, 2023
0.1.0 Jun 29, 2023
0.0.0 Jan 3, 2023

#2313 in Embedded development

Download history 4933/week @ 2024-11-18 4088/week @ 2024-11-25 3484/week @ 2024-12-02 2712/week @ 2024-12-09 5313/week @ 2024-12-16 2331/week @ 2024-12-23 3001/week @ 2024-12-30 5610/week @ 2025-01-06 7326/week @ 2025-01-13 5770/week @ 2025-01-20 5062/week @ 2025-01-27 5675/week @ 2025-02-03 6048/week @ 2025-02-10 5000/week @ 2025-02-17 4260/week @ 2025-02-24 4652/week @ 2025-03-03

20,388 downloads per month
Used in 47 crates (8 directly)

MIT/Apache

12KB
95 lines

embassy-net-driver

This crate contains the driver trait necessary for adding embassy-net support for a new hardware platform.

If you want to use embassy-net with already made drivers, you should depend on the main embassy-net crate, not on this crate.

If you are writing a driver, you should depend only on this crate, not on the main embassy-net crate. This will allow your driver to continue working for newer embassy-net major versions, without needing an update, if the driver trait has not had breaking changes.

See also embassy-net-driver-channel, which provides a higer-level API to construct a driver that processes packets in its own background task and communicates with the embassy-net task via packet queues for RX and TX.

Interoperability

This crate can run on any executor.

License

This work is licensed under either of

at your option.

Dependencies

~160KB