Difference between revisions of "Command:1"
From Awesome Baozam
Line 1: | Line 1: | ||
+ | GET | ||
+ | |||
== request == | == request == | ||
− | + | 1 cmd type | |
− | + | 2 cmd id // set by server | |
− | 1 cmd type | + | 1 parameters count // max 256 |
− | + | parameters:N | |
− | 2 cmd id // set by server | + | 4 address |
− | + | 1 [[parameter type]] | |
− | 1 | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== response == | == response == | ||
− | + | if OK then [[CMD:2]] | |
+ | else | ||
+ | [[CMD:2]] |
Revision as of 12:54, 3 November 2015
GET
request
1 cmd type 2 cmd id // set by server 1 parameters count // max 256 parameters:N 4 address 1 parameter type
response
if OK then CMD:2 else CMD:2