|  | MQTT C Client Libraries Internals
    | 
Data related to one client. More...
#include <Clients.h>

| Data Fields | |
| char * | clientID | 
| the string id of the client | |
| const char * | username | 
| MQTT v3.1 user name. | |
| int | passwordlen | 
| MQTT password length. | |
| const void * | password | 
| MQTT v3.1 binary password. | |
| unsigned int | cleansession: 1 | 
| MQTT V3 clean session flag. | |
| unsigned int | cleanstart: 1 | 
| MQTT V5 clean start flag. | |
| unsigned int | connected: 1 | 
| whether it is currently connected | |
| unsigned int | good: 1 | 
| if we have an error on the socket we turn this off | |
| unsigned int | ping_outstanding: 1 | 
| signed int | connect_state: 4 | 
| networkHandles | net | 
| network info for this client | |
| int | msgID | 
| the MQTT message id | |
| int | keepAliveInterval | 
| the MQTT keep alive interval | |
| int | retryInterval | 
| int | maxInflightMessages | 
| the max number of inflight outbound messages we allow | |
| willMessages * | will | 
| the MQTT will message, if any | |
| List * | inboundMsgs | 
| inbound in flight messages | |
| List * | outboundMsgs | 
| outbound in flight messages | |
| List * | messageQueue | 
| inbound complete but undelivered messages | |
| unsigned int | qentry_seqno | 
| void * | phandle | 
| the persistence handle | |
| MQTTClient_persistence * | persistence | 
| a persistence implementation | |
| MQTTPersistence_beforeWrite * | beforeWrite | 
| persistence write callback | |
| MQTTPersistence_afterRead * | afterRead | 
| persistence read callback | |
| void * | beforeWrite_context | 
| context to be used with the persistence beforeWrite callbacks | |
| void * | afterRead_context | 
| context to be used with the persistence afterRead callback | |
| void * | context | 
| calling context - used when calling disconnect_internal | |
| int | MQTTVersion | 
| the version of MQTT being used, 3, 4 or 5 | |
| int | sessionExpiry | 
| MQTT 5 session expiry. | |
| char * | httpProxy | 
| HTTP proxy for websockets. | |
| char * | httpsProxy | 
| HTTPS proxy for websockets. | |
Data related to one client.
 1.8.17
 1.8.17