Arduino

Let op met Arduino clones!

Voor de Arduino werd er een encoder geschreven door Henry Carl Ott, N2RVQ, zie link.

Commando overzicht

Download hier als PDF

CommandDescriptionSyntax and attributesResponseExplanation responseRemark
PSend alphanumeric page with default parametersP[CAPCODE],[FUNCTION],[ALPHA_MSG STRING][CR]0Msg was enqueued properly
1Err: parsing arguments
2Err: bad cap code
3Err: TX buffer was full. Msg was discarded
NSend numeric page with default parametersN[CAPCODE],[FUNCTION],[NUM_MSG STRING][CR]0Msg was enqueued properly0-9, spaces and optional chars (dash, brackets, urgency, etc) are encoded. non-valid chars are encoded as spaces
1Err: parsing arguments
2Err: bad cap code
3Err: TX buffer was full. Msg was discarded
#send a page message with all parameters specified.#[A/N],[BAUD][INVERT][CAPCODE],[FUNCTION],[MSG STRING][CR]0Msg was enqueued properlyDoes not use or store eeprom saved default values for baud or data inversion.
1Err: parsing arguments
2Err: bad cap code
4Err: MSG overflow, MSG was too long.
OSave station ID beacon interval in secondsO[0-3600][CR]0Msg was enqueued properly
1Err: parsing arguments
USave station ID for automatic morse station ID beaconU[ID STRING][CR]0Msg was enqueued properlya zero length ID will erase any previous ID and mark ID as invalid. Disabling ID function
1Err: MSG overflow, MSG was too long.
1 (also 2 and 3)Save canned pocsag message to eeprom storage slot1[A/N],[BAUD][INVERT][CAPCODE],[FUNCTION],[MSG STRING][CR]0Msg was enqueued properly
1Err: parsing arguments
2Err: bad cap code
4Err: MSG overflow, MSG was too long.
MSend morse IDM[ALPHA_MSG STRING][CR]0Msg was enqueued properly
1Err: parsing arguments
2Err: TX buffer was full. Msg was discarded
FSet function code mapping for pocsag decodingF[FUNCTION][A/N][CR]0Msg was enqueued properlyUsed for mapping decoding method for a particular function (alpha or numeric)
1Err: parsing arguments
BSet default pocsag transmit baud rate.B[0-2][CR]0OK0=512baud, 1=1200, 2=2400. Note that this sets the default baud for queueing any pages that don't have a baud rate set.
This vale is saved in eeprom. Is usually only set once.
1Err: parsing arguments
CSet pocsag receive baud rateC[0-2][CR]0OK0=512baud, 1=1200, 2=2400
1Err: parsing arguments
REnable pocsag data receptionR[0/1][CR]0OK0=off 1=on
1Err: parsing arguments
XEnable reception of bad pocsag dataX[0/1][CR]0OK0=off 1=on. Display received messages even with uncorrectable errors
1Err: parsing arguments
ISet default pocsag transmit data inversionI[0/1][CR]0OK0=off 1=on. On = data is inverted before transmission
1Err: parsing arguments
HSet pocsag receive data inversionH[0/1][CR]0OK0=off 1=on
1Err: parsing arguments
TSet transmitter PTT output pin polarity to invertT[0/1][CR]0OK0 = ptt line high to key (normal), 1 = inverted (low to key)
1Err: parsing arguments
JSet transmitter pretimeJ[0-255][CR]0OKTime after radio is keyed before data stream starts. In units of .01 seconds (10ms). 0 = No delay
1Err: parsing arguments
KSet transmitter post timeK[0-255][CR]0OKTime after radio data stream ends before unkeying radio. In units of .01 seconds (10ms). 0 = No delay
1Err: parsing arguments
LSet pocsag preamble lengthL[0-255][CR]0OKNumber of pocsag preamble words. Default is 18 words (18*32 = 576 bit reversals)
1Err: parsing arguments
WSet morse id basic dit lengthW[0-255][CR]0OKSets basic time unit for morse id transmissions. In units of .01 seconds (10ms). Determines WPM transmission speed.
1Err: parsing arguments
VReply with version infoV[CR]version information string
SGet encoder statusS[CR]TBDReturns hex encoded bit fields of the current state/status of the encoder. (in receive, in transmit, and etc). Also has state of Carrier Detect (CD) pin.
yEnables RTS Sleep featureY[0/1][CR]0OKWhen Enabled, a high input on the RTS input pin will put the encoder into low power sleep mode. Encoder will not respond to any commands unless the RTS line is externally driven low.
1Err: parsing arguments
ZResets non-volatile (eeprom) configuration values to defaults.Z[0-1][CR]0OKZ0 reset config, leave canned messages intact, Z1 Completely resets encoder to factory defaults. Notes: Two types of resets. One will just reset config values. The other resets config values and also erases all canned messages and the station ID
1Err: parsing arguments

Geef een reactie