Jump to content

Commands of Discovery 4G

From Transight Wiki
Revision as of 07:24, 7 August 2025 by Editor (talk | contribs)
Configuration Commands Example Description Commnad Type (SET/GET)
URL SET CUURL:TCP:<IP>:<PORT>
SET CUURL:url (HTTP)

Example:
SET CUURL:http://livedata.transight.net:6000/data
SET CUURL:TCP:15.235.9.66:50334
GET CUURL
Response:
URL:http://livedata.customert.net:6000/data
URL:TCP:15.235.9.66:50334
To SET and GET server URL for customer and transight IPs in HTTP and TCP protocol.
Data packets will send from device to the pointed IP address.
SET GET
UR(in seconds). SET CUUR:<duration>
GET CUUR
Example:
SET CUUR:30
GET CUUR
Response:
UR: 30
Update rate in motion, duration is in seconds
Packets will be generating in this frequency.
SET, GET
URT(halt,in minute). SET CUURT:<duration in mins>
GET CUURT
Example:
SET CUURT:30
GET CUURT
Response:
CUURT: 30
Update rate in halt, duration is in minutes SET, GET
URS(sleep, in minute). SET CUURS:<duration>
GET CUURS
Example:
SET CUURS:30
GET CUURS
Response:
CUURS: 30
Update rate in sleep, duration is in minutes SET, GET
M1 SET CUM1:<+91xxxxxxxxxx>
GET CUM1
Response:
M1: +919656691846
This enables the customer to configure the device and setup alert recipients. SET, GET
M2 SET CUM2:<+91xxxxxxxxxx>
GET CUM2
Response:
M2: +919656691846
Secondary mobile number for alerts SET, GET
M3 SET CUM3:<+91xxxxxxxxxx>
GET CUM3
Response:
M3: +919656691846
Third mobile number for alerts SET, GET
APN SET CUAPN:M2MISAFEcom
SET CUAPN:airtelgprs.com
GET CUAPN
Response:
APN:M2MISAFE
Access Point Name (APN) for internet connectivity SET, GET
FRNO SET CUFRNO:<number>
GET CUFRNO
Example:
SET CUFRNO:12
GET CUFRNO
Response:
FRNO:12
Frame number for data transfer SET GET
FSMODE SET CUFSMODE:<0/1>
GET CUFSMODE
Example:
SET CUFSMODE:1
GET CUFSMODE
Response:
FSMODE:1
0 - FIFO, 1 - LIFO
Controls memory read/write mode
SET GET
IOCFG SET CUIOCFG:IO1-AN-GEN*IO2-DI-GEN*IO3-DO-IMB*
GET CUIOCFG
Configure I/O pin mode: DI, DO, AN (input/output/analog) SET GET
ENIP SET CUENIP:0.1,1.0
GET CUENIP
Response:
ENIP:0.1,1.0
Enable IPs: TS-0 / CU-1
Format: TS.ENABLED, CU.ENABLED
SET GET
DO SET CUDO:1.0,2.0
GET CUDO
Response:
DO 1:OFF/ON - DO 2:OFF/ON
Controls Digital Output pins SET GET
VID SET CUVID:TRANSI
GET CUVID
Response:
VID: TRANSI
Set/Get vendor ID SET GET
DI GET CUDI
Response:
DI:000
Get digital input status GET
AI GET CUAI
Response:
AI:0-0-0
Get analog input voltage values GET
GF SET CUGF:<status>-<id>-<alert>-<shape>#<coords>#...&
GET CUGF
Response:
Number of geofences: X
Configure polygon/circle geofences
Alert: 1-entry, 2-exit, 3-both
SET GET
FUELTYPE SET CUFUELTYPE:ESCORT485,1
GET CUFUELTYPE
Response:
ESCORT485,1
Sets type and number of fuel sensors SET GET
FUELDATACFG SET CUFUELDATACFG:ESCORT,1,00,PASSIVE1023,SMART,SMART_0
GET CUFUELDATACFG:ESCORT,1
Configure fuel sensor parameters based on type SET GET
FUELMODE SET CUFUELMODE:1,1,5
GET CUFUELMODE:1
Response:
ESCORT485, Mode: PERIODIC
Fuel sensor Mode:
1-Request
0-Periodic
Includes request interval in seconds
SET GET
FUELCALIBRATE SET CUFUELCALIBRATE:FULL,1 Calibrate fuel level as FULL or EMPTY
Specify sensor index
SET
DEVI GET CUDEVI
Response: JSON-formatted device info
Get complete hardware and firmware details from the device GET
DEVCFG GET CUDEVCFG
Response: JSON-formatted config
Get entire configuration from device in JSON format GET
IMOB SET CUIMOB:ON
GET CUIMOB
Response:
IMOB:OFF
Enable/Disable Immobilizer feature SET GET
FOTAURL GET CUFOTAURL
Response: FOTA details
Used to get/set FOTA URL and firmware config SET GET
SL SET CUSL:70
GET CUSL
Response:
SPEEDLIMIT: 70
Configure speed limit for alerts SET GET
ACCELENABLE SET CUACCELENABLE:1
GET CUACCELENABLE
Response:
ACCELERO_ENABLE_STATUS: 1
Enable/Disable accelerometer SET GET
TA SET CUTA:40
GET CUTA
Response:
TILT ANGLE THRESHOLD: 40
Tilt alert threshold in degrees SET GET
VN SET CUVN:TN51AN5503
GET CUVN
Response:
VEHICLE_REG_NUMBER: TN51AN5503
Set/Get vehicle number SET GET
CH SET CUCH Clear command history/logs SET
MR SET CUMR:<Number> Microcontroller Restart:

1. Network Modem Immediate Restart
2. Network Modem Normal Restart, NVM Write true
3. Supervisory Controller Restarts Network Module
4. Supervisory Controller Immediate Restart
5. Supervisory Conteoller Normal Restart, NVM Write true

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
Shows number of unsent packets stored in memory GET
LOC GET CULOC
Response:
LOC:Fix:0,Lat:0.000000,Lon:0.0000000,...
Get latest GPS location from device GET
SUPT GET CUSUPT
Response:
DEVICE_UPTIME: X-days X-hrs X-mins X-sec
Get device uptime since last restart GET
ODOMODE SET CUODOMODE:1
GET CUODOMODE
Response:
CUODOMODE:1
Set odometer calculation mode:
0 - Differential
1 - Accumulated
SET GET
ODO GET CUODO
Response:
CUODO:111 METERS
Get current odometer reading GET
NWI GET CUNWI
Response:
CUNWI:VI-404-19-1-1-17-0-0
Get network information:
MCC, MNC, Signal, etc.
GET
COMSTAT GET CUCOMSTAT
Response:
COMSTAT:4-0
Get communication success/failure counts GET
ENOW SET CUENOW:ON/OFF
GET CUENOW
Response:
ENOW:OFF
Enable/Disable 1-wire sensor port SET GET
OWCFG SET CUOWCFG:DS18B20
GET CUOWCFG
Response:
DS18B20
Configure the 1-wire sensor model SET GET
OWNOS SET CUOWNOS:2
GET CUOWNOS
Response:
TEMPERATURE SENSOR NOS: 2
Number of 1-wire sensors connected SET GET
ORIENTATION SET CUORIENTATION:1
GET CUORIENTATION
Response:
1
Device mounting orientation:
Orientation Number Explanation:

1 - Horizontal, power cable towards the driver, Antenna sky facing
2 - Vertical , power cable downward, Antenna facing driver
3 - Horizontal, power cable to the right, Antenna sky facing
4 - Vertical , power cable to the right, Antenna facing driver

SET GET