#driver #networking #embassy-net #hardware #traits #async #stack

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

#1773 in Embedded development

Download history 73/week @ 2024-01-01 165/week @ 2024-01-08 341/week @ 2024-01-15 474/week @ 2024-01-22 265/week @ 2024-01-29 216/week @ 2024-02-05 485/week @ 2024-02-12 1397/week @ 2024-02-19 993/week @ 2024-02-26 1675/week @ 2024-03-04 2049/week @ 2024-03-11 1331/week @ 2024-03-18 1474/week @ 2024-03-25 1160/week @ 2024-04-01 1392/week @ 2024-04-08 1425/week @ 2024-04-15

5,533 downloads per month
Used in 28 crates (7 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