436-0100-01-10, Rev. 200 Duo User Guide
Information on this page is subject to change without notice
Uint32_t u32Type; // target type 0 - folder 1 - file
Uint32_t u32 Index; // target start index
Uint32_t u32Count; // number of targets
String strPath [32] ; // query the directory path , fill in the root directory ;
String strSuffix [32]; // file suffix , support multiple suffixes such as " .jpg |
.mov "; u32Type is 0 can be ignored ;
};
CRC Description:
In CSP-TCP applications, the CRC is ignored
Instruction Application: TCP
Data flow: CS --- G / A
Identification
code
1 Byte
Instruction number
2 Bytes
Instruction length
2 Bytes
Instruction body
(8 + 88 * N) Bytes
Instruction body format:
Struct {
Uint32_t u32Total ; // total number of targets
Uint32_t u32Count; // number of target lists
Struct {
Uint32_t u32Size; // target size , the target for the folder can be ignored
Sting strTime [20]; // target creation time
Sting strPath [64]; // target path
} List [n]; // target list, n = u32Count
};
CRC Description :
In CSP-TCP applications, the CRC is ignored
5.7 file start query
It is mainly used for continuous queries on file lists. The application conditions are as follows: