I am trying to reverse engineer some code regarding EPOCH time.
I know the hex input is 0xf1, 0xad, 0x42, 0x55, 0x60, 0x7c, 0x01, 0x00 which is in32_t.
This gives an EPOCH time of 1035480334336
In order to generate live EPOCH time from GPS, it needs to be converted into HEX, so I need to know how the HEX values shown above are being used to give that current static output.
HEX is just a human-readable representation of a binary number. Please explain why you think any conversion is needed, and for what particular application.
Its for a simulator. So for parts of the other code, some of the HEX values are actually converted into BIN and then ASCII.
For example, 0x31, 0x39, 0x35, 0x37, 0x34, 0x31 actually equates to 195741, not its normal DEC value.
However, I am struggling to see the correlation between 1035480334336 and the HEX values 0xf1, 0xad, 0x42, 0x55, 0x60, 0x7c, 0x01, 0x00, so was hoping a fresh pair of eyes may see it.