Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Signature record can be only v2.0 #8

Open
merlokk opened this issue Nov 24, 2021 · 1 comment
Open

Signature record can be only v2.0 #8

merlokk opened this issue Nov 24, 2021 · 1 comment

Comments

@merlokk
Copy link

merlokk commented Nov 24, 2021

Hi

https://github.com/haldean/ndef/blob/master/docs/NFCForum-TS-Signature_RTD-1.0.pdf

here the specification

here: 3028b2a i see change from byte to word. I don't have v2.0 specification but as for v.1 (or as in the decoder v0.1) here byte lengths.

i can modify the current Signature class to support v1 and v2 cases. Is this ok?

@nehpetsde
Copy link
Member

The length field is 16-bits in both version 1 and 2 of the Signature specification. It has been a bug in ndeflib to encode it as 8-bit.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants