ESP32-PaxCounter/src/senddata.h

16 lines
341 B
C
Raw Normal View History

2018-07-17 15:15:58 +02:00
#ifndef _SENDDATA_H
#define _SENDDATA_H
2018-07-14 19:12:20 +02:00
2018-08-03 23:50:04 +02:00
// Struct holding payload for data send queue
typedef struct {
uint8_t MessageSize;
uint8_t MessagePort;
uint8_t Message[PAYLOAD_BUFFER_SIZE];
} MessageBuffer_t;
2018-08-04 15:27:58 +02:00
void SendData(uint8_t port);
2018-07-22 20:27:58 +02:00
void sendPayload(void);
2018-07-23 08:25:23 +02:00
void SendCycleIRQ(void);
2018-08-03 23:50:04 +02:00
void processSendBuffer(void);
2018-07-14 19:12:20 +02:00
#endif // _SENDDATA_H_