PublishQueuePosixRK
Loading...
Searching...
No Matches
Data Fields
PublishQueueEvent Struct Reference

Structure to hold an event in RAM or in files. More...

#include <PublishQueuePosixRK.h>

Data Fields

PublishFlags flags
 NO_ACK or WITH_ACK. Can use PRIVATE, but that's no longer needed.
 
char eventName [particle::protocol::MAX_EVENT_NAME_LENGTH+1]
 c-string event name (required)
 
char eventData [1]
 Variable size event data.
 

Detailed Description

Structure to hold an event in RAM or in files.

In RAM, this structure is stored in the ramQueue.

On the flash file system, each file contains one event and consists of the PublishQueueFileHeader above (8 bytes) plus this structure.

Note that the eventData is specified as 1 byte here, but it's actually sized to fit the event data with a null terminator.


The documentation for this struct was generated from the following file: