uMQTT
MQTT client library for microcontrollers
umqtt_TransportConfig_t Struct Reference

Structure to define the network interface. More...

Data Fields

void * hNet
 Network instance handle. More...
 
malloc_t pfnmalloc
 Application supplied function to allocate memory.
 
free_t pfnfree
 Application supplied function to free memory.
 
netReadPacket_t pfnNetReadPacket
 Application supplied function to read from the network.
 
netWritePacket_t pfnNetWritePacket
 Application supplied function to write to the network.
 

Detailed Description

Structure to define the network interface.

Field Documentation

◆ hNet

void* hNet

Network instance handle.

The meaning of this is application defined. It can be a data structure that holds network sockets or something similar.