|
struct | MacCommand_t |
|
#define | LORAMAC_COMMADS_MAX_NUM_OF_PARAMS 2 |
|
enum | LoRaMacCommandStatus_t {
LORAMAC_COMMANDS_SUCCESS = 0,
LORAMAC_COMMANDS_ERROR_NPE,
LORAMAC_COMMANDS_ERROR_MEMORY,
LORAMAC_COMMANDS_ERROR_CMD_NOT_FOUND,
LORAMAC_COMMANDS_ERROR_UNKNOWN_CMD,
LORAMAC_COMMANDS_ERROR
} |
|
typedef void(* | LoRaMacCommandsNvmEvent) (void) |
|
LoRaMacCommandStatus_t | LoRaMacCommandsInit (void) |
| Initialization of LoRaMac MAC commands module. More...
|
|
LoRaMacCommandStatus_t | LoRaMacCommandsAddCmd (uint8_t cid, uint8_t *payload, size_t payloadSize) |
| Adds a new MAC command to be sent. More...
|
|
LoRaMacCommandStatus_t | LoRaMacCommandsRemoveCmd (MacCommand_t *macCmd) |
| Remove a MAC command. More...
|
|
LoRaMacCommandStatus_t | LoRaMacCommandsGetCmd (uint8_t cid, MacCommand_t **macCmd) |
| Get the MAC command with corresponding CID. More...
|
|
LoRaMacCommandStatus_t | LoRaMacCommandsRemoveNoneStickyCmds (void) |
| Remove all none sticky MAC commands. More...
|
|
LoRaMacCommandStatus_t | LoRaMacCommandsRemoveStickyAnsCmds (void) |
| Remove all sticky answer MAC commands. More...
|
|
LoRaMacCommandStatus_t | LoRaMacCommandsGetSizeSerializedCmds (size_t *size) |
| Get size of all MAC commands serialized as buffer. More...
|
|
LoRaMacCommandStatus_t | LoRaMacCommandsSerializeCmds (size_t availableSize, size_t *effectiveSize, uint8_t *buffer) |
| Get as many as possible MAC commands serialized. More...
|
|
LoRaMacCommandStatus_t | LoRaMacCommandsStickyCmdsPending (bool *cmdsPending) |
| Determines if there are sticky MAC commands pending. More...
|
|
uint8_t | LoRaMacCommandsGetCmdSize (uint8_t cid) |
| Get the MAC command size with corresponding CID. More...
|
|
LoRa MAC commands.
- Copyright
- Revised BSD License, see section License.
______ _
/ _____) _ | |
( (____ _____ ____ _| |_ _____ ____| |__
\____ \| ___ | (_ _) ___ |/ ___) _ \
_____) ) ____| | | || |_| ____( (___| | | |
(______/|_____)_|_|_| \__)_____)\____)_| |_|
(C)2013 Semtech
___ _____ _ ___ _ _____ ___ ___ ___ ___
/ __|_ _/_\ / __| |/ / __/ _ \| _ \/ __| __|
\__ \ | |/ _ \ (__| ' <| _| (_) | / (__| _|
|___/ |_/_/ \_\___|_|\_\_| \___/|_|_\\___|___|
embedded.connectivity.solutions===============
- Author
- Miguel Luis ( Semtech )
-
Daniel Jaeckle ( STACKFORCE )
-
Johannes Bruder ( STACKFORCE )
addtogroup LORAMAC