I made a RFID raw parser (:
Apparently the files have sections.
I made a RFID raw parser (:
Apparently the files have sections.
Thatās very cool! Thanks for the excellent readme explaining the structure.
Iām a complete dummy and am wanting to use this to open a raw file from my Flipper. Iāve got a Ubuntu instance and did the NPM install of your package, but Iām not sure how to move forward from there. I see the commonJS and ESM sections, but Iām not sure how to actually apply that. How do I actually run this against a file?
Edit: OK, I figured out how to run it. Now Iām running into an issue with a card Iām trying to scan and Iām not sure how to handle it. This is my output of an ask.raw file:
r {
data: {
header: {
magic: 1279674706,
version: 1,
frequency: 125000,
dutyCycle: 0.5,
maxDataLength: 2048,
byteOffset: 20
},
data: [ [Object], [Object], [Object], [Object], [Object] ]
},
error: null
}
And this is the output of a psk.raw file of the same card:
r {
data: {
header: {
magic: 1279674706,
version: 1,
frequency: 62500,
dutyCycle: 0.25,
maxDataLength: 2048,
byteOffset: 20
},
data: [
[Object], [Object],
[Object], [Object],
[Object], [Object],
[Object], [Object]
]
},
error: null
}
Any ideas, @JoshuaB?
Edit 2: I also installed Node on my Windows machine and get the same issue. Several objects in the data and āerror: nullā.
It looks like everything is working! The objects are actually binary files that you cab save to your computer. Iām afraid that I canāt help with decoding these binary files as they are just raw data. RFIL is just a tool to extract them. I updated the README.