You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the general documentation is described that a reset token is a counter synchronization token with counter 0 and this token should be accepted all time.
When I try to use a reset token on a device with a counter 100 I get an old token feedback. I tried it with the c code implementation and also with the python scripts.
I used the example device key and starting code (123456789)
I generated a counter sync token with counter 100 - 397832788
I generated a counter sync token with counter 0 - 123456788
I used the python code and the device simulator like this:
Does it mean that the reset token function in general should be not supported? Or is a counter synchronization token with counter 1 the one which should be accepted all time as described in the documentation?
On Thu, Oct 20, 2022, 16:19 JoLo33 ***@***.***> wrote:
Does it mean that the reset token function in general should be not
supported? Or is a counter synchronization token with counter 1 the one
which should be accepted all time as described in the documentation?
—
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUSSJISXDPNUBELBA6ULN3WEFIHHANCNFSM57OIMXCQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
Hey there,
in the general documentation is described that a reset token is a counter synchronization token with counter 0 and this token should be accepted all time.
When I try to use a reset token on a device with a counter 100 I get an old token feedback. I tried it with the c code implementation and also with the python scripts.
I used the example device key and starting code (123456789)
I generated a counter sync token with counter 100 - 397832788
I generated a counter sync token with counter 0 - 123456788
I used the python code and the device simulator like this:
And the output is:
TOKEN_VALID | Value: 999
UNKNOWN_COMMAND
Device:
Expiration Date: 2022-08-24 15:47:20.823061
Current count: 100
PAYG Enabled: True
Active: True
OLD_TOKEN
Device:
Expiration Date: 2022-08-24 15:47:20.823061
Current count: 100
PAYG Enabled: True
Active: True
Regards
Jonas
The text was updated successfully, but these errors were encountered: