Hi,
I am working on SLIX2 tag using reference document from NXP as SL2S2602 with NXP controller PN7120. What I was trying is to program the tag with all possible security provided by Tag. Here is my procedure,
- Connect
- getRandomNumber
- XorPassword =
Utils.xor(Utils.append(rndBlock,rndBlock)!!, byteArrayOf(0, 0, 0, 0))
- setReadPassword
- setWritePassword
- writePasswordRead (01 as READ_PASSWORD_IDENTIFIER)
- writePasswordWrite (02 as WRITE_PASSWORD_IDENTIFIER)
Till this functionality, I get all response as success, but once I start writing protect Page for each block through,
- protectPage(0.toByte(), 10.toByte()), which internally convert as,
| Flags | Protect Page | IC Mfg Code | Optional UID | Page number | Protection Status | * |--------+--------------+--------------+--------------+-------------+--------------------| * | 8 bits | 8 bits | 8 bits | 64 bits | 8 bits | 8 bits |
rawCmd(ICODE_CMD_PROTECT_PAGE, NFCV_FLAG_ADDRESS, byteArrayOf(ID_NXP).plus(mUid).plus(pageNum).plus(protectionStatus))
where I send transceive Cmd: 0x20 B6 04 UID(8bytes) 00 10,
response Cmd: 01 0F
I have no clue what went wrong. Also there is no sample example for all these password related API's.
Any sample for these API will be highly appreciated,
Can somebody help me out with any sample ?
Regards,
Praween
Hello,
Please accept my apologies but the porting to other processors is not supported by NXP.
BR,
Ivan.
Hello,
May I ask which software package/IDE are you using for the PN7120?
Thank you.
BR,
Ivan.
Hi,
For IDE, using Android studio for writing application. PN7120 controller is
used in our hardware running Android N aosp.
Hope this clarify the question.
Hi,
Thanks, could you please let us know which is the host controller to which PN7120 is interfaced?
BR,
Ivan.
Hello Ivan,
Its been 2 months since this question was posted. May I know the reason why this has not been responded by NXP community?
Please provide some reference implementation from any platform.
Regards,
Praween
Hi Ivan,
For Host Controller, we are using Qualcomm MSM8909 through I2C interface.
Regards,
Praween
Hello Ivan,
Does my answer clarify the ask? Please let me know your response about it. I am still waiting for answer.
Regards,
Praween