Main.Bf2Upload
This command transfers a single line of a BF2 file starting
with a colon to the reader (needed for firmware upload).
Properties
- Command code: 0xF001
- Command timeout: 5000 ms
- Possible status codes: General status codes
Parameters (request frame)
Name | Type/Size | Description |
---|---|---|
Bf2Line | Raw data (until end of frame) | This corresponds to 1 line in a BF2 file starting with a colon instead of a hash sign. As BF2 files are text files, you need to strip each space and colon from a BF2 line and transform each hex digit pair to a byte. Then, transfer the resulting sequence of bytes in this field. |
Returned values (response frame)
Name | Type/Size | Description | |
---|---|---|---|
ResultCode | Enumeration (8 bits) |
Error code of this operation Values:
|
|
InvertedResultCode | Integer (8 bits) | Value of ResultCode with inverted bits (= ResultCode XOR 0xFF) |