Difference between revisions of "Command:1"

From Awesome Baozam
Jump to: navigation, search
Line 5: Line 5:
 
  1  parameters count // max 256
 
  1  parameters count // max 256
 
   parameters:N
 
   parameters:N
  4  address
+
  4* address
  
 
<noinclude>
 
<noinclude>

Revision as of 10:33, 18 November 2015

GET

1  cmd type
2  cmd id // set by server
1  parameters count // max 256
 parameters:N
4*  address


Notes

  • If count == 0 device should send in response all parameters
  • 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