User manual
To send character data to the controller, send the character information
as part of the parameters. For example to set the MYSELCAL parameter
we can use the following format. Note that no spaces should be used
between the Host command and the parameters.
To Set a numeric value we use the same approach. For example if we
wish to se the IGAIN command to 5 we would use the host block.
4.3 Sending Transmit data to the Controller
Data to be sent to the receiving station is sent using variable length host
blocks. All transmit data is sent via the 0x20 command byte.
Example...
If the data contains any of the reserved characters (<SOH>,<DLE> or
<ETB>) the <DLE> the character must be PREFIXED by the <DLE>
character. For example the data stream contains the characters
<0x44><0x45><0x17<0x01><0x10>. Then the controlling program
must send this data as
<0x44><0x45><0x10><0x17><0x10><0x01><0x10><0x10>.
5.0 TNC to Command Program Structure
The TNC sends all responses to the controlling program via blocks of data or
command information.
5.1 Received Data
Decoded data from the TNC will be sent to the controlling program in
the following format. Received data is ALWAYS sent to channel 0x30.
50
© 1999 SGC Inc
SGC Inc. SGC Building, 13737 S.E. 26th St. Bellevue, WA. 98005 USA
P.O.Box 3526, 98009 Fax: 425-746-6384 or 746-7173 Tel: 425- 746-6310 or 1-800-259 7331
E-mail: sgc@sgcworld.com Web site: http://www.sgcworld.com
<SOH> 0x4F Host Command Parameters <ETB>
(2Bytes)
<SOH> 0x4F MG SSGC <ETB>
<SOH> 0x4F IG 5 <ETB>
<SOH> Command Byte Variable Length <ETB>
<0x20> Data
<SOH> Command Variable Length Data <ETB>
Channel (may include pass
<0x01> <0x30> characters) <0x17>