AWS IoT for ESP32 v1.0.0
An ESP-IDF based solution
packet_st Struct Reference

Packeting structure to handle fragmentation and re-assembly of file download. More...

#include <lib_msg.h>

Data Fields

uint32_t expectedFileSize_u32
 
uint32_t receivedFileSize_u32
 
uint16_t dataLen_u16
 
uint16_t packetId_u16
 
packetStatus_et status_e
 
uint8_t data_a8 [LENGTH_HTTP_PACKET]
 

Detailed Description

Packeting structure to handle fragmentation and re-assembly of file download.

Field Documentation

◆ data_a8

uint8_t packet_st::data_a8[LENGTH_HTTP_PACKET]

Received packet data

◆ dataLen_u16

uint16_t packet_st::dataLen_u16

Length of received packet data

◆ expectedFileSize_u32

uint32_t packet_st::expectedFileSize_u32

Expected filesize

◆ packetId_u16

uint16_t packet_st::packetId_u16

Packet Id

◆ receivedFileSize_u32

uint32_t packet_st::receivedFileSize_u32

Received filesize

◆ status_e

packetStatus_et packet_st::status_e

Status of packet


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