Difference between revisions of "Command:26"

From Awesome Baozam
Jump to: navigation, search
(Stream packet)
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
== Stream packet ==
 
== Stream packet ==
 +
 +
* used for streaming data. Sending period regulated by [[cmd:23|SET Stream ]]
  
 
  1  cmd type
 
  1  cmd type
 
  2  cmd id // set by server
 
  2  cmd id // set by server
 
  1  streams count // max 256
 
  1  streams count // max 256
streams:N
+
stream*
  4 addr
+
    4 address
  1 type
+
    1 parameter type
  t value
+
  [wl] values count
  4 timestamp // can be 0, in this case server/client time should be used
+
    data*
 
+
        [v] value; see details into parameter type
<noinclude>
+
        4 timestamp // can be 0, in this case server/client time should be used
This packet should be send in answer or/and periodically after [[CMD:101|Stream request]].
+
In addition  device was return  [[CMD:2|answer to get]] and [[CMD:200|info msge]].
+
{{:CMD:101}}
+

Latest revision as of 12:41, 13 April 2017

Stream packet

  • used for streaming data. Sending period regulated by SET Stream
1  cmd type
2  cmd id // set by server
1  streams count // max 256
stream*
   4  address
   1  parameter type
  [wl] values count
   data*
       [v] value; see details into parameter type
        4 timestamp // can be 0, in this case server/client time should be used