Difference between revisions of "Command:26"

From Awesome Baozam
Jump to: navigation, search
(Stream packet)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
== Stream packet ==
 
== Stream packet ==
  
* used for sending streaming data. Sending period regulated by [[cmd:23|SET Stream ]]
+
* used for streaming data. Sending period regulated by [[cmd:23|SET Stream ]]
  
 
  1  cmd type
 
  1  cmd type
Line 8: Line 8:
 
  1  streams count // max 256
 
  1  streams count // max 256
 
  stream*
 
  stream*
  4  address
+
    4  address
  1  parameter type
+
    1  parameter type
   [wl] values count; if this > 1 then pt < 0 and this byte presents in the packet
+
   [wl] values count
  data*
+
    data*
      v value; see details into parameter type
+
        [v] value; see details into parameter type
      4 timestamp // can be 0, in this case server/client time should be used
+
        4 timestamp // can be 0, in this case server/client time should be used

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