Difference between revisions of "Command:23"

From Awesome Baozam
Jump to: navigation, search
m (Baya moved page Command:13 to Command:23 without leaving a redirect)
Line 1: Line 1:
== Stream request ==
+
== SET Stream ==
  
1  cmd type
+
* is an alias of [[CMD:22|response to GET Stream]]
2  cmd id // set by server
+
* used for set stream
  1  streams count // max 256
+
 
streams:N
+
  {{CMD:12}}
  4 addr
+
  1 type
+
  4 period NB.
+
      positive value - send periodically every V*10ms,
+
      0 - do not send,
+
      -1 - send occasionally,
+
      -2 - send immediately
+
  
 
<noinclude>
 
<noinclude>
 
As response to this command should be send
 
As response to this command should be send
# [[CMD:200|Report message]] inform about results of command (Stream is ON/OFF)
+
* [[cmd:14]] response to Monitor SET
# ... [[CMD:102|Stream packets]]
+
and can be send
 +
* [[CMD:16|Monitor packets]]
  
{{:CMD:102}}
+
{{CMD:14}}
 +
{{CMD:16}}
 +
 
 +
  4 period NB.
 +
      positive value - send periodically every V*10ms,
 +
      0 - do not send,
 +
      -1 - send occasionally,
 +
      -2 - send immediately

Revision as of 13:21, 26 November 2015

SET Stream

== Response to GET Monitor ==
1  cmd type
2  cmd id // set by server
1  monitors count // max 256

monitors*

 4 addr
 1 on/off



As response to this command should be send

  • cmd:14 response to Monitor SET

and can be send


response to SET Monitor

Response to GET Monitor

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

monitors*

 4 addr
 1 on/off



Monitor packet

response to GET

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

monitor*

 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



 4 period NB. 
     positive value - send periodically every V*10ms, 
     0 - do not send, 
     -1 - send occasionally, 
     -2 - send immediately