Difference between revisions of "Command:26"

From Awesome Baozam
Jump to: navigation, search
Line 5: Line 5:
 
  1  reports count // max 256
 
  1  reports count // max 256
 
reports:N
 
reports:N
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
 
4 //end
 
4 //end
 
* is an alias of [[CMD:2|response to GET]] with timestamp value
 
* is an alias of [[CMD:2|response to GET]] with timestamp value

Revision as of 12:52, 26 November 2015

Report message

1  cmd type
2  cmd id // set by server
1  reports count // max 256

reports:N

4 timestamp // can be 0, in this case server/client time should be used

4 //end

response to GET

1  cmd type
2  cmd id // set by server
1  streams count // max 256

stream*

 4  address
 1  parameter type
 [wl] values count; if this > 1 then pt < 0 and this byte presents in the packet
 v* value; see details into parameter type



SET Stream

Response to GET Stream

1  cmd type
2  cmd id // set by server
1  streams count // max 256

streams*

 4 addr
 4 period NB. 
     positive value - send periodically every V seconds, 
     0 - do not send, 
     -1 - send occasionally, 
     -2 - send immediately