mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
gnrc_nettype: deprecate GNRC_NETTYPE_LORAWAN
This commit is contained in:
parent
5c75f84d6e
commit
549f215701
@ -4,6 +4,7 @@ DEPRECATED_MODULES += gnrc_gomach
|
||||
DEPRECATED_MODULES += gnrc_lwmac
|
||||
DEPRECATED_MODULES += gnrc_mac
|
||||
DEPRECATED_MODULES += gnrc_nettype_gomach
|
||||
DEPRECATED_MODULES += gnrc_nettype_lorawan
|
||||
DEPRECATED_MODULES += gnrc_nettype_lwmac
|
||||
DEPRECATED_MODULES += sema_deprecated
|
||||
DEPRECATED_MODULES += ztimer_now64
|
||||
|
@ -156,6 +156,10 @@ PSEUDOMODULES += gnrc_nettype_ipv6_ext
|
||||
|
||||
## @defgroup net_gnrc_nettype_lorawan gnrc_nettype_lorawan
|
||||
## Enables @ref GNRC_NETTYPE_LORAWAN
|
||||
##
|
||||
## @deprecated LoRaWAN payloads do not have a special type anymore and just use
|
||||
## @ref GNRC_NETTYPE_UNDEF. There is no module needed for that.
|
||||
## This module will be removed after 2024.10 release.
|
||||
## @{
|
||||
PSEUDOMODULES += gnrc_nettype_lorawan
|
||||
## @}
|
||||
|
@ -91,7 +91,12 @@ typedef enum {
|
||||
#endif
|
||||
|
||||
#if IS_USED(MODULE_GNRC_NETTYPE_LORAWAN) || defined(DOXYGEN)
|
||||
GNRC_NETTYPE_LORAWAN, /**< Protocol is LoRaWAN */
|
||||
/**
|
||||
* @brief Protocol is LoRaWAN
|
||||
* @deprecated LoRaWAN payloads do not have a special type anymore and just use
|
||||
* @ref GNRC_NETTYPE_UNDEF. Will be removed after 2024.10 release.
|
||||
*/
|
||||
#define GNRC_NETTYPE_LORAWAN GNRC_NETTYPE_UNDEF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -70,11 +70,6 @@ static void _dump_snip(gnrc_pktsnip_t *pkt)
|
||||
}
|
||||
break;
|
||||
#endif /* IS_USED(MODULE_GNRC_NETTYPE_SIXLOWPAN) */
|
||||
#if IS_USED(MODULE_GNRC_NETTYPE_LORAWAN)
|
||||
case GNRC_NETTYPE_LORAWAN:
|
||||
printf("NETTYPE_LORAWAN (%i)\n", pkt->type);
|
||||
break;
|
||||
#endif /* IS_USED(MODULE_GNRC_NETTYPE_LORAWAN) */
|
||||
#if IS_USED(MODULE_GNRC_NETTYPE_IPV6)
|
||||
case GNRC_NETTYPE_IPV6:
|
||||
printf("NETTYPE_IPV6 (%i)\n", pkt->type);
|
||||
|
Loading…
Reference in New Issue
Block a user