Difference between revisions of "Command:3"

From Awesome Baozam
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
==SET==
 
==SET==
  
is an alias of [[CMD:2|response to GET]]
+
is an alias of [[CMD:2|response to GET]], but used for set parameter
  
 
{{CMD:2}}
 
{{CMD:2}}
 +
 +
<noinclude>
 +
{{cmd:4}}

Latest revision as of 12:01, 18 November 2015

SET

is an alias of response to GET, but used for set parameter

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