smoltcp icon indicating copy to clipboard operation
smoltcp copied to clipboard

Refactor 6LoWPAN function

Open thvdveld opened this issue 1 year ago • 1 comments

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.

thvdveld avatar Sep 22 '22 15:09 thvdveld

Can confirm this fixes the 6LoWPAN fragmentation errors.

benbrittain avatar Sep 22 '22 15:09 benbrittain

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+

thvdveld avatar Oct 10 '22 10:10 thvdveld

Apparently ICMPv6 unreachable error messages are created correctly, and I just thought they were wrong.

thvdveld avatar Oct 10 '22 10:10 thvdveld

Build succeeded:

bors[bot] avatar Oct 10 '22 10:10 bors[bot]