Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:sidebar:remoteapi:apiref:events:check_updates [25/06/2015 16:57]
127.0.0.1 external edit
en:sidebar:remoteapi:apiref:events:check_updates [14/04/2016 12:35] (current)
stan
Line 33: Line 33:
  
 ===== Response ===== ===== Response =====
-**Флаг ​0x1basic JSON (equal to all sensor groups)**+==== 0x1 flag ==== 
 +Returns ​basic JSON (equal to all sensor groups)
 <code javascript>​ <code javascript>​
 "<​type_name>":​ { "<​type_name>":​ {
Line 53: Line 54:
 </​code>​ </​code>​
  
-**Флаг ​0x2specified detector data**+==== 0x2 flag ==== 
 +Returns ​specified detector data
 <code javascript>​ <code javascript>​
  
Line 68: Line 70:
 } }
 </​code>​ </​code>​
-Here are listed all sensor types for ''​sensors''​:+Here are listed all sensor types for **sensors**:
 <code javascript>​ <code javascript>​
 "​sensors":​ { "​sensors":​ {
Line 126: Line 128:
  "​course":<​uint>,​ /​* course */  "​course":<​uint>,​ /​* course */
  "​altitude":<​uint>​ /​* altitude */  "​altitude":<​uint>​ /​* altitude */
 +}
 +</​code>​
 +
 +<code javascript>​
 +"​counters":​ {
 + "​engine_hours":​ <​uint>, ​  /* engine hours counter */
 + "​mileage":​ <​uint>, ​       /* mileage counter */
 + "​bytes":​ <​uint> ​          /* GPRS traffic counter */ 
 } }
 </​code>​ </​code>​
  
  
-**Flag ​0x4user parameters**\\+==== 0x4 flag ==== 
 +Returns ​user parameters
 Response depends on user definitions for current event. Response depends on user definitions for current event.
 <code javascript>​ <code javascript>​
Line 143: Line 154:
 } }
 </​code>​ </​code>​
-**Flag ​0x10full JSON**\\+==== 0x10 flag ==== 
 +Returns ​full JSON
 For sensors with both ''​type=2''​ and ''​type=3''​ (except FLS): For sensors with both ''​type=2''​ and ''​type=3''​ (except FLS):
 <code javascript>​ <code javascript>​
Line 177: Line 189:
 } }
 </​code>​ </​code>​
-**Flag ​0x20formatted values**+==== 0x20 flag ==== 
 +Returns ​formatted values
 <code javascript>​ <code javascript>​
 "​ignition":​ { "​ignition":​ {
Line 214: Line 227:
      "​filled":<​text>​ /​* fuel filled */      "​filled":<​text>​ /​* fuel filled */
  }  }
 + }
 +}
 +</​code>​
 +
 +<code javascript>​
 +"​counters":​ {
 + "​format":​ {
 + "​engine_hours":<​uint>, ​  /* formatted value of engine hours counter */
 + "​mileage":<​text>, ​       /* formatted value of mileage counter */
 + "​bytes":<​uint> ​          /* formatted value of GPRS traffic counter */ 
  }  }
 } }
 </​code>​ </​code>​
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2019 Gurtam