Quatech AirborneDirect WLNG-ET Series Spezifikationen Seite 23

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 62
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 22
1 – CLI Overview
100-8005-101G Airborne™ Product Family CLI Reference Guide Page 17
Quatech, Inc. Confidential
The maximum length of a CLI command line is 1800 characters, including spaces
and terminating characters.
Argument types include:
<string> literal ASCII character string without delimiters (no spaces or tabs).
<integer> value represented as a decimal integer or as “aschex” value in
the form 0xhhh…hhh.
<aschex> one or more pairs of hexadecimal digits with no prefix in the form
hhh…hhh.
<portid> an I/O port bit number, from 0 to 7.
<IPadrs> - Internet Protocol address string in the format: nnn.nnn.nnn.nnn;
for example: 192.168.10.3 .
1.10 ASCHEX VS. BINARY VALUES
Data can be sent to the Module as either binary data or a hexadecimal representation of the
actual data being transmitted.
When a LAN device or serial port Host issues a pass command, the data is transmitted as
binary data. By comparison, when the command putget or putexpect is issued, the
senddata content must be encoded as ASCII hexadecimal digit pairs. The data is translated
across the Module and received as an ASCII representation of the actual data. This is true
whether the transmission initiates from the LAN device or from the Host.
For example, the digits 31 correspond to the ASCII character 1. If you issue a putget or
putexpect command with the senddata value of 314151, the destination receives the ASCII
characters 1, A, and Q.
1.11 COMMAND RESPONSES
The Module responds to CLI commands with a response indicating whether the CLI command
was executed successfully. All responses are followed by <CR><LF>.
After the Module executes a CLI command successfully, it returns the response:
OK
Otherwise, it returns an error response. Error responses are returned in the following general
format:
Error 0xhhhh: error text
where the aschex value is the error code.
Seitenansicht 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 61 62

Kommentare zu diesen Handbüchern

Keine Kommentare