-
Notifications
You must be signed in to change notification settings - Fork 3
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
Filter Value #5
Comments
Maybe this helps: Maybe you can deduct filter values form binary values. |
You already provide the filter value in one of your functions. In pyepc/epc.py:
These two additional lines fix the issue. The question is if it breakes other things. (in this case one may use a different variable than If it's ok for you, I would create a PR and write some tests. |
I think it's ok to set the default_filter_value with the filter_value that was decoded from an SGTIN. Do you want to send a pull request for this? If yes, please include a test case. |
Hello,
this is more like a question rather than an issue. I tried
So the third bit is reserved for filtering. Is there a way to access the filter from an encoded epc like this:
Every other attribute is stored on the instance but I haven't found the filter.
Thanks in advance!
The text was updated successfully, but these errors were encountered: