mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-02 14:36:20 -04:00
Implemented simple serial control protocol for APRS stuff.
This commit is contained in:
parent
a667301d57
commit
5495730c92
6 changed files with 38 additions and 29 deletions
|
@ -14,9 +14,9 @@ AX25Call dst;
|
|||
AX25Call path1;
|
||||
AX25Call path2;
|
||||
|
||||
char CALL[6] = "NOCALL";
|
||||
char CALL[6] = DEFAULT_CALLSIGN;
|
||||
int CALL_SSID = 0;
|
||||
char DST[6] = "APZMDM";
|
||||
char DST[6] = DEFAULT_DESTINATION_CALL;
|
||||
int DST_SSID = 0;
|
||||
char PATH1[6] = "WIDE1";
|
||||
int PATH1_SSID = 1;
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
|
||||
#define PROTOCOL_SIMPLE_SERIAL 0x01
|
||||
|
||||
#define DEFAULT_CALLSIGN "NOCALL"
|
||||
#define DEFAULT_DESTINATION_CALL "APZMDM"
|
||||
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue