Lines Matching +full:short +full:- +full:codes

4  * SPDX-License-Identifier: Apache-2.0
9 * @brief MQTT-SN Client Implementation
12 * MQTT-SN Client's Application interface is defined in this header.
15 * @defgroup mqtt_sn_socket MQTT-SN Client library
41 * Quality of Service. QoS 0-2 work the same as basic MQTT, QoS -1 is an MQTT-SN addition.
42 * QOS -1 is not supported yet.
48 MQTT_SN_QOS_M1 /**< QOS -1 */
52 * MQTT-SN topic types.
57 * It allows usage of any valid UTF-8 string as a topic name.
61 * Pre-defined topic.
62 * It allows usage of a two-byte identifier representing a topic name for
68 * Short topic.
69 * It allows usage of a two-byte string as a topic name.
75 * MQTT-SN return codes.
99 #define MQTT_SN_DATA_STRING_LITERAL(literal) ((struct mqtt_sn_data){literal, sizeof(literal) - 1})
142 * MQTT-SN event structure to be handled by the event callback.
164 * @brief Structure to describe an MQTT-SN transport.
166 * MQTT-SN does not require transports to be reliable or to hold a connection.
167 * Transports just need to be frame-based, so you can use UDP, ZigBee, or even
243 * @param[in] gwaddr Pre-initialized gateway address
251 * Structure describing an MQTT-SN client.
254 /** 1-23 character unique client ID */
300 /** Current state of the MQTT-SN client */
318 /** Delayable work structure for processing MQTT-SN events */
325 * @param client The MQTT-SN client to initialize.
343 * This removes all topics and publishes, and also de-inits the transport.
345 * @param client The MQTT-SN client to deinitialize.
354 * @param client The MQTT-SN client to connect.
363 * @brief Initiate the MQTT-SN GW Search process.
365 * @param client The MQTT-SN client to connect.
375 * @param client The MQTT-SN client to connect.
386 * @param client The MQTT-SN client to disconnect.
395 * @param client The MQTT-SN client to be put to sleep.
405 * @param client The MQTT-SN client that should subscribe.
417 * @param client The MQTT-SN client that should unsubscribe.
431 * @param client The MQTT-SN client that should publish.
446 * If the client's transport struct contains a poll-function, this function is non-blocking.
448 * @param client The MQTT-SN client to check for incoming data.
457 * @param[in] client The MQTT-SN client that uses this topic.
461 * @return 0 on success, -ENOENT if topic ID doesn't exist,
462 * or -EINVAL on invalid arguments.