24 lines
338 B
C
24 lines
338 B
C
#ifndef Queue_ADI
|
|
|
|
#define Queue_ADI
|
|
|
|
//queue for incoming at200 data.. outgoing to cloud 18 byte record
|
|
#define at_QSIZ 500
|
|
struct AT200Q
|
|
{
|
|
long serial;
|
|
byte chan;
|
|
byte batt;
|
|
byte type;
|
|
byte stat;
|
|
int ver;
|
|
int rssi;
|
|
int data;
|
|
uint32_t etime;
|
|
} at_Q[at_QSIZ], at_Qtempdata;
|
|
|
|
int at_Qhead = 0;
|
|
int at_Qtail = 0;
|
|
|
|
#endif
|