open62541 1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
mqtt_client Struct Reference

#include <mqtt.h>

Data Fields

mqtt_pal_socket_handle socketfd
 
uint16_t pid_lfsr
 
uint16_t keep_alive
 
int number_of_keep_alives
 
size_t send_offset
 
mqtt_pal_time_t time_of_last_send
 
enum MQTTErrors error
 
int response_timeout
 
int number_of_timeouts
 
double typical_response_time
 
void(* publish_response_callback )(void **state, struct mqtt_response_publish *publish)
 
void * publish_response_callback_state
 
enum MQTTErrors(* inspector_callback )(struct mqtt_client *)
 
void(* reconnect_callback )(struct mqtt_client *, void **)
 
void * reconnect_state
 
struct { 
 
   uint8_t *   mem_start 
 
   size_t   mem_size 
 
   uint8_t *   curr 
 
   size_t   curr_sz 
 
recv_buffer 
 
mqtt_pal_mutex_t mutex
 
struct mqtt_message_queue mq
 

Detailed Description

CLIENT.

Definition at line 430 of file mqtt.h.

Field Documentation

◆ socketfd

mqtt_pal_socket_handle mqtt_client::socketfd

Definition at line 432 of file mqtt.h.

◆ pid_lfsr

uint16_t mqtt_client::pid_lfsr

Definition at line 435 of file mqtt.h.

◆ keep_alive

uint16_t mqtt_client::keep_alive

Definition at line 438 of file mqtt.h.

◆ number_of_keep_alives

int mqtt_client::number_of_keep_alives

Definition at line 441 of file mqtt.h.

◆ send_offset

size_t mqtt_client::send_offset

Definition at line 444 of file mqtt.h.

◆ time_of_last_send

mqtt_pal_time_t mqtt_client::time_of_last_send

Definition at line 447 of file mqtt.h.

◆ error

enum MQTTErrors mqtt_client::error

Definition at line 450 of file mqtt.h.

◆ response_timeout

int mqtt_client::response_timeout

Definition at line 453 of file mqtt.h.

◆ number_of_timeouts

int mqtt_client::number_of_timeouts

Definition at line 456 of file mqtt.h.

◆ typical_response_time

double mqtt_client::typical_response_time

Definition at line 459 of file mqtt.h.

◆ publish_response_callback

void(* mqtt_client::publish_response_callback) (void **state, struct mqtt_response_publish *publish)

Definition at line 462 of file mqtt.h.

◆ publish_response_callback_state

void* mqtt_client::publish_response_callback_state

Definition at line 465 of file mqtt.h.

◆ inspector_callback

enum MQTTErrors(* mqtt_client::inspector_callback) (struct mqtt_client *)

Definition at line 465 of file mqtt.h.

◆ reconnect_callback

void(* mqtt_client::reconnect_callback) (struct mqtt_client *, void **)

Definition at line 471 of file mqtt.h.

◆ reconnect_state

void* mqtt_client::reconnect_state

Definition at line 474 of file mqtt.h.

◆ mem_start

uint8_t* mqtt_client::mem_start

Definition at line 479 of file mqtt.h.

◆ mem_size

size_t mqtt_client::mem_size

Definition at line 482 of file mqtt.h.

◆ curr

uint8_t* mqtt_client::curr

Definition at line 485 of file mqtt.h.

◆ curr_sz

size_t mqtt_client::curr_sz

Definition at line 488 of file mqtt.h.

◆ [struct]

struct { ... } mqtt_client::recv_buffer

◆ mutex

mqtt_pal_mutex_t mqtt_client::mutex

Definition at line 492 of file mqtt.h.

◆ mq

struct mqtt_message_queue mqtt_client::mq

Definition at line 495 of file mqtt.h.


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