|
LoRaMAC
4.4.5
Documentation of the API
|
Go to the documentation of this file.
39 #ifndef __LORAMAC_CONFIRMQUEUE_H__
40 #define __LORAMAC_CONFIRMQUEUE_H__
55 #define LORA_MAC_MLME_CONFIRM_QUEUE_LEN 5
60 typedef struct sMlmeConfirmQueue
204 #endif // __LORAMAC_CONFIRMQUEUE_H__
bool LoRaMacConfirmQueueRemoveFirst(void)
Removes the first element which was added to the confirm queue.
Definition: LoRaMac.h:2352
bool LoRaMacConfirmQueueIsCmdActive(Mlme_t request)
Verifies if a request is in the queue and active.
LoRaMacEventInfoStatus_t LoRaMacConfirmQueueGetStatus(Mlme_t request)
Gets the status of an element.
Definition: LoRaMacConfirmQueue.h:60
LoRaMacEventInfoStatus_t LoRaMacConfirmQueueGetStatusCmn(void)
Gets the common status of all elements.
void LoRaMacConfirmQueueSetStatus(LoRaMacEventInfoStatus_t status, Mlme_t request)
Sets the status of an element.
void LoRaMacConfirmQueueHandleCb(MlmeConfirm_t *mlmeConfirm)
Handles all callbacks of active requests.
LoRaMacEventInfoStatus_t Status
Definition: LoRaMacConfirmQueue.h:69
bool LoRaMacConfirmQueueAdd(MlmeConfirmQueue_t *mlmeConfirm)
Adds an element to the confirm queue.
void LoRaMacConfirmQueueSetStatusCmn(LoRaMacEventInfoStatus_t status)
Sets a common status for all elements in the queue.
Definition: LoRaMac.h:1156
bool LoRaMacConfirmQueueRestoreNvmCtx(void *confirmQueueNvmCtx)
void LoRaMacConfirmQueueInit(LoRaMacPrimitives_t *primitives, LoRaMacConfirmQueueNvmEvent confirmQueueNvmCtxChanged)
Initializes the confirm queue.
bool LoRaMacConfirmQueueRemoveLast(void)
Removes the last element which was added into the queue.
void * LoRaMacConfirmQueueGetNvmCtx(size_t *confirmQueueNvmCtxSize)
LoRa MAC layer implementation.
Mlme_t
LoRaMAC management services.
Definition: LoRaMac.h:945
Mlme_t Request
Definition: LoRaMacConfirmQueue.h:65
bool ReadyToHandle
Definition: LoRaMacConfirmQueue.h:73
bool LoRaMacConfirmQueueIsFull(void)
Verify if the confirm queue is full.
bool RestrictCommonReadyToHandle
Definition: LoRaMacConfirmQueue.h:78
void(* LoRaMacConfirmQueueNvmEvent)(void)
Definition: LoRaMacConfirmQueue.h:85
uint8_t LoRaMacConfirmQueueGetCnt(void)
Query number of elements in the queue.
LoRaMacEventInfoStatus_t
Definition: LoRaMac.h:508