NetBurner SBL2e User Manual page 16

Hide thumbs Also See for SBL2e:
Table of Contents

Advertisement

Network Functions:
X
Example:
"X\n" , returns "0, Closing\r\n"
Character Echo:
Echos characters back to TCP client. Default is echo off.
E
e
Example:
"E\n" , returns "0, Echo on\r\n"
Firmware Version :
V
Example:
"V\n" , returns "0, Firmware Version: SBL2e 1.3 8/5/2009\r\n"
Command and Query Return Strings:
Each command and query will return an integer value followed by a ',' and optional text to provide
details on the response.
 Any successful command will return: "0, OK\r\n".
 Any command error will return a negative number, followed by an explanation of the error.
For example, sending the command "abcd\n" returns: "-3, Syntax Error\r\n".
 Any readback/query response will be the value of the readback followed by the status. For
example, sending "P07?\n" could return "2034, OK\n". The 2034 is the decimal number of
counts.
 Any readback/query that generates an error will return a negative number instead of the
readback value.
Error Codes:
-1
-2
-3
Note: At this time the I2C functions are not supported.
SBL2e Dual Serial-to-Ethernet User's Manual
Downloaded from
Elcodis.com
electronic components distributor
If the TCP client application, such as telnet, sends an 'X', the connection with the
GPIO Network Server will be terminated.
Enable echo
Disable echo
Query firmware version
Pin not in GPIO mode
Invalid pin number
Command syntax error
Page 16

Advertisement

Table of Contents
loading

Related Products for NetBurner SBL2e

Table of Contents