Skip to Content

SS Command

The SS command (Signal State) allows you to query the state of any system signal, and configure those that are modifiable.

What is it for?

1. Query any signal

You can check the state of any signal from the device:

CommandSignalDescription
>QSSGPS<GPSDoes it have valid GPS position?
>QSSCEL<CELDoes it have cellular coverage?
>QSSWP05<WP05Is it inside geofence 05?
>QSSVL00<VL00Is it exceeding speed limit 0?
>QSSIN00<IN00Is digital input 0 active?

2. Control digital outputs

Activate or deactivate XP outputs directly:

CommandSignalStateDescription
>SSSXP0011<XP0011 (on)Activate output 0
>SSSXP0100<XP0100 (off)Deactivate output 1

3. Create state variables

The U signals (U00-U63) are user flags for storing states:

CommandSignalStateDescription
>SSSU0011<U0011 (on)Activate flag U00
>SSSU0000<U0000 (off)Deactivate flag U00
>QSSU00<U00-Query flag U00

4. Control module power

Turn hardware modules on or off:

CommandSignalStateDescription
>SSSGPSPWR11<GPSPWR11 (on)Turn on GPS module
>SSSCELPWR00<CELPWR00 (off)Turn off cellular module
>SSSWIFPWR11<WIFPWR11 (on)Turn on WiFi
>SSSINTPWR00<INTPWR00 (off)Turn off internal 3.3V source

Signals are logical values: 11 (active) or 00 (inactive). They are used as triggers or conditions in logic rules.


Syntax

Query signal without index

QSSsignal

Response: RSSsignalcc

Query signal with index

QSSsignalbb

Response: RSSsignalbbcc

Configure signal without index

SSSsignalcc

Configure signal with index

SSSsignalbbcc
ParameterDescription
signalSignal name (e.g.: GPS, U, WP)
bbIndex (only for indexed signals)
ccState: 11 active, 00 inactive

Indexed Signals

These signals require specifying a numeric index.

Settable (SSS): The signal can be configured with >SSSsignalbbcc<
Read-only (QSS): The signal can only be queried with >QSSsignalbb<

SignalIndexSettableDescription
AR00-07Voltage/temperature threshold
CID00-09Caller ID detection
CQ00GPS quality filter
DC00-02Course change
DV00-03Harsh acceleration/braking
FCT00-05Pulse counter
GS00-04Queued reports by source
IC00-03User session state
ICL00-99User code state
IN00-06, 07Digital inputs (07=IGN)
KO00-04Power saving mode
LC00-01Locator mode
MC00-03MCC country code
MV00-03Movement dynamics
OW00iButton detected
PK00-01Parking mode
RL00-FFLogic rules state
SC00Flow meter connection
TD00-31Timers and distance
TR00-07Date/time triggers
U00-63User flags
VBU00-02Internal battery voltage
VL00-15Speed limit
WP00-31Geofences
XP00-02Digital outputs

Non-Indexed Signals

These signals are queried/configured directly by name (without index).

SignalSettableDescription
ACAccelerometer active
BUBuffer with pending data
CELCellular coverage
CELPWRCellular module power
CNCVoice call end
GPSValid GPS position
GPSPWRGPS module power
IGNIgnition (hardware or virtual)
INTPWRInternal 3.3V source
JMDJamming detected (simulation)
PWREquipment powered on
VIOPWRExternal 3.3V source
WIFPWRWiFi module power

User Flags (U)

The U signals (U00 to U63) are user-configurable flags. They are useful for:

  • Creating custom state variables
  • Memorizing conditions between rules
  • Implementing simple state machines

Configure flag

>SSSU0411< // Activate U04 >SSSU0400< // Deactivate U04

Query flag

>QSSU04<

Response: RSSU0411 (active) or RSSU0400 (inactive)

Usage in rules

>SRL00E;TRG=IN00+;ACC={SSSU0011}< // Activate U00 when IN00 rises >SRL01E;TRG=TD00+;CND=U00;ACC={GCP01H}< // Generate report if U00 is active

Module Control

Turn GPS On/Off

>SSSGPSPWR11< // Turn on GPS >SSSGPSPWR00< // Turn off GPS

Turn Cellular On/Off

>SSSCELPWR11< // Turn on cellular module >SSSCELPWR00< // Turn off cellular module

Turn WiFi On/Off

>SSSWIFPWR11< // Turn on WiFi >SSSWIFPWR00< // Turn off WiFi

Power Source Control

>SSSINTPWR11< // Turn on internal 3.3V source >SSSINTPWR00< // Turn off internal 3.3V source >SSSVIOPWR11< // Turn on external 3.3V source >SSSVIOPWR00< // Turn off external 3.3V source

Digital Output Control

XP outputs can be controlled directly:

>SSSXP0011< // Activate output XP00 >SSSXP0100< // Deactivate output XP01 >SSSXP0211< // Activate output XP02

For advanced output configuration (pulses, timing), use the CXXP Command.


State Queries

GPS State

>QSSGPS<

Response: RSSGPS11 (valid position) or RSSGPS00 (no fix)

Cellular Coverage State

>QSSCEL<

Response: RSSCEL11 (with coverage) or RSSCEL00 (no coverage)

Buffer State

>QSSBU<

Response: RSSBU11 (pending data) or RSSBU00 (empty)

Geofence State

>QSSWP05<

Response: RSSWP0511 (inside zone 05) or RSSWP0500 (outside)

Speed Limit State

>QSSVL00<

Response: RSSVL0011 (exceeding limit) or RSSVL0000 (within limit)

Parking State

>QSSPK00< // Zone change detected >QSSPK01< // Parking mode active

Internal Battery Thresholds (VBU)

VBU thresholds indicate internal battery level:

SignalThresholdDescription
VBU003.4VOFF mode (critical)
VBU013.6VLOW mode (low)
VBU023.8VFULL mode (charged)

Example: Battery debug via serial port

>SRL60E;TRG=VBU00-;ACC={STX(exiting OFF mode);@TRM}< >SRL61E;TRG=VBU00+;ACC={STX(entering OFF mode);@TRM}< >SRL62E;TRG=VBU01-;ACC={STX(exiting LOW mode);@TRM}< >SRL63E;TRG=VBU01+;ACC={STX(entering LOW mode);@TRM}< >SRL64E;TRG=VBU02-;ACC={STX(exiting FULL mode);@TRM}< >SRL65E;TRG=VBU02+;ACC={STX(entering FULL mode);@TRM}<

Compatibility

💾Firmware v1.03.00
SPLegacy
ULLegacy
💾Firmware v1.00.00
SP-IOT
SM-IOT
ZE-IOT

See Also

Last updated