Zephyr API Documentation  3.7.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mqtt_internal Struct Reference

MQTT internal state. More...

#include <mqtt.h>

Data Fields

struct sys_mutex mutex
 Internal.
 
uint32_t last_activity
 Internal.
 
uint32_t state
 Internal.
 
uint32_t rx_buf_datalen
 Internal.
 
uint32_t remaining_payload
 Internal.
 

Detailed Description

MQTT internal state.

Field Documentation

◆ last_activity

uint32_t mqtt_internal::last_activity

Internal.

Wall clock value (in milliseconds) of the last activity that occurred. Needed for periodic PING.

◆ mutex

struct sys_mutex mqtt_internal::mutex

Internal.

Mutex to protect access to the client instance.

◆ remaining_payload

uint32_t mqtt_internal::remaining_payload

Internal.

Remaining payload length to read.

◆ rx_buf_datalen

uint32_t mqtt_internal::rx_buf_datalen

Internal.

Packet length read so far.

◆ state

uint32_t mqtt_internal::state

Internal.

Client's state in the connection.


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