-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hf 15 rdbl flag issue #2256
Comments
The "custom flag" is also enabled on |
We have a param for it: We just override it for the rdbl/wrbl like this:
If you don't want to, then you need to handle two different responses on client side and the longer wait for the write on device side. So if you want to change it, don't forget to handle them too properly. Not to mention I guess you as a consequence sooner or later also might want to handle the simulation code to mimic it. |
Thanks for the input. As always: very valuable! For some reason I did not think of OPTION = "Custom Flag" in ISO15693. Like always, I should have looked into the code. :) I see the challenges with handling two different responses (with and without lock information). But not sure if it will affect other commands. Different responses should only affect Any thoughts? Maybe one day I will find the time to implement the different handling for these two commands... |
It doesn't store the information right now doesn't mean it is correct. The JSON format should include it. The writeblock wants it on TI tags and my other tags is ok with it. So easier to make that the default behavior. We really don't want that. |
Oh yes, it does! I guess what tripped me was that
You are absolutely right on this! Just set the flag by default! But what I would really like is not to be forced to (without knowing). Maybe the easiest way out is to always set the flag for all commands and make it an option to not set it (which is not enforced). If I'm not mistaken, only the |
If you find time, feel free to improve it. I am swamped with other parts now. |
Yeah, I feel you. Lots of things to do :) Thanks for sticking with me through this discussion. I'm pretty new to ISO15693 and the way the PM3 interacts with those tags. Let's keep this issue open for at least some time. Hopefully I can find some time to implement changes to make it more intuitive/consistent. |
of course, |
What is the status on this one? |
The flag is still all over the place.
There is no easy fix. The The best way in my opinion would be:
Now to the important part: Will I have the time and motivation to implement all this? No. Regardless, with the latest reworks the |
Hi!
To my understanding the read block command
hf 15 rdbl
will always set the ISO15693 "custom flag" in its request.I think it does this, because some tag manufacturers will include the lock bit, if you define this flag.
For example, this is a
hf 15 rdbl
of a ICODE SLI:If you do not set the "custom flag" the
0x62
will become0x22
. The same read does then look like this:Notice that the lock bit is missing in the response.
Although this is a convenient way to get the lock bit while reading a block, this is not a specified behavior according to ISO 15693-3. I have a tag that does not use the "custom flag". Therefore, the
hf 15 rdbl
command will display wrong results because it assumes that there is a lock bit information in the response.It would be great if there would be a option to
hf 15 rdbl
which does disable setting the custom flag and in return just shows the block data (and no information about the lock bit).Thanks!
The text was updated successfully, but these errors were encountered: