An external device sends me regularly timestamps which I cannot translate. The have the following format:
31.12.2012 12:00:00 = 3B 3E C0 00
31.12.2012 12:00:01 = 3B 3E C0 01
31.12.2012 12:00:10 = 3B 3E C0 0A
31.12.2012 12:01:00 = 3B 3E C0 40
31.12.2012 13:00:00 = 3B 3E D0 00
31.12.2012 12:30:00 - 3B 3E C7 80
31.12.2012 12:30:59 - 3B 3E C7 BB
31.12.2012 12:44:59 - 3B 3E CB 3B
31.12.2012 12:45:00 - 3B 3E CB 40
31.13.2013 12:30:00 - 3F 3E C7 80
I have no idea how this timestamp is encoded, it's not the regular unix timestamp. It looks like the LSB contains the seconds, but it is not always like this (compare with 12:00:10
).
Does anybody has an idea how to solve this problem?