2016-09-03 06:32:10 +00:00
|
|
|
#ifndef _H_Gateway
|
|
|
|
#define _H_Gateway
|
|
|
|
|
2018-02-18 17:13:14 +00:00
|
|
|
#include "global.h"
|
|
|
|
|
|
|
|
int receiveMessage( int Channel, char *message, rx_metadata_t *Metadata );
|
2016-09-03 06:32:10 +00:00
|
|
|
void hexdump_buffer( const char *title, const char *buffer,
|
|
|
|
const int len_buffer );
|
2018-02-18 17:13:14 +00:00
|
|
|
void LogPacket( rx_metadata_t *Metadata, int Bytes, unsigned char MessageType );
|
2021-02-20 15:29:47 +00:00
|
|
|
void LogTelemetryPacket(int Channel, char *Telemetry);
|
2023-08-22 13:10:03 +00:00
|
|
|
void LogError(int ErrorCode, char *Message1, char *Message2);
|
2016-09-03 06:32:10 +00:00
|
|
|
void LogMessage( const char *format, ... );
|
|
|
|
void ChannelPrintf( int Channel, int row, int column, const char *format,
|
|
|
|
... );
|
2023-08-24 10:54:02 +00:00
|
|
|
int ValidCRC16(char *ptr);
|
2017-04-18 07:34:04 +00:00
|
|
|
void displayChannel (int Channel);
|
2016-09-03 06:32:10 +00:00
|
|
|
|
|
|
|
#endif
|