This package includes the SharkSSL lite library and header files.
Dependents:
WebSocket-Client-Example
SharkMQ-LED-Demo
« Back to documentation index
SharkMQ Struct Reference
SharkMQ structure.
More...
#include <SharkMQ.h >
Data Fields
U8 * buf
The buffer provides an [out] param for a few methods.
U32 timeout
Timeout in milliseconds to wait in functions waiting for server data.
U32 clientTid
Client's unique topic ID.
U32 tid
Topic: set when receiving MSG_PUBLISH from broker.
U32 ptid
Publisher's tid: Set when receiving MSG_PUBLISH from broker.
U32 subtid
Sub-tid: set when receiving MSG_PUBLISH from broker.
int status
Last known error code.
U16 frameLen
The SimpleMQ frame size for the incomming data.
U16 bytesRead
Read frame data using SharkMQ_getMessage until: frameLen-bytesRead = 0.
Detailed Description
SharkMQ structure.
Definition at line 138 of file SharkMQ.h .
Field Documentation
The buffer provides an [out] param for a few methods.
Definition at line 151 of file SharkMQ.h .
Read frame data using SharkMQ_getMessage until: frameLen-bytesRead = 0.
Definition at line 167 of file SharkMQ.h .
Client's unique topic ID.
Definition at line 158 of file SharkMQ.h .
The SimpleMQ frame size for the incomming data.
Definition at line 165 of file SharkMQ.h .
Publisher's tid: Set when receiving MSG_PUBLISH from broker.
Definition at line 160 of file SharkMQ.h .
Last known error code.
Definition at line 162 of file SharkMQ.h .
Sub-tid: set when receiving MSG_PUBLISH from broker.
Definition at line 161 of file SharkMQ.h .
Topic: set when receiving MSG_PUBLISH from broker.
Definition at line 159 of file SharkMQ.h .
Timeout in milliseconds to wait in functions waiting for server data.
Definition at line 156 of file SharkMQ.h .