Mistake on this page?
Report an issue in GitHub or email us
Data Fields
mqtt_connect_client_info_t Struct Reference

Client information and connection parameters. More...

#include <mqtt.h>

Data Fields

const char * client_id
 Client identifier, must be set by caller. More...
 
const char * client_user
 User name, set to NULL if not used. More...
 
const char * client_pass
 Password, set to NULL if not used. More...
 
u16_t keep_alive
 keep alive time in seconds, 0 to disable keep alive functionality More...
 
const char * will_topic
 will topic, set to NULL if will is not to be used, will_msg, will_qos and will retain are then ignored More...
 
const char * will_msg
 will_msg, see will_topic More...
 
u8_t will_qos
 will_qos, see will_topic More...
 
u8_t will_retain
 will_retain, see will_topic More...
 

Detailed Description

Client information and connection parameters.

Definition at line 68 of file mqtt.h.

Field Documentation

const char* client_id

Client identifier, must be set by caller.

Definition at line 70 of file mqtt.h.

const char* client_pass

Password, set to NULL if not used.

Definition at line 74 of file mqtt.h.

const char* client_user

User name, set to NULL if not used.

Definition at line 72 of file mqtt.h.

u16_t keep_alive

keep alive time in seconds, 0 to disable keep alive functionality

Definition at line 76 of file mqtt.h.

const char* will_msg

will_msg, see will_topic

Definition at line 81 of file mqtt.h.

u8_t will_qos

will_qos, see will_topic

Definition at line 83 of file mqtt.h.

u8_t will_retain

will_retain, see will_topic

Definition at line 85 of file mqtt.h.

const char* will_topic

will topic, set to NULL if will is not to be used, will_msg, will_qos and will retain are then ignored

Definition at line 79 of file mqtt.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.