Difference between revisions of "Command:33"

From Awesome Baozam
Jump to: navigation, search
(Created page with "== PUT file to device == 1 cmd type 2 cmd id // set by server 1 parts count // always 1 wl filename length c* filename wl file size <noinclude> {{cmd:...")
 
Line 3: Line 3:
 
  1  cmd type
 
  1  cmd type
 
  2  cmd id // set by server
 
  2  cmd id // set by server
  1  parts count // always 1
+
  1  parts count // max 256
 +
file infos*
 
  wl  filename length
 
  wl  filename length
 
  c*  filename
 
  c*  filename

Revision as of 12:31, 9 September 2016

PUT file to device

1  cmd type
2  cmd id // set by server
1  parts count // max 256

file infos*

wl  filename length
c*  filename
wl  file size


GET file part from server

1  cmd type
2  cmd id // set by server
1  parts count // always 1
wl  filename length
c*  filename
wl  part start
wl  part length


response to GET file part from server

1  cmd type
2  cmd id // set by server
1  parts count // always 1
wl  filename length
c*  filename
wl  part start
wl  part length
b*  bytes