smoltcp
smoltcp copied to clipboard
Refactor 6LoWPAN function
Now, handling UDP packets is done using process_udp
. Also removed cfg_if!
in interface
since that messed with formatting of the code.
It also contains a fix for the fragmentation.
Can confirm this fixes the 6LoWPAN fragmentation errors.
Going to merge this, but making an issue for the ICMP unreachable payload that is incorrect for 6LoWPAN (which has always been the case since for now).
bors r+
Apparently ICMPv6 unreachable error messages are created correctly, and I just thought they were wrong.