Forum › MIFARE SDK › Disposable Mifare Ultralight › Reply To: Disposable Mifare Ultralight
Hi Onyekachi,
Yes, you can set the count to any value, but you never can set a bit to 0 again if it was 1 before. Please take in mind, the counter is in function a “bit counter”.
For instance, you allow a user the usage of five times to use the ticket. Then you will set the counter to the initial value “11111…11100000”. At every usage you will set a “0” to “1”. If the OTP counter is “11111…111”, it cannot be used again.
Regards,
The MIFARE Team
Yes, you can set the count to any value, but you never can set a bit to 0 again if it was 1 before. Please take in mind, the counter is in function a “bit counter”.
For instance, you allow a user the usage of five times to use the ticket. Then you will set the counter to the initial value “11111…11100000”. At every usage you will set a “0” to “1”. If the OTP counter is “11111…111”, it cannot be used again.
Regards,
The MIFARE Team
+ 0
|
- 0