Difference between revisions of "Command:32"

From Awesome Baozam
Jump to: navigation, search
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Response to GET Oscillogram==
+
== [[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  oscillograms count // max 256
+
  1  file info count // max 256
streams*
+
file info<nowiki>[</nowiki>*]
  4 addr
+
  4 period NB.
+
wl  filename length
      positive value - send periodically every V*10ms,
+
c*  filename
      0 - do not send,
+
wl  file size
      -1 - send occasionally,
+
    positive value - real file size in bytes
      -2 - send immediately
+
    0 - file not exists
  2 points NB.
+
if file size != 0 then include file hash info
      0 - all available
+
 
+
 
+
 
<noinclude>
 
<noinclude>
 
{{cmd:31}}
 
{{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