Difference between revisions of "Command:101"

From Awesome Baozam
Jump to: navigation, search
Line 6: Line 6:
 
{{{1|commands}}}*
 
{{{1|commands}}}*
 
  4*  address
 
  4*  address
  1  [[cmd parameter type]]
+
  1  [[parameter type]]
 
   [wl] values count; if this > 1 then pt < 0 and this byte presents in the packet
 
   [wl] values count; if this > 1 then pt < 0 and this byte presents in the packet
 
   v* value; see details into [[parameter type]]
 
   v* value; see details into [[parameter type]]
Line 14: Line 14:
 
* TODO depend on user level (?)
 
* TODO depend on user level (?)
  
{{cmd:2}}
+
{{cmd:102}}

Revision as of 19:01, 1 December 2015

SET Command

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

commands*

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

Notes

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

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