Difference between revisions of "Command:000"

From Awesome Baozam
Jump to: navigation, search
Line 12: Line 12:
 
# [[cmd:101]] Stream request
 
# [[cmd:101]] Stream request
 
# [[cmd:102]] Stream response
 
# [[cmd:102]] Stream response
 +
# [[cmd:103]] Monitor request
 +
# [[cmd:104]] Monitor response
  
 
=== other ===
 
=== other ===

Revision as of 10:42, 18 November 2015

  1. clients send even commands
  2. devices send odd commands

parameters

  1. cmd:1 GET parameter(s)
  2. cmd:2 response to GET
  3. cmd:3 SET parameter(s) // alias of 2
  4. cmd:4 response to SET // alias of 2

streams

  1. cmd:101 Stream request
  2. cmd:102 Stream response
  3. cmd:103 Monitor request
  4. cmd:104 Monitor response

other

  1. cmd:200 report message
  2. cmd:202 welcome message/device connected
  3. cmd:204 device disconnected