|
LoRaMAC
4.6.0
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
177 #endif // __LORAMAC_CONFIRMQUEUE_H__
bool LoRaMacConfirmQueueRemoveFirst(void)
Removes the first element which was added to the confirm queue.
Definition: LoRaMac.h:2461
bool LoRaMacConfirmQueueIsCmdActive(Mlme_t request)
Verifies if a request is in the queue and active.
void LoRaMacConfirmQueueInit(LoRaMacPrimitives_t *primitive)
Initializes the confirm queue.
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:1294
bool LoRaMacConfirmQueueRemoveLast(void)
Removes the last element which was added into the queue.
LoRa MAC layer implementation.
Mlme_t
LoRaMAC management services.
Definition: LoRaMac.h:1081
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
uint8_t LoRaMacConfirmQueueGetCnt(void)
Query number of elements in the queue.
LoRaMacEventInfoStatus_t
Definition: LoRaMac.h:394