Difference between revisions of "Command:000"

From Awesome Baozam
Jump to: navigation, search
(other)
Line 38: Line 38:
 
# [[cmd:200]] report message
 
# [[cmd:200]] report message
 
# [[cmd:202]] welcome message/device connected
 
# [[cmd:202]] welcome message/device connected
# [[cmd:204]] device disconnected
+
# [[cmd:204]] device disconnected ''// send by server''

Revision as of 11:28, 20 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

monitors

  1. cmd:11 GET monitor(s)
  2. cmd:12 response to GET monitor(s)
  3. cmd:13 SET monitor(s) // alias of 12
  4. cmd:14 response to SET monitor(s) // alias of 12
  5. cmd:16 Monitor packet // alias of 2

streams

  1. cmd:21 GET stream(s)
  2. cmd:22 response to GET stream(s)
  3. cmd:23 SET stream(s)
  4. cmd:24 response to SET stream(s)
  5. cmd:26 Stream packet

oscillograms

  1. cmd:31 GET oscillogram(s)
  2. cmd:32 response to GET oscillogram(s)
  3. cmd:33 SET oscillogram(s)
  4. cmd:34 response to SET oscillogram(s)
  5. cmd:36 Oscillogram packet

flags

  1. cmd:41 GET flag(s)
  2. cmd:42 response to GET flag(s)
  3. cmd:43 SET flag(s)
  4. cmd:44 response to SET flag(s)

other

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