Midnight Sun Firmware
Loading...
Searching...
No Matches
FotaPacket

FOTA Packet structure. More...

#include <fota_packet.h>

Public Attributes

uint32_t crc32
 
uint32_t datagram_id
 
FotaPacketType packet_type
 
uint16_t payload_length
 
uint8_t sequence_num
 
uint8_t sof
 
uint8_t eof
 
uint8_t _reserved_padding
 
uint8_t payload [FOTA_PACKET_PAYLOAD_SIZE]
 

Detailed Description

FOTA Packet structure.

Member Data Documentation

◆ _reserved_padding

uint8_t _reserved_padding

Reserved padding byte

◆ crc32

uint32_t crc32

CRC32 on the packet

◆ datagram_id

uint32_t datagram_id

Datagram ID to match the packet to

◆ eof

uint8_t eof

Packet end of frame (0xBB)

◆ packet_type

FotaPacketType packet_type

Packet type

◆ payload

uint8_t payload[FOTA_PACKET_PAYLOAD_SIZE]

Payload data

◆ payload_length

uint16_t payload_length

Payload length

◆ sequence_num

uint8_t sequence_num

Sequence number of the packet within the 8-packet datagram

◆ sof

uint8_t sof

Packet start of frame (0xAA)


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