RUI3 (RAK Unified Interface 3) - RAK4631
atcmd_queue.h File Reference

Go to the source code of this file.

Data Structures

struct  atcmd_permission_item
 

Macros

#define CONCAT_2(p1, p2)   CONCAT(p1, p2)
 
#define CONCAT(p1, p2)   p1##p2
 
#define str_(s)   #s
 
#define strq(s)   str_(s)
 
#define ATCMD_QUEUE_SUCCESS   0
 
#define ATCMD_QUEUE_ERROR   1
 
#define UNIQUE_NAME(base)   CONCAT_2(base,__COUNTER__)
 

Functions

uint32_t atcmd_queue_pop (atcmd_permission_item *p_element, uint32_t offset)
 
bool atcmd_queue_is_empty ()
 
int atcmd_queue_utilization_get ()
 

Macro Definition Documentation

◆ CONCAT_2

#define CONCAT_2 (   p1,
  p2 
)    CONCAT(p1, p2)

◆ CONCAT

#define CONCAT (   p1,
  p2 
)    p1##p2

◆ str_

#define str_ (   s)    #s

◆ strq

#define strq (   s)    str_(s)

◆ ATCMD_QUEUE_SUCCESS

#define ATCMD_QUEUE_SUCCESS   0

◆ ATCMD_QUEUE_ERROR

#define ATCMD_QUEUE_ERROR   1

◆ UNIQUE_NAME

#define UNIQUE_NAME (   base)    CONCAT_2(base,__COUNTER__)

Function Documentation

◆ atcmd_queue_pop()

uint32_t atcmd_queue_pop ( atcmd_permission_item p_element,
uint32_t  offset 
)

◆ atcmd_queue_is_empty()

bool atcmd_queue_is_empty ( )

◆ atcmd_queue_utilization_get()

int atcmd_queue_utilization_get ( )