Difference between revisions of "Command:000"

From Awesome Baozam
Jump to: navigation, search
(other)
(files)
 
(16 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
# [[cmd:1]] GET parameter(s)
 
# [[cmd:1]] GET parameter(s)
 
# [[cmd:2]] response to GET
 
# [[cmd:2]] response to GET
# [[cmd:3]] SET parameter(s) ''// alias of 2''
+
# [[cmd:3]] SET parameter(s) ''(alias of 2)''
# [[cmd:4]] response to SET ''// alias of 2''
+
# [[cmd:4]] response to SET ''(alias of 2)''
  
 
=== monitors ===
 
=== monitors ===
 
# [[cmd:11]] GET monitor(s)
 
# [[cmd:11]] GET monitor(s)
# [[cmd:12]] response to GET monitor(s)
+
# [[cmd:12]] response to ''GET monitor(s)''
# [[cmd:13]] SET monitor(s) ''// alias of 12''
+
# [[cmd:13]] SET monitor(s) ''(alias of 12)''
# [[cmd:14]] response to SET monitor(s) ''// alias of 12''
+
# [[cmd:14]] response to ''SET monitor(s)'' ''(alias of 12)''
# [[cmd:16]] Monitor packet ''// alias of 2''
+
# [[cmd:16]] Monitor packet ''(alias of 2)''
  
 
=== streams ===
 
=== streams ===
 
# [[cmd:21]] GET stream(s)
 
# [[cmd:21]] GET stream(s)
# [[cmd:22]] response to GET stream(s)
+
# [[cmd:22]] response to ''GET stream(s)''
 
# [[cmd:23]] SET stream(s)
 
# [[cmd:23]] SET stream(s)
# [[cmd:24]] response to SET stream(s)
+
# [[cmd:24]] response to ''SET stream(s)''
 
# [[cmd:26]] Stream packet
 
# [[cmd:26]] Stream packet
  
=== oscillograms ===
+
=== files ===
# [[cmd:31]] GET oscillogram(s)
+
# [[cmd:31]] GET filesize(s) from device
# [[cmd:32]] response to GET oscillogram(s)
+
# [[cmd:32]] response to ''GET filesize(s) from device''
# [[cmd:33]] SET oscillogram(s)
+
# [[cmd:33]] PUT file to device
# [[cmd:34]] response to SET oscillogram(s)
+
# [[cmd:34]] GET file part from server
# [[cmd:36]] Oscillogram packet
+
# [[cmd:35]] response to ''GET file part from server''
 
+
# [[cmd:38]] message(s) about file FROM device
=== flags ===
+
# [[cmd:39]] message(s) about file TO device
# [[cmd:41]] GET flag(s)
+
# [[cmd:42]] response to GET flag(s)
+
# [[cmd:43]] SET flag(s)
+
# [[cmd:44]] response to SET flag(s)
+
  
 
|style="border:1px #ccc solid"|
 
|style="border:1px #ccc solid"|
 
|style="vertical-align:top"|
 
|style="vertical-align:top"|
 +
 
=== commands/shortcuts ===
 
=== commands/shortcuts ===
 
# [[cmd:101]] call cmd
 
# [[cmd:101]] call cmd

Latest revision as of 12:32, 9 September 2016

  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

files

  1. cmd:31 GET filesize(s) from device
  2. cmd:32 response to GET filesize(s) from device
  3. cmd:33 PUT file to device
  4. cmd:34 GET file part from server
  5. cmd:35 response to GET file part from server
  6. cmd:38 message(s) about file FROM device
  7. cmd:39 message(s) about file TO device

commands/shortcuts

  1. cmd:101 call cmd
  2. cmd:102 rsp to call

other

  1. cmd:202 welcome message/device connected
  2. cmd:204 device disconnected // send by server
  3. cmd:254 message FROM device
  4. cmd:255 message TO device