MQTT Client: LIBRARY Generated Error Codes

Message Queuing Telemetry Transport Protocol

LIBRARY Generated Error Codes

Defines

#define MQP_ERR_NETWORK   (-1)
#define MQP_ERR_TIMEOUT   (-2)
#define MQP_ERR_NET_OPS   (-3)
#define MQP_ERR_FNPARAM   (-4)
#define MQP_ERR_PKT_AVL   (-5)
#define MQP_ERR_PKT_LEN   (-6)
#define MQP_ERR_NOTCONN   (-7)
#define MQP_ERR_BADCALL   (-8)
#define MQP_ERR_CONTENT   (-9)
#define MQP_ERR_LIBQUIT   (-10)
#define MQP_ERR_NOT_DEF   (-32)

Detailed Description

Library provides these codes as return values in several routines


Define Documentation

#define MQP_ERR_BADCALL   (-8)

Irrelevant call for LIB state

#define MQP_ERR_CONTENT   (-9)

MSG / Data content has errors

#define MQP_ERR_FNPARAM   (-4)

Invalid parameter(s) provided

#define MQP_ERR_LIBQUIT   (-10)

Needs reboot library has quit

#define MQP_ERR_NET_OPS   (-3)

Platform Net Ops un-available

#define MQP_ERR_NETWORK   (-1)

Problem in network (sock err)

#define MQP_ERR_NOT_DEF   (-32)

Value other than defined ones

#define MQP_ERR_NOTCONN   (-7)

Lib isn't CONNECTED to server

#define MQP_ERR_PKT_AVL   (-5)

No pkts are available in pool

#define MQP_ERR_PKT_LEN   (-6)

Inadequate free buffer in pkt

#define MQP_ERR_TIMEOUT   (-2)

Net transaction has timed out

Generated on Mon Nov 17 2014 12:11:04 for MQTT Client by  doxygen 1.7.4