embassy-rs / embassy

Modern embedded framework, using Rust and async.
https://embassy.dev
Apache License 2.0
5.59k stars 776 forks source link

ICMP example request #1113

Open overheat opened 1 year ago

overheat commented 1 year ago

I found ICMP support in README, but cannot find it in code.

Do we have any example for ICMP?

Dirbaio commented 1 year ago

ICMP is supported as in it replies to pings. Actually doing more advanced stuff would require an IcmpSocket in embassy-net, wrapping smoltcp's IcmpSocket. It should be similar to the UdpSocket already present if you want to use it as a template. PR's welcome :)

overheat commented 1 year ago

Need some help. #1123