Difference between revisions of "Command:101"

From Awesome Baozam
Jump to: navigation, search
Line 1: Line 1:
 
==SET Command==
 
==SET Command==
* is an alias of [[CMD:3|SET parameter]]
 
  
 +
1  cmd type
 +
2  cmd id // set by server
 +
1  {{{1|commands}}}s count // max 256
 +
{{{1|commands}}}*
 +
4*  address
 +
1  [[cmd 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]]
 
<noinclude>
 
<noinclude>
{{CMD:3|Command}}
+
=== Notes ===
 +
* in some cases device will send additional response with all parameter's values.
 +
* TODO depend on user level (?)
 +
 
 +
{{cmd:2}}

Revision as of 18:00, 1 December 2015

SET Command

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

commands*

4*  address
1  cmd 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

Notes

  • in some cases device will send additional response with all parameter's values.
  • TODO depend on user level (?)

response to GET

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

parameter*

 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