Difference between revisions of "Command:32"
From Awesome Baozam
(Created page with "== Response to GET Oscillogram== 1 cmd type 2 cmd id // set by server 1 streams count // max 256 streams* 4 addr 4 period NB. positive value - send periodica...") |
|||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | == Response to GET | + | == [[cmd:32|Response to GET filesize(s) from device]] == |
1 cmd type | 1 cmd type | ||
2 cmd id // set by server | 2 cmd id // set by server | ||
| − | 1 | + | 1 file info count // max 256 |
| − | + | file info<nowiki>[</nowiki>*] | |
| − | + | ||
| − | + | wl filename length | |
| − | + | c* filename | |
| − | + | wl file size | |
| − | + | positive value - real file size in bytes | |
| − | + | 0 - file not exists | |
| − | + | if file size != 0 then include file hash info | |
| − | + | ||
| − | + | ||
| − | + | ||
<noinclude> | <noinclude> | ||
| − | {{cmd: | + | {{cmd:31}} |
Latest revision as of 11:40, 16 September 2016
Response to GET filesize(s) from device
1 cmd type 2 cmd id // set by server 1 file info count // max 256
file info[*]
wl filename length
c* filename
wl file size
positive value - real file size in bytes
0 - file not exists
if file size != 0 then include file hash info
GET filesize(s) from device
1 cmd type 2 cmd id // set by server 1 filename count // max 256
filename[*]
wl filename length c* filename