added mesh paket and ported to newer IDF
This commit is contained in:
@ -49,9 +49,14 @@
|
||||
|
||||
struct mesh_packet
|
||||
{
|
||||
//todo type
|
||||
//todo lenght
|
||||
|
||||
enum ota_mesh_packet_type {
|
||||
APP_Data, //data for application
|
||||
OTA_Version_Request, //send own version in payload
|
||||
OTA_Version_Respone, //send own version in payload
|
||||
OTA_Data, //send image segment
|
||||
OTA_ACK, //ack image segment
|
||||
OTA_Complete //signal end of image
|
||||
} type;
|
||||
uint8_t au8Payload[1024];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user