mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-17 13:50:35 -04:00
Implemented simple serial control protocol for APRS stuff.
This commit is contained in:
parent
416247201e
commit
a667301d57
12 changed files with 2895 additions and 2331 deletions
17
Modem/protocol/SimpleSerial.h
Normal file
17
Modem/protocol/SimpleSerial.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#ifndef PROTOCOL_SIMPLE_SERIAL
|
||||
#include <net/ax25.h>
|
||||
#include <drv/ser.h>
|
||||
|
||||
#define PROTOCOL_SIMPLE_SERIAL 0x01
|
||||
|
||||
void ss_messageCallback(struct AX25Msg *msg, Serial *ser);
|
||||
void ss_serialCallback(void *_buffer, size_t length, Serial *ser, AX25Ctx *ctx);
|
||||
void ss_printSrc(bool val);
|
||||
void ss_printDst(bool val);
|
||||
void ss_printPath(bool val);
|
||||
void ss_printData(bool val);
|
||||
void ss_printInfo(bool val);
|
||||
|
||||
void ss_sendMsg(void *_buffer, size_t length, AX25Ctx *ax25);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue