Offset | Length | Description |
---|---|---|
0x00 | 1 | Hardware Version |
0x01 | 1 | Software Version |
0x02 | 1 | Eeprom Version |
0x03 | 2 | Unknown: 0x0000 |
Offset | Length | Description |
---|---|---|
0x00 | 4 | FOTF - FOTP |
0x04 | 4 | MC - BMSF - BMSE - DONE |
0x08 | 4 | FILE_LENGTH - sizeof(FOTA_HEADER), must be < 0x1F400(128000) |
0x0C | 2 | Unknown: 0x0100 |
0x0E | 1 | Checksum: Sum of all bytes in this header |
Offset | Length | Description |
---|---|---|
0x00 | 4 | int total_wheel; // total_distance = (total_wheel * 208) / 1000000 |
0x04 | 1 | byte unk1; |
0x05 | 1 | bool framenumber_flag; |
0x06 | 2 | short errcode_entries; |
0x08 | 4 | int timestamp; |
0x0C | 1 | byte assistant_mode; |
Offset | Length | Description |
---|---|---|
0x00 | 4 | int trip_num; |
0x04 | 4 | int cur_id; |
Offset | Length | Description |
---|---|---|
0x00 | 4 | int num; |
0x04 | 4 | int trip; |
0x08 | 4 | int calurie; |
0x0C | 4 | int period; |
Offset | Length | Description |
---|---|---|
0x00 | 4 | int timestamp; |
0x04 | 4 | int code1; |
0x08 | 4 | int code2; |