Use this TLV in the Record File Start message (0x011E) to specify whether to append to a file or to completely replace the file.
You can set the "File Not Found" behavior so that if you attempt to append to a file that is not found, you can create a new file or fail the open command.
The Append or Replace TLV is ignored for temporary records, which are always replaced. It is also ignored when copying a temporary record to a file.
Byte |
Description |
0, 1 |
Tag: 0x0615 Append or Replace |
2, 3 |
Length: 0x0002 |
4 |
Append or Replace File 0 - Replace 1 - Append |
5 |
"File Not Found" Behavior 0 - Fail the Open Command 1 - Create a New File |