tajfutas / sicounter

SportIdent Punch and Read Out Counter
Other
1 stars 0 forks source link

SIID parsed from read out data is wrong for SI6 cards #2

Open SzieberthAdam opened 6 years ago

SzieberthAdam commented 6 years ago

https://github.com/tajfutas/data-hungaria2017/blob/c033e7083c518b98203ed3c691bc3d15465da0ba/day1-808/pc2-rdo1/sicounter.log#L27-L28

SzieberthAdam commented 6 years ago

Config+ SIID block:

https://github.com/tajfutas/si-configplus-decompiled/blob/17a2414a1fdeecad9d42fa813cc513bfd1085b01/SPORTident.Communication/Communication.cs#L4674-L4680

00 [11] [12] [13]

SICOUNTER SIID block:

https://github.com/tajfutas/sicounter/blob/1eac1efb10286d76d2f4b1d0a8ac38d839033899/sicounter.py#L192

[26] [27] [28] [29]

This seems a mere mistake.

Config+ SIID calculation:

https://github.com/tajfutas/si-configplus-decompiled/blob/17a2414a1fdeecad9d42fa813cc513bfd1085b01/SPORTident.Common/Helper.cs#L980-L1027