|
SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
|
Error codes returned by function SharkMQTT_getMessage
Macros | |
| #define | SMQTTE_SOCKET -1 |
| Error codes received from the TCP/IP stack are sent "as is". More... | |
| #define | SMQTTE_ERRORBASE -10000 |
| This code is not used. More... | |
| #define | SMQTTE_TIMEOUT -10001 |
| Similar to SMQTT_TIMEOUT, but returned when a timeout was not expected. More... | |
| #define | SMQTTE_PONGTIMEOUT -10002 |
| The client sent a PING to the broker but did not receive a PONG response. More... | |
| #define | SMQTTE_PROTOCOL_ERROR -10003 |
| Something's wrong. More... | |
| #define | SMQTTE_OVERFLOW -10005 |
| The SharkSSL output buffer is not sufficiently large for the operation you are attempting. More... | |
| #define | SMQTTE_ALREADYCON -10006 |
| Calling SharkMQ_connect when a connection is already established. More... | |
| #define | SMQTTE_CONREFUSED -10007 |
| Broker refused the connection request. More... | |
| #define | SMQTTE_SERVERNOTTRUSTED -10008 |
| Returned by SharkMQTT_connect if the MQTT broker is not trusted. More... | |
| #define | SMQTTE_NOMEM -10009 |
| A pending QoS operation could not be stored. More... | |
| #define SMQTTE_ALREADYCON -10006 |
Calling SharkMQ_connect when a connection is already established.
| #define SMQTTE_CONREFUSED -10007 |
Broker refused the connection request.
See SharkMQTT_connackCode for details.
| #define SMQTTE_ERRORBASE -10000 |
This code is not used.
The code is the base for error codes returned by SharkMQ.
| #define SMQTTE_NOMEM -10009 |
A pending QoS operation could not be stored.
| #define SMQTTE_OVERFLOW -10005 |
The SharkSSL output buffer is not sufficiently large for the operation you are attempting.
Increase the buffer size.
| #define SMQTTE_PONGTIMEOUT -10002 |
The client sent a PING to the broker but did not receive a PONG response.
| #define SMQTTE_PROTOCOL_ERROR -10003 |
Something's wrong.
| #define SMQTTE_SERVERNOTTRUSTED -10008 |
Returned by SharkMQTT_connect if the MQTT broker is not trusted.
SharkMQTT_connect calls seSec_handshake and expects the return value from this function to be SharkSslConTrust_CertCnDate if the code is compiled with the flag SHARKSSL_CHECK_DATE=1 and the return value to be SharkSslConTrust_CertCn if compiled without this flag set.
| #define SMQTTE_SOCKET -1 |
Error codes received from the TCP/IP stack are sent "as is".
These error codes have a value greater than SMQTTE_ERRORBASE.
| #define SMQTTE_TIMEOUT -10001 |
Similar to SMQTT_TIMEOUT, but returned when a timeout was not expected.