Changes

18 bytes removed ,  15:12, 24 March 2021
1) Resume file transfer command (CMD ID 0x0002) 2) Synchronize file transfer command (CMD ID 0x0003)
Line 500: Line 500:  
<br>
 
<br>
 
'''Resume file transfer command (CMD ID 0x0002)'''<br>
 
'''Resume file transfer command (CMD ID 0x0002)'''<br>
In a response to the START command a RESUME command must be sent from a server.
+
In a response to the START command a RESUME command must be sent from server.
 
{| class="wikitable"
 
{| class="wikitable"
 
|+
 
|+
Line 509: Line 509:  
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x0002
 
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x0002
 
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x0004
 
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x0004
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x00000000
+
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x00000001
 
|}
 
|}
To begin a file transfer from the start, offset should be set to zero (4 bytes value). In case when the file transfer has been interrupted, to resume file transfer, offset can be set to the desired value (0 ≤ [offset] ≤ [file size]).
+
To begin file transfer from the start, offset should be set to 1 (4 bytes value). In case when the file transfer was interrupted, to resume file transfer, offset can be set to the desired value (1 ≤ [offset] ≤ [file packets]).
 
<br>
 
<br>
 
<br>
 
<br>
Line 524: Line 524:  
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x0003
 
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x0003
 
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x0004
 
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x0004
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x00000000
+
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x00000001
 
|}
 
|}
By sending a SYNC command, it is ensured that the next data command will contain a file data starting from the specified offset.
+
By sending SYNC command it is ensured that next data command will contain file data starting from the specified offset.
 
<br>
 
<br>
 
<br>
 
<br>

Navigation menu