MQTTAsync_connectData(3)

NAME
MQTTAsync_connectData

SYNOPSIS

#include <MQTTAsync.h>

  Data Fields
char struct_id [4]
int struct_version
const char * username
struct {
int len
const void * data
} binarypwd

Detailed Description

The connect options that can be updated before an automatic reconnect.

Field Documentation

  char struct_id[4]
The eyecatcher for this structure. Will be MQCD.

  int struct_version
The version number of this structure. Will be 0

  const char* username
MQTT servers that support the MQTT v3.1 protocol provide authentication and authorisation by user name and password. This is the user name parameter. Set data to NULL to remove. To change, allocate new storage with ::MQTTAsync_allocate - this will then be free later by the library.

  int len
binary password length

  const void* data
binary password data

  struct { ... } binarypwd
The password parameter of the MQTT authentication. Set data to NULL to remove. To change, allocate new storage with ::MQTTAsync_allocate - this will then be free later by the library.

Author

Generated automatically by Doxygen for Paho Asynchronous MQTT C Client Library from the source code.