Research, development and trades concerning the powerful Proxmark3 device.
Remember; sharing is caring. Bring something back to the community.
"Learn the tools of the trade the hard way." +Fravia
You are not logged in.
Time changes and with it the technology
Proxmark3 @ discord
Users of this forum, please be aware that information stored on this site is not private.
Hi,
There is a bug in the function Cmdmanchesterdemod:
for (i = 0; i < bitidx; i += 2) {
if ((BitStream[ i ] == 0) && (BitStream[i+1] == 1)) {
BitStream[bit2idx++] = 1 ^ invert;
} else if ((BitStream[ i ] == 1) && (BitStream[i+1] == 0)) {
BitStream[bit2idx++] = 0 ^ invert;
the for must begin from i=1 not from i=0 as BitStream[0] is always 0. The author did it because in the code above we overwrite BitStream so we leave the [0] index free to overwrite it.
Regards
Offline