Command:3

From Awesome Baozam
Revision as of 11:01, 18 November 2015 by Baya (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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