17 #ifndef __IOTC_CONNECTION_DATA_H__ 18 #define __IOTC_CONNECTION_DATA_H__ The connection is not established and there is no pending connection request.
struct iotc_connection_data_s iotc_connection_data_t
The MQTT CONNECT parameters.
enum iotc_mqtt_retain_e iotc_mqtt_retain_t
The MQTT retain flag.
iotc_mqtt_retain_t will_retain
Unused.
char * host
The MQTT broker hostname.
enum iotc_mqtt_qos_e iotc_mqtt_qos_t
The MQTT Quality of Service levels.
char * username
The MQTT client username.
uint16_t connection_timeout
The connection timeout in seconds.
iotc_session_type_t session_type
The MQTT client session.
The MQTT CONNECT parameters.
iotc_mqtt_qos_t will_qos
Unused.
iotc_connection_state_t connection_state
The CONNACK message from the MQTT broker.
enum iotc_session_type_e iotc_session_type_t
MQTT session types.
char * password
The MQTT client password.
char * client_id
The MQTT client ID.
The connection is closed.
Defines custom data formats.
The disconnect operation started.
enum iotc_connection_state_e iotc_connection_state_t
Connection process and lifecycle states.
uint16_t port
The port on which the MQTT broker listens.
The client connected to an MQTT broker.
The connect operation started.
char * will_message
Unused.
uint16_t keepalive_timeout
MQTT keepalive in seconds.