Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To write a Python script that does the DESFire UID manipulation, please refer to the steps below:

 

STEP 1:

Create a new Variable (Example: var_uid) and give it the value of the UID from your database.

STEP 2:

Drag the var_uid to the card layout.

STEP 3:

Insert in function the Python script:

uid = uid_var

str = str(uid)

x = len(str)

uid_var = str[x-8:x] 8 is set as a example:

STEP 4:

Go to Data\Variables double click on the variable name in this case is: var_uid and give it the value of MIFARE DESFire UID.

 

STEP 5:

Go to content and change the window option to script.

After that, please close the properties window and you should have the expected result.

  • No labels