Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:sidebar:remoteapi:apiref:format:messages [29/04/2017 14:57]
stan [Message with data]
en:sidebar:remoteapi:apiref:format:messages [21/12/2022 16:59]
mani [wln messages]
Line 13: Line 13:
 | [[#​Command|0x0200]] | 512 | command | | [[#​Command|0x0200]] | 512 | command |
 | [[#​Event|0x0600]] | 1536 | event | | [[#​Event|0x0600]] | 1536 | event |
 +| [[#Video usage|0x2000]] ​ | 8192 | video usage |
 |  **Resource messages** ​ ||| |  **Resource messages** ​ |||
 | [[#​Notification|0x0300]] | 768 | notification | | [[#​Notification|0x0300]] | 768 | notification |
Line 52: Line 53:
  <​text>:<​double>,​  <​text>:<​double>,​
  ...   ...
- }+ }
 +        "​lc":<​int>,​ /​* lbs message checksum */ 
 + "​rt":<​uint>​ /​* message registration time (UTC) */
 } }
 </​code>​ </​code>​
Line 63: Line 66:
 | 0x08 | 8 | state information is available | | 0x08 | 8 | state information is available |
 | 0x10 | 16 | message contains alarm bit | | 0x10 | 16 | message contains alarm bit |
-| 0x20 | 32 | message contains information about driver code |+| 0x20 | 32 | message contains information about driver code which come only in parameter avl_driver ​|
 | 0x20000 | 131072 | message was corrected by lbs | | 0x20000 | 131072 | message was corrected by lbs |
  
 ===== SMS ===== ===== SMS =====
  
-Flag - 0<​nowiki>​x</​nowiki>​0100+Flag - 0<​nowiki>​x</​nowiki>​0100(256)
  
 <​code=javascript>​ <​code=javascript>​
Line 83: Line 86:
 ===== Command ===== ===== Command =====
  
-Flag - 0<​nowiki>​x</​nowiki>​0200+Flag - 0<​nowiki>​x</​nowiki>​0200(512)
  
 <​code=javascript>​ <​code=javascript>​
Line 105: Line 108:
 ===== Event ===== ===== Event =====
  
-Flag - 0<​nowiki>​x</​nowiki>​0600+Flag - 0<​nowiki>​x</​nowiki>​0600(1536)
  
 <​code=javascript>​ <​code=javascript>​
Line 120: Line 123:
  
 Event flags: Event flags:
-^ Value ^ Description ^ +^ Value HEX ^ Value DEC ^ Description ^ 
-| 0x0 | simple event | +| 0x0 | 0 | simple event | 
-| 0x1 | violation | +| 0x1 | 1 | violation | 
-| 0x2 | maintenance event | +| 0x2 | 2 | maintenance event | 
-| 0x4 | route control event | +| 0x4 | 4 | route control event | 
-| 0x10 | is set in addition to flag 0x2: maintenance is registered | +| 0x10 | 16 | is set in addition to flag 0x2: maintenance is registered | 
-| 0x20 | is set in addition to flag 0x2: registered filling |+| 0x20 | 32 | is set in addition to flag 0x2: registered filling | 
 + 
 +===== Video usage ===== 
 + 
 +Флаг - 0<​nowiki>​x</​nowiki>​2000(8192) 
 + 
 +<code javascript>​ 
 +
 + "​t":<​uint>,​ /​* message time (UTC) */ 
 + "​f":<​uint>,​ /​* flags */ 
 + "​tp":"​xx",​ /​* message type */ 
 + "​p":​{ /​* parameters */ 
 + "​cha_n":<​uint>,​ 
 + "​bytes_in":<​long>,​ 
 + "​action":<​uint>,​ 
 + "​conn_id":<​uint>,​ 
 + "​hw_id":<​long>​ 
 + }  
 +
 +</​code>​
  
 ===== Notification ===== ===== Notification =====
  
-Flag - 0<​nowiki>​x</​nowiki>​0300+Flag - 0<​nowiki>​x</​nowiki>​0300(768)
  
 <code javascript>​ <code javascript>​
Line 143: Line 165:
 ===== Billing message ===== ===== Billing message =====
  
-Flag - 0<​nowiki>​x</​nowiki>​0500+Flag - 0<​nowiki>​x</​nowiki>​0500(1280)
  
 <code javascript>​ <code javascript>​
Line 158: Line 180:
 ===== SMS for driver ===== ===== SMS for driver =====
  
-Flag - 0<​nowiki>​x</​nowiki>​0900+Flag - 0<​nowiki>​x</​nowiki>​0900(2304)
  
 <code javascript>​ <code javascript>​
Line 176: Line 198:
 ===== Log ===== ===== Log =====
  
-Flag - 0<​nowiki>​x</​nowiki>​1000+Flag - 0<​nowiki>​x</​nowiki>​1000(4096)
  
 <code javascript>​ <code javascript>​
Line 197: Line 219:
  
 <code javascript>​ <code javascript>​
-REG;​time;​lon;​lat;​speed;​course;​double params;int params;text params;long params;​boolean params;+REG;​time;​lon;​lat;​speed;​course;​double params;uint params;text params;long params;​boolean params;
 </​code>​ </​code>​
  
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam