Updated readme

This commit is contained in:
Mark Qvist 2014-06-19 21:27:09 +02:00
parent ac3b2ec688
commit e5b22905c1

View File

@ -13,38 +13,52 @@ Currently a simple serial control protocol is implemented, while full KISS TNC f
Here's how to control the APRS modem over a serial connection. The modem accepts a variety of commands for setting options and sending packets. Generally a command starts with one or more characters defining the command, and then whatever data is needed to set the options for that command. Here's a list of the currently available commands:
### Sending data
!\<message\> = send text packet
### Setting callsigns
c\<callsign\> = set your callsign (default NOCALL)
##Serial commands
d\<callsign\> = set destination callsign (default APZMDM)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;
--- | :---
__!<data>__ | Send raw packet
__@<cmt>__ | Send location update (cmt = optional comment)
__#<msg>__ | Send APRS message
&nbsp; | &nbsp;
__c<call>__ | Set your callsign
__d<call>__ | Set destination callsign
__1<call>__ | Set PATH1 callsign
__2<call>__ | Set PATH2 callsign
&nbsp; | &nbsp;
__sc<ssid>__ | Set your SSID
__sd<ssid>__ | Set destination SSID
__s1<ssid>__ | Set PATH1 SSID
__s2<ssid>__ | Set PATH2 SSID
&nbsp; | &nbsp;
__lla<LAT>__ | Set latitude (NMEA-format, eg 4903.50N)
__llo<LON>__ | Set latitude (NMEA-format, eg 07201.75W)
__lp<0-9>__ | Set TX power info
__lh<0-9>__ | Set antenna height info
__lg<0-9>__ | Set antenna gain info
__ld<0-9>__ | Set antenna directivity info
__ls<sym>__ | Select symbol
__lt<s/a>__ | Select symbol table (standard/alternate)
&nbsp; | &nbsp;
__mc<call>__ | Set message recipient callsign
__ms<ssid>__ | Set message recipient SSID
__mr<ssid>__ | Retry last message
__ma<1/0>__ | Automatic message ACK on/off
&nbsp; |&nbsp;
__ps<1/0>__ | Print SRC on/off
__pd<1/0>__ | Print DST on/off
__pp<1/0>__ | Print PATH on/off
__pm<1/0>__ | Print DATA on/off
__pi<1/0>__ | Print INFO on/off
__v<1/0>__ | Verbose mode on/off
__V<1/0>__ | Silent mode on/off
&nbsp; | &nbsp;
__S__ | Save configuration
__L__ | Load configuration
__C__ | Clear configuration
__H__ | Print configuration
1\<callsign\> = set first path via (default WIDE1)
2\<callsign\> = set second path via (default WIDE2)
sc\<SSID\> = set your ssid (default 0)
sd\<SSID\> = set destination ssid (default 0)
s1\<SSID\> = set first path via ssid (default 1)
s2\<SSID\> = set second path via ssid (default 2)
### Setting serial output options
ps\<1/0\> = turn on/off printing SRC (example "ps0" to turn off, "ps1" to turn on)
pd\<1/0\> = turn on/off printing DST
pp\<1/0\> = turn on/off printing path
pm\<1/0\> = turn on/off printing data
pi\<1/0\> = turn on/off printing info
### Examples