Lines Matching +full:0 +full:x01 +full:- +full:negative

4  * SPDX-License-Identifier: Apache-2.0
17 * @version 0.8.0
86 MQTT_VERSION_3_1_0 = 3, /**< Protocol level for 3.1.0. */
95 MQTT_QOS_0_AT_MOST_ONCE = 0x00,
100 MQTT_QOS_1_AT_LEAST_ONCE = 0x01,
106 MQTT_QOS_2_EXACTLY_ONCE = 0x02
112 MQTT_CONNECTION_ACCEPTED = 0x00,
117 MQTT_UNACCEPTABLE_PROTOCOL_VERSION = 0x01,
119 /** The Client identifier is correct UTF-8 but not allowed by the
122 MQTT_IDENTIFIER_REJECTED = 0x02,
127 MQTT_SERVER_UNAVAILABLE = 0x03,
130 MQTT_BAD_USER_NAME_OR_PASSWORD = 0x04,
133 MQTT_NOT_AUTHORIZED = 0x05
138 /** Subscription with QoS 0 succeeded. */
139 MQTT_SUBACK_SUCCESS_QoS_0 = 0x00,
142 MQTT_SUBACK_SUCCESS_QoS_1 = 0x01,
145 MQTT_SUBACK_SUCCESS_QoS_2 = 0x02,
148 MQTT_SUBACK_FAILURE = 0x80
151 /** @brief Abstracts UTF-8 encoded strings. */
153 const uint8_t *utf8; /**< Pointer to UTF-8 string. */
158 * @brief Initialize UTF-8 encoded string from C literal string.
167 ((struct mqtt_utf8) {literal, sizeof(literal) - 1})
175 /** @brief Abstracts MQTT UTF-8 encoded topic that can be subscribed
202 /** The appropriate non-zero Connect return code indicates if the Server
255 /** Message id used for the publish message. Redundant for QoS 0. */
259 * retransmitted. Has no meaning with QoS 0.
324 /** Event result. 0 or a negative error code (errno.h) indicating
559 /** Clean session flag indicating a fresh (1) or a retained session (0).
588 * @return 0 or a negative error code (errno.h) indicating reason of failure.
607 * @return 0 or a negative error code (errno.h) indicating reason of failure.
610 * set client.protocol_version = MQTT_VERSION_3_1_0 to use protocol 3.1.0.
625 * @return 0 or a negative error code (errno.h) indicating reason of failure.
639 * @return 0 or a negative error code (errno.h) indicating reason of failure.
653 * @return 0 or a negative error code (errno.h) indicating reason of failure.
666 * @return 0 or a negative error code (errno.h) indicating reason of failure.
680 * @return 0 or a negative error code (errno.h) indicating reason of failure.
692 * @return 0 or a negative error code (errno.h) indicating reason of failure.
707 * @return 0 or a negative error code (errno.h) indicating reason of failure.
714 * handles the connection keep-alive on it's own, see @ref mqtt_live.
719 * @return 0 or a negative error code (errno.h) indicating reason of failure.
729 * @return 0 or a negative error code (errno.h) indicating reason of failure.
741 * @return 0 or a negative error code (errno.h) indicating reason of failure.
757 * @return 0 or a negative error code (errno.h) indicating reason of failure.
768 * be sent. Function will return -1 if keep alive messages are
781 * @note This is a non-blocking call.
786 * @return 0 or a negative error code (errno.h) indicating reason of failure.
795 * @note This is a non-blocking call.
802 * @return Number of bytes read or a negative error code (errno.h) indicating
816 * @return Number of bytes read or a negative error code (errno.h) indicating
831 * @return 0 if success, otherwise a negative error code (errno.h) indicating