Commands of Discovery 2G
| Configuration Commands | Example and Response (CU) | Description | Command Type (SET/GET) |
|---|---|---|---|
| URL (SET SERVER) | SET CUURL:TCP:<IP>:<PORT> SET CUURL:url GET CUURL Response: URL:http://livedata.transight.net:6000/data URL:TCP:15.235.9.66:50334 |
To SET and GET server URL for customer IP in HTTP and TCP protocol. Data packets will be sent from the device to the configured IP address. |
SET GET |
| UR (in seconds) | SET CUUR:<duration> GET CUUR Example: SET CUUR:30 GET CUUR Response: UR: 30 |
Update rate while in motion (in seconds). Determines packet sending frequency. | SET, GET |
| URT (halt, in minutes) | SET CUURT:<duration> GET CUURT Example: SET CUURT:30 GET CUURT Response: CUURT: 30 |
Update rate during halt (in minutes). | SET, GET |
| URS (sleep, in minutes) | SET CUURS:<duration> GET CUURS Example: SET CUURS:30 GET CUURS Response: CUURS: 30 |
Update rate during sleep (in minutes). | SET, GET |
| M1 | SET CUM1:<+91xxxxxxxxxx> GET CUM1 |
Primary mobile number for alerts and configuration via SMS. | SET, GET |
| M2 | SET CUM2:<+91xxxxxxxxxx> GET CUM2 |
Secondary mobile number. | SET, GET |
| APN | SET CUAPN:<APN> Example: SET CUAPN:airtelgprs.com GET CUAPN Response: APN:airtelgprs.com |
Set Access Point Name (APN) based on SIM provider. | SET, GET |
| FRNO | SET CUFRNO:<number> GET CUFRNO Example: SET CUFRNO:12 Response: FRNO:12 |
Get or set frame number. Used for sequential frame control. | SET GET |
| FSMODE | SET CUFSMODE:<0/1> GET CUFSMODE Example: SET CUFSMODE:1 Response: FSMODE:1 |
File system mode: 0 = FIFO 1 = LIFO |
SET GET |
| IOCFG | SET CUIOCFG:<IO Number>-<IO Mode>-<IO Function*>-<IO Number>-<IO Mode>-<IO Function*>-<IO Number><IO Mode>-<IO Function*> Example: SET CUIOCFG:IO1-DI-GEN*IO2-DO-GEN*IO3-AN-GEN* GET CUIOCFG Response CUIOCFG: IO1-DI-GEN*IO2-DO-GEN*IO3-AN-GEN |
This command is used to configure the pin as Digital Input, or Digital Output, or Analog. AN - Analog DO - Digital Output DI - Digital Input |
SET GET |
| ENIP | SET CUENIP:<IP>.<state>,<IP>.<state> Example: SET CUENIP:0.1,1.0 GET CUENIP Response: ENIP:0.1,1.0 |
IP:Transight-0, Customer-1 State: |
SET GET |
| DO | SET CUDO:1.n,2.n (n=0:off,1:on) GET CUDO Response: DO 1:OFF/ON - DO 2:OFF/ON |
Digital output control for pins. | SET GET |
| VID | SET CUVID:TRANSI GET CUVID Response: VID: TRANS |
Get/Set vendor ID. | SET GET |
| DI | GET CUDI Response: DI:000 |
Digital input status (LOW = 0, HIGH = 1) | GET |
| AI | GET CUAI Response: AI:0-0-0 |
Analog input voltage reading. | GET |
| ENOW | SET CUENOW:ON/OFF GET CUENOW Response: ENOW:OFF |
Enable or disable 1-wire sensor. | SET GET |
| OWCFG | SET CUOWCFG:<name of sensor> GET CUOWCFG Example: SET CUOWCFG:DS18B20 GET CUOWCFG |
One-wire sensor configuration (e.g., DS18B20, AM2305) | SET GET |
| OWNOS | SET CUOWNOS:<Number of sensors> Example: GET CUOWNOS Response: TEMPERATURE SENSOR NOS: 2 |
Set or get number of 1-wire temperature sensors. | SET GET |
| GF (Geofence) | SET CUGF:<entry/delete>-<geofence ID>-<alert type>-<shape>#<latitude-longitude>#....& SET CUGF:<geofence ID>-<alert type>-<shape>#<latitude-longitude of center>#<radius in meter> |
Shape 0 - circle 1 - polygon Alert type 1-entry 2-exit 3-entry & exit |
SET GET |
| FUELTYPE | SET CUFUELTYPE:<Fuel sensor name>,<No of sensors> Example: |
Enables and Selects fuel sensor Type: Param1: |
SET GET |
| DEVI | GET CUDEVI | Get complete device info packet. | GET |
| DEVCFG | GET CUDEVCFG | Get device configuration info packet. | GET |
| IMOB | SET CUIMOB:<ON/OFF> GET CUIMOB Example: SET CUIMOB:OFF GETCUIMOB Response: IMOB:OFF |
Enable/Disable Immobilizer feature | SET GET |
| ORIENTATION | SET CUORIENTATION:<orientation number> Example: SET CUORIENTATION:1 |
Device mounting orientation: Orientation Number Explanation: 1 - Horizontal, power cable towards the driver, Antenna sky facing |
SET GET |
| ACCELENABLE | SET CUACCELENABLE:<0/1> Example: SET CUACCELENABLE:1 GET CUACCELENABLE Response: ACCELERO_ENABLE_STATUS: 1 |
1 - Enable 0 - Disable |
SET GET |
| SL | SET CUSL:<Limit> GET CUSL Example: SET CUSL:70 GET CUSL Response: SPEEDLIMIT: 70 |
Configure speed limit for alerts | SET GET |
| HBT (Brake Threshold) | SET CUHBT:-4 GET CUHBT Response: BRAKE_THRESHOLD: -4.000000 |
Set harsh brake threshold in G-forces. | SET GET |
| HAT (Acceleration Threshold) | SET CUHAT:3 GET CUHAT Response: ACC_THRESHOLD: 3.000000 |
Set harsh acceleration threshold. | SET GET |
| RTT (Turn Threshold) | SET CURTT:3 GET CURTT Response: TURN_THRESHOLD: 3.000000 |
Set turn threshold in G-forces. | SET GET |
| TA (Tilt Angle) | SET CUTA:40 GET CUTA Response: TILT ANGLE THRESHOLD: 40 |
Set tilt alert threshold (degrees). | SET GET |
| VN (Vehicle Number) | SET CUVN:<Vehicle No> Example: SET CUVN:<XXXXXXX> GET CUVN Response: VEHICLE_REG_NUMBER: XXXXXXX |
Set/Get vehicle number | SET GET |
| CH (Clear History) | SET CUCH | Clear history logs from device. | SET |
| MR | SET CUMR:<Number> | Microcontroller Restart: 1. Network Modem Immediate Restart |
SET |
| FWINFO | GET CUFWINFO Response: FWINFO: TSD4G_0_3.0.2 FWINFO: TSDRB_0_3.0.1 FWINFO: TSD4R_0_1.0.3 |
Get firmware version info for: - Network Modem - Bootloader - Supervisory Controller |
GET |
| IMEI | GET CUIMEI Response: IMEI: 869137069984441 |
Get device IMEI number. | GET |
| SPI | GET CUSPI Response: REMAINING PACKETS=1566 |
Get count of unsent packets in memory. | GET |
| LOC | GET CULOC Response: LAT/LON/SPEED/ALT/SAT |
Get current location snapshot. | GET |
| SUPT (Uptime) | GET CUSUPT Response: DEVICE_UPTIME: d-h-m-s |
Get device uptime since last reboot. | GET |
| ODOMODE | SET CUODOMODE:<0/1> GET CUODOMODE Response: CUODOMODE:1 |
Odometer mode: 1 = Accumulated 0 = Differential |
SET GET |
| ODO | SET ODO:<Number> Example: SET CUODO:111 GET CUODO Response: CUODO:111 METERS |
Get/Set current odometer readings | SET GET |
| NWI (Network Info) | GET CUNWI Response: CUNWI:VI-404-19-1-1-20-0-0 |
Command to get the network information
Response Format:
CUNWI:<Operator Name>-<MCC>-<MNC>-<GSM
nw reg stat>-<GPRS nw reg stat>-<signal
strength>-<GSM nw reg loss tmr>-<GPRS nw reg
loss timer>
GSM nw reg stat : 1 – Registration OK 2 - Searching 3 - Deny 5 – Registration OK Roaming 0 – Not registered GPRS nw reg stat 1 – Registration OK 2 - Searching 3 - Deny 5 – Registration OK Roaming 0 – Not registered Signal Strength: 1 -31 in ASW |
GET |
| COMSTAT | GET CUCOMSTAT Response: COMSTAT:4-0 |
Get success/failure communication counts. | GET |
| SECURESMS | SET CUSECURESMS:<0/1> Example: SET CUSECURESMS:1 GET CUSECURESMS Response: SECURESMS:1 |
Enable or disable secure SMS feature. | SET GET |