Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mqtt_sn_connect_retry Struct Reference

Structure for storing pending CONNECT state. More...

#include <mqtt_sn.h>

Data Fields

atomic_t state
 State of the pending CONNECT (enum mqtt_sn_connect_state).
uint8_t retries
 Number of retries for failed CONNECT attempts.
int64_t last_attempt
 Timestamp of the last CONNECT attempt.
bool will
 Will flag from the pending mqtt_sn_connect() call, resent on retry.
bool clean_session
 Clean session flag from the pending mqtt_sn_connect() call, resent on retry.

Detailed Description

Structure for storing pending CONNECT state.

Field Documentation

◆ clean_session

bool mqtt_sn_connect_retry::clean_session

Clean session flag from the pending mqtt_sn_connect() call, resent on retry.

◆ last_attempt

int64_t mqtt_sn_connect_retry::last_attempt

Timestamp of the last CONNECT attempt.

◆ retries

uint8_t mqtt_sn_connect_retry::retries

Number of retries for failed CONNECT attempts.

◆ state

atomic_t mqtt_sn_connect_retry::state

State of the pending CONNECT (enum mqtt_sn_connect_state).

◆ will

bool mqtt_sn_connect_retry::will

Will flag from the pending mqtt_sn_connect() call, resent on retry.


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