Google Cloud IoT device SDK for embedded C  1.0.2
iotc_connection_data_s Struct Reference

#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
 

Detailed Description

The MQTT CONNECT parameters.

Definition at line 74 of file iotc_connection_data.h.

Field Documentation

◆ client_id

char* client_id

The MQTT client ID.

Definition at line 82 of file iotc_connection_data.h.

◆ connection_state

iotc_connection_state_t connection_state

The CONNACK message from the MQTT broker.

Definition at line 90 of file iotc_connection_data.h.

◆ connection_timeout

uint16_t connection_timeout

The connection timeout in seconds.

Definition at line 86 of file iotc_connection_data.h.

◆ host

char* host

The MQTT broker hostname.

Definition at line 76 of file iotc_connection_data.h.

◆ keepalive_timeout

uint16_t keepalive_timeout

MQTT keepalive in seconds.

Definition at line 88 of file iotc_connection_data.h.

◆ password

char* password

The MQTT client password.

Definition at line 80 of file iotc_connection_data.h.

◆ port

uint16_t port

The port on which the MQTT broker listens.

Definition at line 84 of file iotc_connection_data.h.

◆ session_type

iotc_session_type_t session_type

The MQTT client session.

Definition at line 92 of file iotc_connection_data.h.

◆ username

char* username

The MQTT client username.

Definition at line 78 of file iotc_connection_data.h.

◆ will_message

char* will_message

Unused.

Definition at line 96 of file iotc_connection_data.h.

◆ will_qos

iotc_mqtt_qos_t will_qos

Unused.

Definition at line 98 of file iotc_connection_data.h.

◆ will_retain

iotc_mqtt_retain_t will_retain

Unused.

Definition at line 100 of file iotc_connection_data.h.

◆ will_topic

char* will_topic

Unused.

Definition at line 94 of file iotc_connection_data.h.


The documentation for this struct was generated from the following file: