Szablon: Textcommands: Różnice pomiędzy wersjami

Z Elproma Wiki Knowledge Base
Skocz do: nawigacja, szukaj
Linia 27: Linia 27:
   | 3.0.0<CR><LF>
   | 3.0.0<CR><LF>
|-
|-
   | RB900SG GET IP<CR><LF>
   | <b>RB900SG GET IP<CR><LF></b>
   | Retrieves the IP address of the device
   | Retrieves the IP address of the device
|-
|-
Linia 36: Linia 36:
   | 10.43.210.2<CR><LF>
   | 10.43.210.2<CR><LF>
|-
|-
   | RB900SG GET RTCTIME<CR><LF>
   | <b>RB900SG GET RTCTIME<CR><LF></b>
   | Gets device time in Unix time or unless the clock is out of sync then rtc time is equal uptime
   | Gets device time in Unix time or unless the clock is out of sync then rtc time is equal uptime
|-
|-
Linia 45: Linia 45:
   | 868<CR><LF>
   | 868<CR><LF>
|-
|-
   | RB900SG GET UPTIME<CR><LF>
   | <b>RB900SG GET UPTIME<CR><LF></b>
   | Gets the number of seconds since the device startup
   | Gets the number of seconds since the device startup
|-
|-
Linia 54: Linia 54:
   | 868<CR><LF>
   | 868<CR><LF>
|-
|-
   | RB900SG RESET<CR><LF>
   | <b>RB900SG RESET<CR><LF></b>
   | Resets the device
   | Resets the device
|-
|-
Linia 63: Linia 63:
   | -
   | -
|-
|-
   | RB900SG TIME<CR><LF>
   | <b>RB900SG TIME<CR><LF></b>
   | Returns the current time in human-readable version
   | Returns the current time in human-readable version
|-
|-
Linia 72: Linia 72:
   | Time: 1619618224, 11-30-2021 13:57:04 <LF><CR><LF>
   | Time: 1619618224, 11-30-2021 13:57:04 <LF><CR><LF>
|-
|-
   | RB900SG LOG PRINT<CR><LF>
   | <b>RB900SG LOG PRINT<CR><LF></b>
   | Sends all entries from the event log
   | Sends all entries from the event log
|-
|-
Linia 91: Linia 91:
Sep 12:30:14 - Sync to NTP
Sep 12:30:14 - Sync to NTP
|-
|-
   | RB900SG LOG FORMAT<CR><LF>
   | <b>RB900SG LOG FORMAT<CR><LF></b>
   | Removes all entries from the event log
   | Removes all entries from the event log
|-
|-
Linia 100: Linia 100:
   | As above
   | As above
|-
|-
   | RB900SG GET HW VERSION<CR><LF>
   | <b>RB900SG GET HW VERSION<CR><LF></b>
   | Downloads the hardware version number of the device
   | Downloads the hardware version number of the device
|-
|-
Linia 110: Linia 110:
   | 2.3.1<CR><LF>
   | 2.3.1<CR><LF>
|-
|-
   | RB900SG BATTERY VOLTAGE<CR><LF>
   | <b>RB900SG BATTERY VOLTAGE<CR><LF></b>
   | Downloads battery voltage in volts
   | Downloads battery voltage in volts
|-
|-
Linia 119: Linia 119:
   | 4.08<CR><LF>
   | 4.08<CR><LF>
|-
|-
   | RB900SG GET TEMPERATURE<CR><LF>
   | <b>RB900SG GET TEMPERATURE<CR><LF></b>
   | Downloads temperature of the device
   | Downloads temperature of the device
|-
|-

Wersja z 14:41, 23 maj 2023

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>