This commit is contained in:
2024-12-25 03:32:26 -05:00
parent 1d16119e52
commit 1b5b66b3b3
17 changed files with 11197 additions and 11043 deletions

View File

@@ -63,7 +63,7 @@ typedef struct {
uint16_t seq_num; //Sequence number of ESPNOW data.
uint16_t crc; //CRC16 value of ESPNOW data.
uint32_t magic; //Magic number which is used to determine which device to send unicast ESPNOW data.
uint8_t payload[0]; //Real payload of ESPNOW data.
uint8_t payload[2]; //Real payload of ESPNOW data.
} __attribute__((packed)) example_espnow_data_t;
/* Parameters of sending ESPNOW data. */