Reference Manual C API (Events)
- void pushEvent(char* payload)
pushes an event with type "default" onto the global (default) event queue.
- void pushEventType(char* eventType)
pushes an event with given type, but no payload onto the global (default) event queue.
- pushEventType_data(char* eventType, char* payload)
pushes an event with given type and payload string onto the global (default) event queue.
- pushEventType_dataBytes(char* eventType, unsigned char* payload, int nBytes)
pushes an event with given type and payload bytes onto the global (default) event queue.