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
en:sidebar:remoteapi:apiref:format:messages [02/12/2019 14:44]
sden [Message with data]
en:sidebar:remoteapi:apiref:format:messages [06/11/2023 08:13]
yami [Message with data]
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 54: Line 55:
  },  },
         "​lc":<​int>,​ /​* lbs message checksum */         "​lc":<​int>,​ /​* lbs message checksum */
- "​rt":<​uint>​, /* message registration time (UTC) */+ "​rt":<​uint>​ /​* message registration time (UTC) */
 } }
 </​code>​ </​code>​
Line 67: Line 68:
 | 0x20 | 32 | message contains information about driver code which come only in parameter avl_driver | | 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 |
 +| 0x80000 | 524288 | message contains wi-fi position |
  
 ===== SMS ===== ===== SMS =====
Line 129: Line 131:
 | 0x10 | 16 | is set in addition to flag 0x2: maintenance is registered | | 0x10 | 16 | is set in addition to flag 0x2: maintenance is registered |
 | 0x20 | 32 | 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 =====
Line 199: Line 220:
  
 <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