Command:35

From Awesome Baozam
Revision as of 13:14, 26 November 2015 by Ypypy (Talk | contribs) (Created page with "__NOTOC__ ==<includeonly>response to SET Oscillogram</includeonly><noinclude>response to SET Oscillogram</noinclude>== * is an alias of CMD:32|respons...")

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

response to SET Oscillogram

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


PUT file to device

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

file infos[*]

wl  filename length
c*  filename
wl  file size
   if file_size=0 it means that device should delete the file

on error device should send cmd:38 (server - cmd:39) with corresponding code

if ok ping-pong by cmd:34<==>cmd:35 commands starts

when uploading finished device should send cmd:38 with code 600