2018-07-17 15:15:58 +02:00
|
|
|
#ifndef _SENDDATA_H
|
|
|
|
#define _SENDDATA_H
|
2018-07-14 19:12:20 +02:00
|
|
|
|
2018-11-03 20:44:54 +01:00
|
|
|
#include "spislave.h"
|
2019-10-01 18:06:49 +02:00
|
|
|
#include "cyclic.h"
|
|
|
|
|
2019-03-11 18:09:01 +01:00
|
|
|
#if(HAS_LORA)
|
2018-11-03 20:44:54 +01:00
|
|
|
#include "lorawan.h"
|
2019-03-11 18:09:01 +01:00
|
|
|
#endif
|
2019-10-01 18:06:49 +02:00
|
|
|
|
|
|
|
#ifdef HAS_DISPLAY
|
|
|
|
#include "display.h"
|
|
|
|
#endif
|
2018-11-03 20:44:54 +01:00
|
|
|
|
2019-03-03 00:30:57 +01:00
|
|
|
extern Ticker sendcycler;
|
|
|
|
|
2019-02-03 14:12:21 +01:00
|
|
|
void SendPayload(uint8_t port, sendprio_t prio);
|
2019-08-30 18:54:53 +02:00
|
|
|
void sendData(void);
|
2018-09-22 21:26:11 +02:00
|
|
|
void checkSendQueues(void);
|
2018-08-05 12:16:54 +02:00
|
|
|
void flushQueues();
|
2019-03-03 00:30:57 +01:00
|
|
|
void sendcycle(void);
|
2018-07-14 19:12:20 +02:00
|
|
|
|
2019-03-11 18:09:01 +01:00
|
|
|
#endif // _SENDDATA_H_
|