Commands of Discovery 4G: Difference between revisions
No edit summary |
No edit summary |
||
| (21 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div style="overflow-x:auto;"> | |||
| | {| class="wikitable" | ||
! style="background-color:#680022 | ! style="background-color:#680022; color:white;" | Configuration Commands | ||
! style="background-color:#680022 | ! style="background-color:#680022; color:white;" | Example and Response | ||
! style="background-color:#680022 | ! style="background-color:#680022; color:white;" | Description | ||
! style="background-color:#680022 | ! style="background-color:#680022; color:white;" | Commnad Type (SET/GET) | ||
|- | |- | ||
| URL | | URL | ||
| Line 36: | Line 36: | ||
| SET, GET | | SET, GET | ||
|- | |- | ||
|- | |- | ||
| APN | | APN | ||
| SET CUAPN:M2MISAFEcom<br> | | SET CUAPN:<APN><br>M2MISAFEcom(For VI)<br>airtelgprs.com(For Airtel)<br>GET CUAPN<br>Response:<br>APN:M2MISAFE | ||
| Access Point Name (APN) for internet connectivity | | Access Point Name (APN) for internet connectivity | ||
| SET, GET | | SET, GET | ||
| Line 48: | Line 44: | ||
| FRNO | | FRNO | ||
| SET CUFRNO:<number><br>GET CUFRNO<br>Example:<br>SET CUFRNO:12<br>GET CUFRNO<br>Response:<br>FRNO:12 | | SET CUFRNO:<number><br>GET CUFRNO<br>Example:<br>SET CUFRNO:12<br>GET CUFRNO<br>Response:<br>FRNO:12 | ||
| | | This command is used to get or set the current frame number. The frame numbers are generated in sequential order. | ||
| SET GET | | SET GET | ||
|- | |- | ||
| FSMODE | | FSMODE | ||
| SET CUFSMODE:<0/1><br>GET CUFSMODE<br>Example:<br>SET CUFSMODE:1<br>GET CUFSMODE<br>Response:<br>FSMODE:1 | | SET CUFSMODE:<0/1><br>GET CUFSMODE<br>Example:<br>SET CUFSMODE:1<br>GET CUFSMODE<br>Response:<br>FSMODE:1 | ||
| 0 - FIFO | | This command would set the file system mode:<br>0-FIFO<br>1-LIFO | ||
| SET GET | | SET GET | ||
|- | |- | ||
| IOCFG | | IOCFG | ||
| SET CUIOCFG:IO1- | | SET CUIOCFG:<IO Number>-<IO Mode>-<IO Function*>-<IO Number>-<IO Mode>-<IO Function*>-<IO Number><IO Mode>-<IO Function*><br>Example:<br>SET CUIOCFG:IO1-DI-GEN*IO2-DO-GEN*IO3-AN-GEN*<br>GET CUIOCFG<br>Response<br>CUIOCFG:<br>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.<br>AN - Analog<br>DO - Digital Output<br>DI - Digital Input | ||
| SET GET | | SET GET | ||
|- | |- | ||
| ENIP | | ENIP | ||
| SET CUENIP:0.1,1.0<br>GET CUENIP<br>Response:<br>ENIP:0.1,1.0 | | SET CUENIP:<IP>.<state>,<IP>.<state><br>Example:<br>SET CUENIP:0.1,1.0<br>GET CUENIP<br>Response:<br>ENIP:0.1,1.0 | ||
| | | IP:Transight-0, Customer-1<br> | ||
State:<br>1- Enabled<br>0- Disabled<br>ENIP:0.1,1.1 | |||
| SET GET | | SET GET | ||
|- | |- | ||
| DO | | DO | ||
| SET CUDO:1. | | SET CUDO:1.n,2.n (n=0:off,1:on)<br> | ||
| | GET CUDO<br>Response:<br>DO 1:OFF/ON-DO 2:OFF/ON | ||
| Pin Number: 1 or 2<br>Pin State: 0-off, 1-On<br>Each pin configuration separated by"","" | |||
| SET GET | | SET GET | ||
|- | |- | ||
| Line 87: | Line 85: | ||
|- | |- | ||
| GF | | GF | ||
| SET CUGF:< | | Polygon:<br>SET CUGF:<Status><geofence ID>-<alert type>-<shape>#<latitude-longitude>#....&<br> | ||
Circle:<br>SET CUGF:<Status><geofence ID>-<alert type>-<shape>#<latitude-longitude (center point of circle)>#<radius in meter><br>Example for Polygon:<br> | |||
SET CUGF:1-1777-3-1#10.0535097-76.334262#10.0504267-76.3328855#10.0474386-76.3439598#10.0503084-76.3437023#10.0535097-76.334262&<br>Example for Circle:<br>SET CUGF:1-1313-30#10.055625576.3544891#1000GET CUGF<br>Response:<br>NO of geofences: 1<br> | |||
|- | | Status<br>0 - Disable<br>1 - Enable<br> | ||
Shape<br>0 - circle<br>1 - polygon<br> | |||
Alert type<br>1-entry<br>2-exit<br>3-entry & exit | |||
| SET GET | | SET GET | ||
|- | |- | ||
| | | FUELTYPE & FUELCFG<br> | ||
| SET CUFUELDATACFG:ESCORT,1, | | for TECHNO<br> | ||
| | SET CUFUELTYPE:TECHNO485,1<br> | ||
Request Mode:<br> | |||
SET CUFUELDATACFG:TECHNO,1,REQUEST,PERCENT,19200,01,20,01,PRE,POST,160,0,100,410<br> | |||
Passive Mode:<br> | |||
SET CUFUELDATACFG:TECHNO,1,PUSH_HEX,PERCENT,19200,01,20,01,PRE,POST,160,0,100,410<br> | |||
<br> | |||
for ESCORT,<br> | |||
SET CUFUELTYPE:ESCORT485,1<br> | |||
Request Mode:<br> | |||
SET CUFUELDATACFG:ESCORT,01,04,PERIODIC1023,SMART,SMART_0,15<br> | |||
Passive Mode:<br> | |||
SET CUFUELDATACFG:ESCORT,01,04,PASSIVE1023,SMART,SMART_0,15<br> | |||
SET CUFUELMODE:1,1,15<br> | |||
<br> | |||
FOR ITALON<br> | |||
SET CUFUELTYPE:OMNICOM485,1<br> | |||
MASTER CONFIGURATIONS<br> | |||
SET CUFUELDATACFG:OMNICOM,1,MASTER_BINARY,19200,02,12,BINARY,1023<br> | |||
<br> | |||
for slave mode:<br> | |||
SET CUFUELDATACFG:OMNICOM,1,SLAVE,19200,02,12,BINARY,1023<br> | |||
<br> | |||
FOR STRELLA<br> | |||
SET CUFUELTYPE:STRELLA232,1<br> | |||
Request Mode:<br> | |||
SET CUFUELDATACFG:STRELLA,1,REQUEST,01,20<br> | |||
Passive Mode:<br> | |||
SET CUFUELDATACFG:STRELLA,1,PUSH_HEX,01,20<br> | |||
OR<br> | |||
FOR EUROSENS<br> | |||
SET CUFUELTYPE:EUROSENS485,1<br> | |||
SET CUFUELDATACFG:EUROSENS,01,01<br> | |||
| | |||
| SET GET | | SET GET | ||
|- | |- | ||
| DEVI | | DEVI | ||
| GET CUDEVI<br>Response: | | GET CUDEVI<br>Response: device info packet | ||
| Get complete hardware and firmware details from the device | | Get complete hardware and firmware details from the device | ||
| GET | | GET | ||
|- | |- | ||
| DEVCFG | | DEVCFG | ||
| GET CUDEVCFG<br>Response: | | GET CUDEVCFG<br>Response: configuraton info packet | ||
| Get entire configuration from device | | Get entire configuration from device | ||
| GET | | GET | ||
|- | |- | ||
| IMOB | | IMOB | ||
| SET CUIMOB:ON<br>GET CUIMOB<br>Response:<br>IMOB:OFF | | SET CUIMOB:<ON/OFF><br>GET CUIMOB<br>Example:<br>SET CUIMOB:OFF<br>GETCUIMOB<br>Response:<br>IMOB:OFF | ||
| Enable/Disable Immobilizer feature | | Enable/Disable Immobilizer feature | ||
| SET GET | | SET GET | ||
|- | |- | ||
| SL | | SL | ||
| SET CUSL:70<br>GET CUSL<br>Response:<br>SPEEDLIMIT: 70 | | SET CUSL:<Limit><br>GET CUSL<br>Example:<br>SET CUSL:70<br>GET CUSL<br>Response:<br>SPEEDLIMIT: 70 | ||
| Configure speed limit for alerts | | Configure speed limit for alerts | ||
| SET GET | | SET GET | ||
|- | |- | ||
| ACCELENABLE | | ACCELENABLE | ||
| SET CUACCELENABLE:1<br>GET CUACCELENABLE<br>Response:<br>ACCELERO_ENABLE_STATUS: 1 | | SET CUACCELENABLE:<0/1><br>Example:<br>SET CUACCELENABLE:1<br>GET CUACCELENABLE<br>Response:<br>ACCELERO_ENABLE_STATUS: 1 | ||
| Enable | | 1 - Enable<br>0 - Disable | ||
| SET GET | |||
|- | |||
| ORIENTATION | |||
| SET CUORIENTATION:<orientation number><br>Example:<br> | |||
SET CUORIENTATION:1<br>GET CUORIENTATION<br>Response:<br>1 | |||
| Device mounting orientation:<br>Orientation Number Explanation: | |||
1 - Horizontal, power cable towards the driver, Antenna sky facing<br> | |||
2 - Vertical , power cable downward, Antenna facing driver<br> | |||
3 - Horizontal, power cable to the right, Antenna sky facing<br> | |||
4 - Vertical , power cable to the right, Antenna facing driver<br> | |||
| SET GET | | SET GET | ||
|- | |- | ||
| Line 147: | Line 171: | ||
|- | |- | ||
| VN | | VN | ||
| SET CUVN: | | SET CUVN:<Vehicle No><br>Example:<br>SET CUVN:<XXXXXXX><br>GET CUVN<br>Response:<br>VEHICLE_REG_NUMBER: XXXXXXX | ||
| Set/Get vehicle number | | Set/Get vehicle number | ||
| SET GET | | SET GET | ||
| Line 153: | Line 177: | ||
| CH | | CH | ||
| SET CUCH | | SET CUCH | ||
| | | Clearing history logs from device memory. | ||
| SET | | SET | ||
|- | |- | ||
| Line 163: | Line 187: | ||
3. Supervisory Controller Restarts Network Module<br> | 3. Supervisory Controller Restarts Network Module<br> | ||
4. Supervisory Controller Immediate Restart<br> | 4. Supervisory Controller Immediate Restart<br> | ||
5. Supervisory | 5. Supervisory Controller Normal Restart, NVM Write true<br> | ||
| SET | | SET | ||
|- | |- | ||
| Line 188: | Line 212: | ||
| SUPT | | SUPT | ||
| GET CUSUPT<br>Response:<br>DEVICE_UPTIME: X-days X-hrs X-mins X-sec | | GET CUSUPT<br>Response:<br>DEVICE_UPTIME: X-days X-hrs X-mins X-sec | ||
| | | Command to get the time from which the device was switched on.<br>Response format:<br>DEVICE_UPTIME:<days>-<hours>-<minutes>-<seconds> | ||
| GET | | GET | ||
|- | |- | ||
| ODOMODE | | ODOMODE | ||
| SET CUODOMODE:1<br>GET CUODOMODE<br>Response:<br>CUODOMODE:1 | | SET CUODOMODE:<1/0><br>GET CUODOMODE<br>Response:<br>CUODOMODE:1 | ||
| Set odometer calculation mode:<br>0 - Differential<br>1 - Accumulated | | Set odometer calculation mode:<br>0 - Differential<br>1 - Accumulated | ||
| SET GET | | SET GET | ||
|- | |- | ||
| ODO | | ODO | ||
| GET CUODO<br>Response:<br>CUODO:111 METERS | | SET ODO:<Number><br>Example:<br>SET CUODO:111<BR>GET CUODO<br>Response:<br>CUODO:111 METERS | ||
| Get current odometer | | Get/Set current odometer readings | ||
| GET | | SET GET | ||
|- | |- | ||
| NWI | | NWI (Network Info) | ||
| GET CUNWI<br>Response:<br>CUNWI:VI-404-19-1-1- | | GET CUNWI<br>Response:<br>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 network registered status :<br> | |||
1 – Registration OK | |||
2 - Searching | |||
3 - Deny | |||
5 – Registration OK Roaming | |||
0 – Not registered | |||
GPRS network registered status <br> | |||
1 – Registration OK | |||
2 - Searching | |||
3 - Deny | |||
5 – Registration OK Roaming | |||
0 – Not registered | |||
Signal Strength: 1 -31 in ASW<br> | |||
GSM network registered loss timer : Time is seconds elapsed | |||
after GSM network registration loss<br> | |||
GPRS network registered loss timer : Time is seconds elapsed | |||
after GPRS network registration loss | |||
| GET | | GET | ||
|- | |- | ||
| Line 217: | Line 263: | ||
|- | |- | ||
| OWCFG | | OWCFG | ||
| SET CUOWCFG:DS18B20<br>GET CUOWCFG<br>Response:<br>DS18B20 | | SET CUOWCFG:<Sensor name><br>GET CUOWCFG<br>Example:<br>SET CUOWCFG:DS18B20<br>GET CUOWCFG<br>Response:<br>DS18B20 | ||
| Configure the 1-wire sensor | | Configure the 1-wire sensor models<br>1-BS18B20<br>2-AM2305 | ||
| SET GET | | SET GET | ||
|- | |- | ||
| OWNOS | | OWNOS | ||
| SET CUOWNOS:2<br>GET CUOWNOS<br>Response:<br>TEMPERATURE SENSOR NOS: 2 | | SET CUOWNOS:<No's><br>Example:<br>SET CUOWNOS:2<br>GET CUOWNOS<br>Response:<br>TEMPERATURE SENSOR NOS: 2 | ||
| Number of 1-wire sensors connected | | Number of 1-wire sensors connected | ||
| SET GET | | SET GET | ||
|- | |- | ||
|} | |} | ||
</div> | |||
Latest revision as of 10:55, 17 March 2026
| Configuration Commands | Example and Response | 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 |
| APN | SET CUAPN:<APN> M2MISAFEcom(For VI) airtelgprs.com(For Airtel) 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 |
This command is used to get or set the current frame number. The frame numbers are generated in sequential order. | SET GET |
| FSMODE | SET CUFSMODE:<0/1> GET CUFSMODE Example: SET CUFSMODE:1 GET CUFSMODE Response: FSMODE:1 |
This command would set the 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 |
Pin Number: 1 or 2 Pin State: 0-off, 1-On Each pin configuration separated by"","" |
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 | Polygon: SET CUGF:<Status><geofence ID>-<alert type>-<shape>#<latitude-longitude>#....& Circle: |
Status 0 - Disable 1 - Enable Shape |
SET GET |
| FUELTYPE & FUELCFG |
for TECHNO SET CUFUELTYPE:TECHNO485,1 |
SET GET | |
| DEVI | GET CUDEVI Response: device info packet |
Get complete hardware and firmware details from the device | GET |
| DEVCFG | GET CUDEVCFG Response: configuraton info packet |
Get entire configuration from device | GET |
| IMOB | SET CUIMOB:<ON/OFF> GET CUIMOB Example: SET CUIMOB:OFF GETCUIMOB Response: IMOB:OFF |
Enable/Disable Immobilizer feature | SET GET |
| SL | SET CUSL:<Limit> GET CUSL Example: SET CUSL:70 GET CUSL Response: SPEEDLIMIT: 70 |
Configure speed limit for alerts | SET GET |
| ACCELENABLE | SET CUACCELENABLE:<0/1> Example: SET CUACCELENABLE:1 GET CUACCELENABLE Response: ACCELERO_ENABLE_STATUS: 1 |
1 - Enable 0 - Disable |
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 |
| TA | SET CUTA:40 GET CUTA Response: TILT ANGLE THRESHOLD: 40 |
Tilt alert threshold in degrees | SET GET |
| VN | SET CUVN:<Vehicle No> Example: SET CUVN:<XXXXXXX> GET CUVN Response: VEHICLE_REG_NUMBER: XXXXXXX |
Set/Get vehicle number | SET GET |
| CH | SET CUCH | Clearing history logs from device memory. | 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 |
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 |
Command to get the time from which the device was switched on. Response format: DEVICE_UPTIME:<days>-<hours>-<minutes>-<seconds> |
GET |
| ODOMODE | SET CUODOMODE:<1/0> GET CUODOMODE Response: CUODOMODE:1 |
Set odometer calculation mode: 0 - Differential 1 - Accumulated |
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 network registered status : 1 – Registration OK 2 - Searching 3 - Deny 5 – Registration OK Roaming 0 – Not registered GPRS network registered status 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 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:<Sensor name> GET CUOWCFG Example: SET CUOWCFG:DS18B20 GET CUOWCFG Response: DS18B20 |
Configure the 1-wire sensor models 1-BS18B20 2-AM2305 |
SET GET |
| OWNOS | SET CUOWNOS:<No's> Example: SET CUOWNOS:2 GET CUOWNOS Response: TEMPERATURE SENSOR NOS: 2 |
Number of 1-wire sensors connected | SET GET |