Difference between revisions of "Command:3"

From Awesome Baozam
Jump to: navigation, search
Line 4: Line 4:
  
 
{{CMD:2}}
 
{{CMD:2}}
 +
 +
<noinclude>
 +
{{cmd:4}}

Revision as of 18:07, 10 November 2015

SET

is an alias of response to GET

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



response to SET

is an alias of response to GET, but used in answer to SET

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