Open eblis opened 5 days ago
From what I can tell @Leptopt1los added the code for Electra protocol, maybe you have some ideas. I don't have a WiFi board which, from what I understand, makes debugging the code a lot harder so I resorted to print debugging various parts of the code.
These are the T5577 tags I bought. I understand that someone recommended some other tags from eMag in another issue but @itrack - who seems to have the same issue as me - tried those tags as well without success either.
@eblis I tested these tags from eMAG, same problem, these don't work
Describe the bug.
I have issues when trying to write an Electra tag to a T5577 tag. Flipper is stuck in trying to write tag. If I try to read back the tag the hex value is correctly written but the epilogue is stuck at 00000...
I added some comments to #1500 but there was no answer and that issue is not specific to Electra so I thought I should open a new one.
Trying to debug the issue a bit I see that Flipper is trying to send the epilogue to the T5577 tag, but when it reads back the epilogue is all 0s for some reason.
Reproduction
Target
No response
Logs
No response
Anything else?
I've tried to debug the writing process but couldn't get it to work so I resorted to print debugging it to try and find out some things.
After playing around with the logs I found out the following: I added some logs to the encoder_start function:
The logs show the following:
So the tag and epilogue was correctly determined.
I also added some logs to the electra_decode function
This is the log
Then after a while it writes the T5577 blocks, as such:
One question here, shouldn't block 4 (the epilogue) use the same Manchester encoding as the first 3 blocks ?
Then flipper I assume reads what was written and it reads everything, except the epilogue, which remains 00 00 00 ...