SBL2e Dual Serial-to-Ethernet User's Manual
Page 19
8. AT Commands
As an alternative to the web page configuration, you can configure the SBL2e over a serial port
using an AT command format. The configuration sequence is:
1.
Enter command mode
2.
Send configuration change commands
3.
Save changes and exit
The AT command operation is different for configuration commands versus GPIO pin
programming commands. Please refer to “GPIO Server and Analog to Digital Readback” later in
this section for additional details.
8.1
Enter and Exit Command Mode
AT configuration commands can only be processed when the SBL2e is in “AT Command Mode”.
To enter AT command mode:
1.
Pause for 1 second (send no data).
2.
Send “+++”.
3.
Wait for 1 second.
4.
The device will respond with “\r\nOK”.
To exit command mode:
1.
Wait 30 seconds for timeout, any changes will be lost.
2.
Send “AT&X” or “ATO” to exit and discard any changes.
3.
Send “AT&P” to exit and save new settings.
4.
Send “AT&F” to reset all settings to factory default (does not save).
Returns:
1, Returning to active connection
2, Returning to listening connection
3, Returning to active UDP mode
0, Returning to idle
Exiting command mode with any changes terminate all existing TCP connections.
electronic components distributor