49 char topicStr[LENGTH_MQTT_TOPIC];
50 char payloadStr[LENGTH_MQTT_PAYLOAD];
68 uint8_t data_a8[LENGTH_HTTP_PACKET];
Configuration header file.
packetStatus_et
Definition: lib_msg.h:36
@ STATUS_INPORGESS
Definition: lib_msg.h:38
@ PACKET_STATUS_MAX
Definition: lib_msg.h:41
@ STATUS_COMPLETE
Definition: lib_msg.h:39
@ STATUS_FAILED
Definition: lib_msg.h:40
@ STATUS_IDLE
Definition: lib_msg.h:37
qos_et
Definition: lib_msg.h:24
@ QOS_AT_MAX
Definition: lib_msg.h:28
@ QOS0_AT_MOST_ONCE
Definition: lib_msg.h:25
@ QOS1_AT_LEASET_ONCE
Definition: lib_msg.h:26
Structure to represent MQTT message.
Definition: lib_msg.h:48
bool retain_b8
Definition: lib_msg.h:54
qos_et qos_e
Definition: lib_msg.h:53
uint8_t topicLen_u8
Definition: lib_msg.h:52
uint16_t payloadLen_u16
Definition: lib_msg.h:51
Packeting structure to handle fragmentation and re-assembly of file download.
Definition: lib_msg.h:62
uint16_t dataLen_u16
Definition: lib_msg.h:65
packetStatus_et status_e
Definition: lib_msg.h:67
uint32_t expectedFileSize_u32
Definition: lib_msg.h:63
uint16_t packetId_u16
Definition: lib_msg.h:66
uint32_t receivedFileSize_u32
Definition: lib_msg.h:64