cancel
Showing results for 
Search instead for 
Did you mean: 

ST25DV64KC to save & change password

Greidimar
Associate II

HEY.
I'm testing the ST25DV64KC on IOS (Iphone 14) to save/change the password but I'm not able to get the error: Tag connection lost

Example of data sent with the command in Swift:

tag.sendRequest(requestFlags: Int(data[0]),
commandCode: Int(data[1]), data: data.advanced(by: 2)) { (res: Result<(NFCISO15693ResponseFlag, Data?),


date values ​​= 00B30201B8F355AA00000000 transform into decimal

How to resolve the error?

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
victor laraison
ST Employee

hello Greidimar,

"Tag connection lost" is usually returned by iOS whenever command is not recognized by the Tag itself (bad parameters inside, not well formated...).

In your case, I don't understand whay you are using "SendRequest" instead of 'custom command' (ref to https://developer.apple.com/documentation/corenfc/nfciso15693tag/3043799-customcommand). 

This is the command we use into our SW Stacks (ST25SDK and/or iOS NFC Tap). 

I strongly suggest you to use this command. Just take care that iOS does not support "Addressed" mode for this command. You must use it in "Non addressed" mode only.

Hope it clarifies.

Br,

 

View solution in original post

4 REPLIES 4
victor laraison
ST Employee

hello Greidimar,

"Tag connection lost" is usually returned by iOS whenever command is not recognized by the Tag itself (bad parameters inside, not well formated...).

In your case, I don't understand whay you are using "SendRequest" instead of 'custom command' (ref to https://developer.apple.com/documentation/corenfc/nfciso15693tag/3043799-customcommand). 

This is the command we use into our SW Stacks (ST25SDK and/or iOS NFC Tap). 

I strongly suggest you to use this command. Just take care that iOS does not support "Addressed" mode for this command. You must use it in "Non addressed" mode only.

Hope it clarifies.

Br,

 

Hi thanks.
I had a question about "Addressed" and "Non addressed" mode, where can I find more information on the subject?

victor laraison
ST Employee

you could find more information in iOS Documentation, coreNFC.

Ref to https://developer.apple.com/documentation/corenfc/nfciso15693tag/3043799-customcommand

Hope it helps,

Br

 

Greidimar
Associate II

Thanks, I was able to use customCommand,