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:
| Command | Signal | Description |
|---|---|---|
>QSSGPS< | GPS | Does it have valid GPS position? |
>QSSCEL< | CEL | Does it have cellular coverage? |
>QSSWP05< | WP05 | Is it inside geofence 05? |
>QSSVL00< | VL00 | Is it exceeding speed limit 0? |
>QSSIN00< | IN00 | Is digital input 0 active? |
2. Control digital outputs
Activate or deactivate XP outputs directly:
| Command | Signal | State | Description |
|---|---|---|---|
>SSSXP0011< | XP00 | 11 (on) | Activate output 0 |
>SSSXP0100< | XP01 | 00 (off) | Deactivate output 1 |
3. Create state variables
The U signals (U00-U63) are user flags for storing states:
| Command | Signal | State | Description |
|---|---|---|---|
>SSSU0011< | U00 | 11 (on) | Activate flag U00 |
>SSSU0000< | U00 | 00 (off) | Deactivate flag U00 |
>QSSU00< | U00 | - | Query flag U00 |
4. Control module power
Turn hardware modules on or off:
| Command | Signal | State | Description |
|---|---|---|---|
>SSSGPSPWR11< | GPSPWR | 11 (on) | Turn on GPS module |
>SSSCELPWR00< | CELPWR | 00 (off) | Turn off cellular module |
>SSSWIFPWR11< | WIFPWR | 11 (on) | Turn on WiFi |
>SSSINTPWR00< | INTPWR | 00 (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
QSSsignalResponse: RSSsignalcc
Query signal with index
QSSsignalbbResponse: RSSsignalbbcc
Configure signal without index
SSSsignalccConfigure signal with index
SSSsignalbbcc| Parameter | Description |
|---|---|
signal | Signal name (e.g.: GPS, U, WP) |
bb | Index (only for indexed signals) |
cc | State: 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<
| Signal | Index | Settable | Description |
|---|---|---|---|
| AR | 00-07 | — | Voltage/temperature threshold |
| CID | 00-09 | — | Caller ID detection |
| CQ | 00 | — | GPS quality filter |
| DC | 00-02 | — | Course change |
| DV | 00-03 | — | Harsh acceleration/braking |
| FCT | 00-05 | — | Pulse counter |
| GS | 00-04 | — | Queued reports by source |
| IC | 00-03 | — | User session state |
| ICL | 00-99 | — | User code state |
| IN | 00-06, 07 | — | Digital inputs (07=IGN) |
| KO | 00-04 | — | Power saving mode |
| LC | 00-01 | — | Locator mode |
| MC | 00-03 | — | MCC country code |
| MV | 00-03 | — | Movement dynamics |
| OW | 00 | — | iButton detected |
| PK | 00-01 | — | Parking mode |
| RL | 00-FF | — | Logic rules state |
| SC | 00 | — | Flow meter connection |
| TD | 00-31 | — | Timers and distance |
| TR | 00-07 | — | Date/time triggers |
| U | 00-63 | ✅ | User flags |
| VBU | 00-02 | — | Internal battery voltage |
| VL | 00-15 | — | Speed limit |
| WP | 00-31 | — | Geofences |
| XP | 00-02 | ✅ | Digital outputs |
Non-Indexed Signals
These signals are queried/configured directly by name (without index).
| Signal | Settable | Description |
|---|---|---|
| AC | — | Accelerometer active |
| BU | — | Buffer with pending data |
| CEL | — | Cellular coverage |
| CELPWR | ✅ | Cellular module power |
| CNC | — | Voice call end |
| GPS | — | Valid GPS position |
| GPSPWR | ✅ | GPS module power |
| IGN | ✅ | Ignition (hardware or virtual) |
| INTPWR | ✅ | Internal 3.3V source |
| JMD | ✅ | Jamming detected (simulation) |
| PWR | — | Equipment powered on |
| VIOPWR | ✅ | External 3.3V source |
| WIFPWR | ✅ | WiFi 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 U04Query 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 activeModule Control
Turn GPS On/Off
>SSSGPSPWR11< // Turn on GPS
>SSSGPSPWR00< // Turn off GPSTurn Cellular On/Off
>SSSCELPWR11< // Turn on cellular module
>SSSCELPWR00< // Turn off cellular moduleTurn WiFi On/Off
>SSSWIFPWR11< // Turn on WiFi
>SSSWIFPWR00< // Turn off WiFiPower 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 sourceDigital Output Control
XP outputs can be controlled directly:
>SSSXP0011< // Activate output XP00
>SSSXP0100< // Deactivate output XP01
>SSSXP0211< // Activate output XP02For 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 activeInternal Battery Thresholds (VBU)
VBU thresholds indicate internal battery level:
| Signal | Threshold | Description |
|---|---|---|
| VBU00 | 3.4V | OFF mode (critical) |
| VBU01 | 3.6V | LOW mode (low) |
| VBU02 | 3.8V | FULL 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
See Also
- Event Engine - General concepts
- RL Command - Logic rules
- UV Command - User triggers
- Trigger List - Complete reference