Difference between revisions of "Command:23"

From Awesome Baozam
Jump to: navigation, search
Line 15: Line 15:
 
<noinclude>
 
<noinclude>
 
As response to this command should be send
 
As response to this command should be send
# [[CMD:2|answer to GET]]
 
 
# [[CMD:200|Report message]]  inform about results of command (Stream is ON/OFF)
 
# [[CMD:200|Report message]]  inform about results of command (Stream is ON/OFF)
 
# ... [[CMD:102|Stream packets]]
 
# ... [[CMD:102|Stream packets]]
  
 
{{:CMD:102}}
 
{{:CMD:102}}

Revision as of 12:04, 17 November 2015

Stream request

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

streams:N

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


As response to this command should be send

  1. Report message inform about results of command (Stream is ON/OFF)
  2. ... Stream packets

Answer to SET Command

Report message

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

answer:N

 4 addr
 1 command id
 2 report code
 wl error text description length
 c* error description

report codes