SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
Error codes returned by function SharkMQ_getMessage

Detailed Description

Error codes returned by function SharkMQ_getMessage

Macros

#define SMQE_BUF_OVERFLOW   -10000
 The receive buffer, TLS send buffer, or 16-bit SMQ frame capacity is insufficient for the requested operation. More...
 
#define SMQE_ONACK_DENIED   -10000
 Subscribe, Create, or Createsub denied. More...
 
#define SMQE_INVALID_URL   -10002
 The URL provided is invalid. More...
 
#define SMQE_PROTOCOL_ERROR   -10003
 Invalid SMQ protocol data or invalid argument lengths/pointer pairs. More...
 
#define SMQE_DISCONNECT   -10004
 Server sent a disconnect message. More...
 
#define SMQE_PONGTIMEOUT   -10005
 No PONG response to PING: timeout. More...
 
#define SMQE_TLS_AUTH_FAILED   -10006
 The TLS server certificate or reference name was not fully authenticated. More...
 

Macro Definition Documentation

◆ SMQE_BUF_OVERFLOW

#define SMQE_BUF_OVERFLOW   -10000

The receive buffer, TLS send buffer, or 16-bit SMQ frame capacity is insufficient for the requested operation.

◆ SMQE_DISCONNECT

#define SMQE_DISCONNECT   -10004

Server sent a disconnect message.

◆ SMQE_INVALID_URL

#define SMQE_INVALID_URL   -10002

The URL provided is invalid.

◆ SMQE_ONACK_DENIED

#define SMQE_ONACK_DENIED   -10000

Subscribe, Create, or Createsub denied.

◆ SMQE_PONGTIMEOUT

#define SMQE_PONGTIMEOUT   -10005

No PONG response to PING: timeout.

◆ SMQE_PROTOCOL_ERROR

#define SMQE_PROTOCOL_ERROR   -10003

Invalid SMQ protocol data or invalid argument lengths/pointer pairs.

◆ SMQE_TLS_AUTH_FAILED

#define SMQE_TLS_AUTH_FAILED   -10006

The TLS server certificate or reference name was not fully authenticated.