RE: Detection of FID, PID, RgnID & VenID
Quote:
Hi friends,
may you look at this HEX file?
I dont know, how to identify the correct offset, resp. start of the ID.
Thanks a lot
[Only registered and activated users can see links. Click Here To Register...]
5th byte is at address 00000004(h). That's since the address counting starts at 0.
At address 00000004(h) you find the value 32(h).
Then look at byte 32(h) + 9(h) = byte 3b(h) or 50(d) found at address 32(h) + 8(h) = 0000003a(h). Byte 1 at address 0, byte 2 at address 1 etc.
Code:
Garmin Motorrad-Touren
LIC_1444, 1444-21 Motorradroutenplaner Garmin Deutschland GmbH 2009
0000003a(h): 05
00000039(h): a4
FID = 5a4(h) = 1444(d)
0000003b(h): 15
PID = 15(h) = 21(d)
0000003c(h): 00
RgnID = 0(h) = 0(d)
0000003d(h): 00
VenID = 0(h) = 0(d)