SLIX2 Card SL2S2602 protect page example

cancel
Showing results for 
Search instead for 
Did you mean: 

SLIX2 Card SL2S2602 protect page example

462 Views
pkumar
Contributor I

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,

  • Lock Password
  •  64Bit Password Protection
  • Protect Page
  • Lock Protect Page
  • Destroy
  • Enable Privacy
  • Protect EAS/AFI

Can somebody help me out with any sample ? 

 

Regards,

Praween

Tags (3)
0 Kudos
7 Replies

293 Views
IvanRuiz
NXP TechSupport
NXP TechSupport

Hello,

Please accept my apologies but the porting to other processors is not supported by NXP.

BR,

Ivan.

0 Kudos

293 Views
IvanRuiz
NXP TechSupport
NXP TechSupport

Hello,

May I ask which software package/IDE are you using for the PN7120?

Thank you.

BR,

Ivan.

0 Kudos

293 Views
pkumar
Contributor I

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.

0 Kudos

293 Views
IvanRuiz
NXP TechSupport
NXP TechSupport

Hi,

Thanks, could you please let us know which is the host controller to which PN7120 is interfaced?

BR,

Ivan.

0 Kudos

293 Views
pkumar
Contributor I

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

0 Kudos

293 Views
pkumar
Contributor I

Hi Ivan,

For Host Controller, we are using Qualcomm MSM8909 through I2C interface. 

Regards,

Praween

0 Kudos

293 Views
pkumar
Contributor I

Hello Ivan,

Does my answer clarify the ask? Please let me know your response about it. I am still waiting for answer.

Regards,

Praween

0 Kudos