diff --git a/README.md b/README.md index 19539fa..fcef2ab 100644 --- a/README.md +++ b/README.md @@ -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 -!\ = send text packet -### Setting callsigns -c\ = set your callsign (default NOCALL) +##Serial commands -d\ = set destination callsign (default APZMDM) +                                                 |   +--- | :--- +__!__ | Send raw packet +__@__ | Send location update (cmt = optional comment) +__#__ | Send APRS message +  |   +__c__ | Set your callsign +__d__ | Set destination callsign +__1__ | Set PATH1 callsign +__2__ | Set PATH2 callsign +  |   +__sc__ | Set your SSID +__sd__ | Set destination SSID +__s1__ | Set PATH1 SSID +__s2__ | Set PATH2 SSID +  |   +__lla__ | Set latitude (NMEA-format, eg 4903.50N) +__llo__ | 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__ | Select symbol +__lt__ | Select symbol table (standard/alternate) +  |   +__mc__ | Set message recipient callsign +__ms__ | Set message recipient SSID +__mr__ | Retry last message +__ma<1/0>__ | Automatic message ACK on/off +  |  +__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 +  |   +__S__ | Save configuration +__L__ | Load configuration +__C__ | Clear configuration +__H__ | Print configuration -1\ = set first path via (default WIDE1) - -2\ = set second path via (default WIDE2) - - -sc\ = set your ssid (default 0) - -sd\ = set destination ssid (default 0) - -s1\ = set first path via ssid (default 1) - -s2\ = 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