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

4  * SPDX-License-Identifier: Apache-2.0
83 MQTT_VERSION_3_1_0 = 3, /**< Protocol level for 3.1.0. */
92 MQTT_QOS_0_AT_MOST_ONCE = 0x00,
97 MQTT_QOS_1_AT_LEAST_ONCE = 0x01,
103 MQTT_QOS_2_EXACTLY_ONCE = 0x02
109 MQTT_CONNECTION_ACCEPTED = 0x00,
114 MQTT_UNACCEPTABLE_PROTOCOL_VERSION = 0x01,
116 /** The Client identifier is correct UTF-8 but not allowed by the
119 MQTT_IDENTIFIER_REJECTED = 0x02,
124 MQTT_SERVER_UNAVAILABLE = 0x03,
127 MQTT_BAD_USER_NAME_OR_PASSWORD = 0x04,
130 MQTT_NOT_AUTHORIZED = 0x05
135 /** Subscription with QoS 0 succeeded. */
136 MQTT_SUBACK_SUCCESS_QoS_0 = 0x00,
139 MQTT_SUBACK_SUCCESS_QoS_1 = 0x01,
142 MQTT_SUBACK_SUCCESS_QoS_2 = 0x02,
145 MQTT_SUBACK_FAILURE = 0x80
148 /** @brief Abstracts UTF-8 encoded strings. */
150 const uint8_t *utf8; /**< Pointer to UTF-8 string. */
155 * @brief Initialize UTF-8 encoded string from C literal string.
164 ((struct mqtt_utf8) {literal, sizeof(literal) - 1})
172 /** @brief Abstracts MQTT UTF-8 encoded topic that can be subscribed
199 /** The appropriate non-zero Connect return code indicates if the Server
252 /** Message id used for the publish message. Redundant for QoS 0. */
256 * retransmitted. Has no meaning with QoS 0.
321 /** Event result. 0 or a negative error code (errno.h) indicating
542 /** Clean session flag indicating a fresh (1) or a retained session (0).
568 * @return 0 or a negative error code (errno.h) indicating reason of failure.
587 * @return 0 or a negative error code (errno.h) indicating reason of failure.
590 * set client.protocol_version = MQTT_VERSION_3_1_0 to use protocol 3.1.0.
605 * @return 0 or a negative error code (errno.h) indicating reason of failure.
619 * @return 0 or a negative error code (errno.h) indicating reason of failure.
633 * @return 0 or a negative error code (errno.h) indicating reason of failure.
646 * @return 0 or a negative error code (errno.h) indicating reason of failure.
660 * @return 0 or a negative error code (errno.h) indicating reason of failure.
672 * @return 0 or a negative error code (errno.h) indicating reason of failure.
687 * @return 0 or a negative error code (errno.h) indicating reason of failure.
694 * handles the connection keep-alive on it's own, see @ref mqtt_live.
699 * @return 0 or a negative error code (errno.h) indicating reason of failure.
709 * @return 0 or a negative error code (errno.h) indicating reason of failure.
721 * @return 0 or a negative error code (errno.h) indicating reason of failure.
737 * @return 0 or a negative error code (errno.h) indicating reason of failure.
748 * be sent. Function will return -1 if keep alive messages are
761 * @note This is a non-blocking call.
766 * @return 0 or a negative error code (errno.h) indicating reason of failure.
775 * @note This is a non-blocking call.
782 * @return Number of bytes read or a negative error code (errno.h) indicating
796 * @return Number of bytes read or a negative error code (errno.h) indicating
811 * @return 0 if success, otherwise a negative error code (errno.h) indicating