#udp-packet #ip #no-alloc #async #creation #protocols #parser

no-std edge-raw

Async + no_std + no-alloc implementation of IP and UDP packet creation and parsing

2 unstable releases

0.2.0 Feb 1, 2024
0.1.0 Jan 27, 2024

#1856 in Embedded development

Download history 9/week @ 2024-01-24 18/week @ 2024-01-31 6/week @ 2024-02-14 22/week @ 2024-02-21 9/week @ 2024-02-28 2/week @ 2024-03-06 14/week @ 2024-03-13 21/week @ 2024-03-27 23/week @ 2024-04-03 3/week @ 2024-04-10 11/week @ 2024-04-17

58 downloads per month
Used in 2 crates

MIT/Apache

30KB
757 lines

edge-raw

CI crates.io Documentation

Async + no_std + no-alloc implementation of IP and UDP packet creation and parsing.

The edge_raw::io module contains implementations of the embedded_nal_async_xtra::RawStack trait, as well as of the embedded_nal_async::UdpSocket trait. These are useful in the context of protocols like DHCP, which - while working on top of UDP - need to be capable of receiving and sending packets to peers that do not have an IP address assigned yet.

For other protocols, look at the edge-net aggregator crate documentation.

Examples

Look at the edge-dhcp crate as to how to utilize the capabilities of edge-raw.

Dependencies

~275KB