Difference between revisions of "Command:3"

From Awesome Baozam
Jump to: navigation, search
m (Baya moved page CMD:3 to Command:3 without leaving a redirect)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==SET==
 
==SET==
  
1  cmd type
+
is an alias of [[CMD:2|response to GET]], but used for set parameter
2 cmd id // set by server
+
 
1  parameters count // max 256
+
{{CMD:2}}
  parameters:N
+
 
4  address
+
<noinclude>
1  [[parameter type]]
+
{{cmd:4}}
  value:values // see details into [[parameter type]]
+

Latest revision as of 11: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