From 7fd0364d599a96cd609cb3cf91eeaa89220e24c0 Mon Sep 17 00:00:00 2001 From: Jose Alamos Date: Tue, 23 Feb 2021 13:49:42 +0100 Subject: [PATCH] net/netopt: deprecate NETOPT_LORAWAN_TX_PORT --- sys/include/net/netopt.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sys/include/net/netopt.h b/sys/include/net/netopt.h index 0a87aeaf9d..0089d9c5e8 100644 --- a/sys/include/net/netopt.h +++ b/sys/include/net/netopt.h @@ -640,6 +640,20 @@ typedef enum { /** * @brief (uint8_t) LoRaWAN TX application port * - LoRaWAN: between 1 and 223 (included) + * + * @deprecated This option is deprecated and will be removed in the + * 2022.01 Release. + * The port is encoded now as a one byte + * destination address in a @ref net_gnrc_netif_hdr snip + * prepended in the packet. + * The user must take care of prepending the required snip + * during transmission. On reception, the + * snip is prepended automatically by the stack and shall be + * consumed by the user. + * During the deprecation period it is required to + * compile with @ref + * CONFIG_GNRC_NETIF_LORAWAN_NETIF_HDR + * */ NETOPT_LORAWAN_TX_PORT,