cancel
Showing results for 
Search instead for 
Did you mean: 

Error logging in to ST25DV04k

Greidimar
Associate II

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

2 REPLIES 2
Greidimar
Associate II

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

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,