LoRaWAN adaption for Network interface API.
More...
Go to the source code of this file.
◆ GNRC_NETIF_LORAWAN_FLAGS_LINK_CHECK
#define GNRC_NETIF_LORAWAN_FLAGS_LINK_CHECK (0x1U) |
A Link Check request was scheduled.
Definition at line 32 of file lorawan.h.
◆ gnrc_netif_lorawan_get_appkey()
Get the app key from the interface descriptor.
This getter function exists to allow if (IS_USED(...)) constructs in the LoRaWAN code in order to increase code coverage.
- Parameters
-
[in] | lw_netif | pointer to the interface descriptor |
- Returns
- pointer to the app key
Definition at line 99 of file lorawan.h.
◆ gnrc_netif_lorawan_set_appkey()
static int gnrc_netif_lorawan_set_appkey |
( |
gnrc_netif_lorawan_t * |
lw_netif, |
|
|
const uint8_t * |
key, |
|
|
size_t |
len |
|
) |
| |
|
inlinestatic |
Set the app key in the interface descriptor.
This getter function exists to allow if (IS_USED(...)) constructs in the LoRaWAN code in order to increase code coverage.
- Parameters
-
[in] | lw_netif | pointer to the interface descriptor |
[in] | key | pointer to the app key |
[in] | len | length of the app key |
- Returns
- 0 on success
-
<0 on failure
Definition at line 74 of file lorawan.h.
◆ gnrc_netif_lorawan_set_nwksenckey()
static int gnrc_netif_lorawan_set_nwksenckey |
( |
gnrc_netif_lorawan_t * |
lw_netif, |
|
|
const uint8_t * |
key, |
|
|
size_t |
len |
|
) |
| |
|
inlinestatic |
Set the network session encryption key in the interface descriptor.
This getter function exists to allow if (IS_USED(...)) constructs in the LoRaWAN code in order to increase code coverage.
- Parameters
-
[in] | lw_netif | pointer to the interface descriptor |
[in] | key | pointer to the network session encryption key |
[in] | len | length of network session encryption key |
- Returns
- 0 on success
-
<0 on failure
Definition at line 149 of file lorawan.h.
◆ gnrc_netif_lorawan_set_snwksintkey()
static int gnrc_netif_lorawan_set_snwksintkey |
( |
gnrc_netif_lorawan_t * |
lw_netif, |
|
|
const uint8_t * |
key, |
|
|
size_t |
len |
|
) |
| |
|
inlinestatic |
Set the serving network session integrity key in the interface descriptor.
This getter function exists to allow if (IS_USED(...)) constructs in the LoRaWAN code in order to increase code coverage.
- Parameters
-
[in] | lw_netif | pointer to the interface descriptor |
[in] | key | pointer to the serving network session integrity key |
[in] | len | length of serving network session integrity key |
- Returns
- 0 on success
-
<0 on failure
Definition at line 121 of file lorawan.h.