SharkSSL™ Embedded SSL/TLS Stack
Error codes returned by function SharkMQ_getMessage

Detailed Description

Error codes returned by function SharkMQ_getMessage

Macros

#define SMQE_BUF_OVERFLOW   -10000
 The buffer provided in SharkMQ_constructor is not sufficiently large.
 
#define SMQE_ONACK_DENIED   -10000
 Subscribe, Create, or Createsub denied.
 
#define SMQE_INVALID_URL   -10002
 The URL provided is invalid.
 
#define SMQE_PROTOCOL_ERROR   -10003
 TCP connection error.
 
#define SMQE_DISCONNECT   -10004
 Server sent a disconnect message.
 
#define SMQE_PONGTIMEOUT   -10005
 No PONG response to PING: timeout.