Skip to main content
Associate III
March 11, 2024
Question

Error logging in to ST25DV04k

  • March 11, 2024
  • 2 replies
  • 944 views

I always get the error:
-[NFCTagReaderSession transceive:tagUpdate:error:]:888 Error Domain=NFCError Code=100 "Stack Error" UserInfo={NSLocalizedDescription=Stack Error, NSUnderlyingError=0x282891950 {Error Domain=nfcd Code=54 "Session não ativa" UserInfo={NSLocalizedDescription=Sessão não ativa}}}

Using swift code: tag.sendRequest(requestFlags: Int(data[0]), commandCode: Int(data[1]), data: data.advanced(by: 2))

and passing the values to "00B30201B8F355AA00000000". on date. then data[0] == 00. and data[1] =B3 and the remainder goes 0201B8F355AA00000000

This topic has been closed for replies.

2 replies

GreidimarAuthor
Associate III
March 12, 2024

I still keep getting errors:

-[NFCTagReaderSession transceive:tagUpdate:error:]:888 Error Domain=NFCError Code=100 "Tag connection lost" UserInfo={NSLocalizedDescription=Tag connection lost}

Error Domain=NFCError Code=100 "Tag connection lost" UserInfo={NSLocalizedDescription=Tag connection lost}

victor laraison
ST Employee
April 24, 2024

hi Greidimar, 
Thx for your feedback. 

Please, could you tell us what kind of M24LR do you use ? M24LR04, 16 or 64 ? 
Otherwise, why do you use "sendRequest" command instead of customCommand ? 

Thx and br,