AWS IoT for ESP32 v1.0.0
An ESP-IDF based solution
lib_msg.h File Reference

MQTT message header file. More...

Go to the source code of this file.

Data Structures

struct  mqttMsg_st
 Structure to represent MQTT message. More...
 
struct  packet_st
 Packeting structure to handle fragmentation and re-assembly of file download. More...
 

Enumerations

enum  qos_et { QOS0_AT_MOST_ONCE = 0 , QOS1_AT_LEASET_ONCE , QOS_AT_MAX }
 
enum  packetStatus_et {
  STATUS_IDLE , STATUS_INPORGESS , STATUS_COMPLETE , STATUS_FAILED ,
  PACKET_STATUS_MAX
}
 

Detailed Description

MQTT message header file.

Enumeration Type Documentation

◆ packetStatus_et

Possible status of MQTT message packets

Enumerator
STATUS_IDLE 

Idle status

STATUS_INPORGESS 

Download is in progress

STATUS_COMPLETE 

Download completed

STATUS_FAILED 

Download failed

PACKET_STATUS_MAX 

Total number of available packet status

◆ qos_et

enum qos_et

Supported QOS levels.

Enumerator
QOS0_AT_MOST_ONCE 

At most once

QOS1_AT_LEASET_ONCE 

At least once

QOS_AT_MAX 

Maximum number of supported QOS levels