Opticon ECB 1000 User Manual
Page 11
Opticon Ethernet Converter - 11
2.3
Establishing a TCP/IP connection with Opticon handheld terminals
Writing an application for the Ethernet converter box is (almost) identical to writing an application with the
TCP/IP library that makes use of a dialup modem.
For more information about writing applications with the TCP/IP library and example applications, please refer to
the manuals of the 'TCP/IP library for Opticon Handheld terminals'.
The Ethernet converter box accepts almost all AT-modem commands. However there are few additional AT-
commands that are different or additional:
ATD… or ATDT…
Establish a connection between an Opticon handheld terminal (with TCP/IP library)
and an Ethernet Converter box.
Response:
Normally the ATD(T)-command should be made by the connect()-function of the
TCP/IP library after which the application continues the TCP/IP session.
ATIx
Returns the current software version
AT?
Shows all current settings
ATV0
Normal response codes: i.e. OK / ERROR
ATV2
Barcode reader response codes, in case an Opticon barcode reader is used to
configure the Ethernet box with AT-commands.
a good or bad read sound.
AT+CPIN?
Returns: +CPIN: READY\r\n\r\nOK\r\n for GSM/GPRS modem simulation
AT+DISCOVERY
Returns IP and MAC address of all Ethernet boxes that are connected to the local
Ethernet.
Example response:
Searching...
192.168.0.2 00-12-6A-00-12-34 OSE_ETHERNETBOX
Done
AT+BAUDxxxxx
Configure a baud rate between 4800 and 230400bps (the OK response might be
returned at the new baud rate!)
AT+RESET
(Software) Resets the Ethernet-to-RS232 converter box
Note:
§ Disconnect a connection by sending '+++' with a 1-second pause before and after the command.