[X] I confirm this contribution is my own and I agree to license it with Apache 2.0.
[X] I confirm the moderators may change the PR before merging it in.
Summary of changes
Three code size optimisations:
Use fast rather than fixed types in CoAP internals
Reorder structures for code size
Don't use negative value on some minor internal static functions.
While investigating that, one undefined behaviour correction:
Avoid unsafe pointer aliasing on write to etag_len.
[X] I confirm this contribution is my own and I agree to license it with Apache 2.0. [X] I confirm the moderators may change the PR before merging it in.
Summary of changes
Three code size optimisations:
While investigating that, one undefined behaviour correction:
etag_len
.