ZQ_vQueueCreate

void ZQ_vQueueCreate(tszQueue *psQueueHandle,
                    const uint32 uiQueueLength,
                    const uint32 uiItemSize,
                    uint8 *pu8StartQueue);

Description

This function creates a message queue for use by the application or stack (message queues are described in Section 6.9.1). The size of the queue and the size of a message in the queue must be specified, as well as the location in memory where the queue should start. A unique handle must also be given to the queue, where this handle is a pointer to a tszQueuestructure that contains up-to-date information about the queue.

Parameters

  • psQueueHandle Handle of message queue - this is a pointer to a tszQueue structure (see Section 10.1.2.1).

  • uiQueueLength Size of the queue in terms of the number of messages that it can hold.

  • uiItemSize Size of a message in the queue, in bytes.

  • pu8StartQueue Pointer to the start of the message queue.

Parent topic:ZQ_vQueueCreate

Returns

None

Parent topic:ZQ_vQueueCreate

Parent topic:ZigBee queue functions