|
Google Cloud IoT device SDK for embedded C
1.0.2
|
#include <iotc_connection_data.h>
Data Fields | |
| char * | host |
| char * | username |
| char * | password |
| char * | client_id |
| uint16_t | port |
| uint16_t | connection_timeout |
| uint16_t | keepalive_timeout |
| iotc_connection_state_t | connection_state |
| iotc_session_type_t | session_type |
| char * | will_topic |
| char * | will_message |
| iotc_mqtt_qos_t | will_qos |
| iotc_mqtt_retain_t | will_retain |
The MQTT CONNECT parameters.
Definition at line 74 of file iotc_connection_data.h.
| char* client_id |
The MQTT client ID.
Definition at line 82 of file iotc_connection_data.h.
| iotc_connection_state_t connection_state |
The CONNACK message from the MQTT broker.
Definition at line 90 of file iotc_connection_data.h.
| uint16_t connection_timeout |
The connection timeout in seconds.
Definition at line 86 of file iotc_connection_data.h.
| char* host |
The MQTT broker hostname.
Definition at line 76 of file iotc_connection_data.h.
| uint16_t keepalive_timeout |
MQTT keepalive in seconds.
Definition at line 88 of file iotc_connection_data.h.
| char* password |
The MQTT client password.
Definition at line 80 of file iotc_connection_data.h.
| uint16_t port |
The port on which the MQTT broker listens.
Definition at line 84 of file iotc_connection_data.h.
| iotc_session_type_t session_type |
The MQTT client session.
Definition at line 92 of file iotc_connection_data.h.
| char* username |
The MQTT client username.
Definition at line 78 of file iotc_connection_data.h.
| char* will_message |
Unused.
Definition at line 96 of file iotc_connection_data.h.
| iotc_mqtt_qos_t will_qos |
Unused.
Definition at line 98 of file iotc_connection_data.h.
| iotc_mqtt_retain_t will_retain |
Unused.
Definition at line 100 of file iotc_connection_data.h.
| char* will_topic |
Unused.
Definition at line 94 of file iotc_connection_data.h.