-
SmartPoster tag keys
I can read and write to smart poster tag with several 6131 with no problem. But i can't read neither write to smart poster using a regular Mifare reader. Does somebody know what are the keys (keyA & keyB) used by the 6131 with writing/reading to smart poster.
Thanks,
Lionel
-
Re: SmartPoster tag keys
Did you try keyA 000000000000 & keyB FFFFFFFFFFFF ? Not sure.
-
Re: SmartPoster tag keys
I can't still figure out what the new key value are:
i have done the following test:
i take an empty rfid tag and using a reader i can read the whole content with keyB="FFFFFFFFFFFF". The content is:
rec 0 : 74.FD.08.0C.8D.88.04.00.46.8E.45.92.49.30.11.05
rec 1 : 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
rec 2 : 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
rec 3 : 00.00.00.00.00.00.FF.07.80.69.FF.FF.FF.FF.FF.FF
rec 4 : 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
rec 5 : 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
rec 6 : 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00
rec 7 : 00.00.00.00.00.00.FF.07.80.69.FF.FF.FF.FF.FF.FF
...
...
where we can see that KeyA is "000000000000" and KeyB is "FFFFFFFFFFFF" for all sectors.
Then i use a 6131 to write a contact information in the tag (select the contact, select Options, then click on Transmit bus. card). The tag have been properly written as i can read the content with an other 6131.
Then i try to read the tag with a reader again, and now sector 0 can be read by key="A0A1A2A3A4A5" only and the content is:
rec 0 : 74.FD.08.0C.8D.88.04.00.46.8E.45.92.49.30.11.05.
rec 1 : D8.01.03.E1.03.E1.00.00.00.00.00.00.00.00.00.00.
rec 2 : 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.
rec 3 : 00.00.00.00.00.00.78.77.88.C1.00.00.00.00.00.00.
sector 1 & 2 can't be read.
It seems that Keys for sec 0 to 2 have been changed to new values. I guess maybe those new keys value are default 6131 keys value as the tag be read by other 6131 (i use 6131 version 3.10 23-01-07), or maybe they are written in the tag somewhere. How can i know the key value after a tag has been written ??
Other sector's keys have been unchanged (still 00..00 and FF..FF)
Thanks,
Lionel
PS: please note that the tag can't be read with a 6131 version 01.70 15-09-06
-
Re: SmartPoster tag keys
[QUOTE]
Then i try to read the tag with a reader again, and now sector 0 can be read by key="A0A1A2A3A4A5" only
[/QUOTE]
Yes, the first sector can be read using the keys you are mentioning.
There are essentially 2 keys used for reading NDEF tags:
1. keys used for the MAD area, which are:
[INDENT]A0A1A2A3A4A5[/INDENT]
2. keys used for the NDEF area, which are:
[INDENT]D3F7D3F7D3F7[/INDENT]
I hope this helps.
-
Re: SmartPoster tag keys
hello Reluca,
thanks for your answer.
You mentioned that the first sector is the MAD Area. Which information are in that Area, what is it for ?
Also is seems that the NDEF area start record 4 byte 2, what byte 0 & 1 stand for ?
Thanks,
Lionel
-
Re: SmartPoster tag keys
Hi Lionel,
The first Sector (Sector 0) has like any other sector 4 blocks. Each Block has 16 bytes.
Sector 0
1. BL is the Manufacturer Block
2. BL Data Block (MAD)
3. BL Data Block (MAD)
4. BL Trailer Block (Key A, Access Bytes, Key B)
Sector 1
1. BL Data Block
2. BL Data Block
3. BL Data Block
4. BL Trailer Block (Key A, Access Bytes, Key B)
Sector 2-n
same as Sector 1
MAD stands for Mifare Application Directory. The Application Identifiers (AID) s of "registered card application entries" are placed there.
The descriptiption is complicated, better you look at the document:
[url]http://www.nxp.com/acrobat_download/other/identification/M001824.pdf[/url]
NDEF Record Layout:
1. byte for different Flags > MB, ME, CF, SR, IL, 3xTNF
2. byte > type length
3-6. byte > payload length (can be 1 to 4 bytes long)
4. byte > ID length
5. byte > Type
6. byte > ID
7 - n. byte > Payload
For a detailed description go to NFC Forum and download the specifications.
[url]http://www.nfc-forum.org/specs/[/url]
NFC Data Exchange Format (NDEF) Technical Specification
You will find the detailed answers in those documents.
Best regards.