Szablon: Textcommands

Z Elproma Wiki Knowledge Base
Skocz do: nawigacja, szukaj

This page contains the list of text commands supported by {{{model}}} {{{type}}} and its description.

All below commands are available from 3.0.x modem firmware version. They can be send over USB, SMS or Teleorigin Manager.

Special characters: <EXT> - End of Text 0x03 character <CR> - Carriege Return 0x0D character <LF> - Line Feed 0x0A character

NOTE: <CR><LF> characters can be omitted when the command is sent via SMS and Teleorigin Manager („Console” tab).

Device commands

RB900SG Commands
Available since firmware version: 3.0.0
RB900SG GET FW VERSION<CR><LF> Downloads the firmware version number of the microcontroller
Response x.x.x<CR><LF>

where x – version number

Response example 3.0.0<CR><LF>
RB900SG GET IP<CR><LF> Retrieves the IP address of the device
Response x.x.x.x<CR><LF>
Response example 10.43.210.2<CR><LF>
RB900SG GET RTCTIME<CR><LF> Gets device time in Unix time or unless the clock is out of sync then rtc time is equal uptime
Response xxxx<CR><LF>
Response example 868<CR><LF>
RB900SG GET UPTIME<CR><LF> Gets the number of seconds since the device startup
Response xxxx<CR><LF>
Response example 868<CR><LF>
RB900SG RESET<CR><LF> Resets the device
Response -
Response example -
RB900SG TIME<CR><LF> Returns the current time in human-readable version
Response Time: xxxxxxxxxx, mm-dd-yyyy hh:mm:ss<CR><LF>
Response example Time: 1619618224, 11-30-2021 13:57:04 <LF><CR><LF>
RB900SG LOG PRINT<CR><LF> Sends all entries from the event log
Response ------------------------------------------------------

Sep 12:30:05 - x.x.x<CR><LF> Sep 12:30:08 - SIM ready<CR><LF> Sep 12:30:09 - Cfg port opened<CR><LF> Sep 12:30:11 - PDP activated<CR><LF>

Response example ------------------------------------------------------

Sep 12:30:05 - x.x.x<CR><LF> Sep 12:30:08 - SIM ready<CR><LF> Sep 12:30:09 - Cfg port opened<CR><LF> Sep 12:30:11 - PDP activated<CR><LF> Sep 12:30:12 - IP: 46.77.88.87 Sep 12:30:14 - Sync to NTP

RB900SG LOG FORMAT<CR><LF> Removes all entries from the event log
Response OK<CR><LF>
Response example As above
RB900SG GET HW VERSION<CR><LF> Downloads the hardware version number of the device
Response x.x.x<CR><LF>

where x – version number

Response example 2.3.1<CR><LF>
RB900SG BATTERY VOLTAGE<CR><LF> Downloads battery voltage in volts
Response X.XX<CR><LF>
Response example 4.08<CR><LF>
RB900SG GET TEMPERATURE<CR><LF> Downloads temperature of the device
Response XX.X *C<CR><LF>
Response example 30.5 *C<CR><LF>