I am getting error while typing password to st25dv64k encrypted tag
Hello,
I want to write the password value to the st25dv64k tag and write data to the blocks. I get an error when I want to write data in the mobile iOS operating system. Here I am using ISO15693 technology. I'm trying to write the password as follows using the customCommand function. Here is the function I use:
NfcManager.iso15693HandlerIOS.customCommand(
flags = numbers,
customCommandCode = number,
customRequestParameters= number[] );
The codes generated according to this function are as follows:
try {
const idBytes=[7,6,5,4,3,2,1,0];
const passwordBytes= [0,0,0,0,0,0,0,0,0]
resp = await NfcManager.iso15693HandlerIOS.customCommand({
flags=0x02,
custom Command Code = 0xb3,
custom Request Parameters = [
0x02, //IC Mfg code
...idBytes, // device id =[7,6,5,4,3,2,1,0]
0x02, // Passwordnumber
...passwordBytes, // Password =[0,0,0,0,0,0,0,0]
],
});
}
catch(ex) {
console.log('error',ex.message);
} finally {
console.log("Finally..");
}
I'm getting an error like the one I tried above:
Error [error].
I tried many changes in the above codes, but I could not come to a conclusion. What should I do accordingly? Can you help me ?
