[riot-notifications] [RIOT-OS/RIOT] net: NETOPT_MAX_{PACKET_SIZE -> L2_PDU_SIZE} (#10905)

Martine Lenders notifications at github.com
Wed Jan 30 14:32:06 CET 2019

> Still sooner or later users of `NETOPT_MAX_PACKET_SIZE` would need to adapt their code. So this is not reducing the effort required to adapt, but merely delay it to some future point in time. I personally favor doing renaming in one concentrated effort and then be done with it.

Unless absolutely impossible, we usually deprecate an API component first before we remove it, so I'd prefer the `#define` solution more. This can get a `@deprecated` note directly in its documentation, so it will appear in the [deprecated list](http://doc.riot-os.org/deprecated.html). Also a referencing note should be added to `NETOPT_MAX_L2_PDU_SIZE` so users are made aware that this was a rename.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190130/f4cc3b46/attachment-0001.html>

More information about the notifications mailing list