Changes

2,834 bytes added ,  10:51, 14 July 2021
Line 870: Line 870:  
When sent, the initialization packet is repeated. This is used, when all of the files are downloaded and an additional check is carried out for any additional files, that may have been captured during the download operation.
 
When sent, the initialization packet is repeated. This is used, when all of the files are downloaded and an additional check is carried out for any additional files, that may have been captured during the download operation.
 
<br>
 
<br>
 +
 
'''Query file metadata request (CMD ID 0x000A)'''<br>
 
'''Query file metadata request (CMD ID 0x000A)'''<br>
 
This command is used for retrieving extra information about a selected file. A file identifier is used to determine which file’s information will be received. File identifiers are identical and used in the same way as in the File Request Command (0x0008).
 
This command is used for retrieving extra information about a selected file. A file identifier is used to determine which file’s information will be received. File identifiers are identical and used in the same way as in the File Request Command (0x0008).
 +
{| class="wikitable"
 +
|+
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Command ID (2 bytes)'''
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Data length (2 bytes)'''
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''File Identifier (7 bytes)'''
 +
|-
 +
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x000A
 +
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x0007
 +
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0xFFFFFFFFFFFFFF
 +
|-
 +
|}
 +
 +
Can be sent after the initialization packet or after the file transfer is complete. It is not a mandatory command and doesn’t have to be used.
 +
The response for this command is 0x000B (more details below).
 +
 +
'''Note: 0x000A command was added since 03.27.04.Rev.104 firmware version and would not work with older versions.'''
 +
<br>
 +
 +
'''File metadata response  (CMD ID 0x000B)'''<br>
 +
0x000B is a response command to the request command 0x000A.
 +
 +
Response command returns information about a specified file: file type, timestamp, trigger, and video length. Complete command’s structure:
 +
{| class="wikitable"
 +
|+
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Command ID (2 bytes)'''
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Data length (2 bytes)'''
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Command version (1 byte)'''
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''File type (1 byte)'''
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Timestamp (8 bytes)'''
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Trigger (1 byte)'''
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Video length (2 bytes)'''
 +
|-
 +
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x000B
 +
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0x000D
 +
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0xFF
 +
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0xFF
 +
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0xFFFFFFFFFFFFFF
 +
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0xFF
 +
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0xFFFF
 +
|-
 +
|}
 +
 +
'''Note: 0x000B command was added since 03.27.04.Rev.104 firmware version and would not work with older versions.'''
 
<br>
 
<br>