tszQueue
The ZigBee queue structure tszQueueis shown below.
typedef struct
{
uint32 u32Length;
uint32 u32ItemSize;
uint32 u32MessageWaiting;
void *pvHead;
void *pvWriteTo;
void *pvReadFrom;
}tszQueue;
where:
u32Lengthis the size of the queue in terms of the number of messages that it can holdu32ItemSizeis the size of a message, in bytesu32MessageWaitingis the number of messages currently in the queuepvHeadis a pointer to the beginning of the queue storage areapvWriteTois a pointer to the next free place in the storage area where a new message can be writtenpvReadFromis a pointer to the next message to be read from the storage area
Parent topic:ZigBee queue structures