NTAG 5 iOS Development Code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NTAG 5 iOS Development Code

1,366 Views
KevinChia
NXP Employee
NXP Employee

I could compile the NTAG 5 iOS development source code without any error. I could run the app and NFC card detection without any problem. However, the GetAccelXI2CMaster function is always return 0 byte length as below. Secondly, I could not locate the "I2CMasterLogs.txt" inside the iPhone 11 with iOS 13.5.

2020-05-27 21:51:44.127933+0800 NTAG5 I2C Active[3065:934551] Waiting for connection...

2020-05-27 21:51:44.162658+0800 NTAG5 I2C Active[3065:934687] Tag Reader Session Did Become Active response: <NFCTagReaderSession: 0x280849300>

2020-05-27 21:51:46.541651+0800 NTAG5 I2C Active[3065:934687] -->Tag Detected on Field

2020-05-27 21:51:46.541715+0800 NTAG5 I2C Active[3065:934687] -->MIFARE Tag Tyoe:1

2020-05-27 21:51:46.541733+0800 NTAG5 I2C Active[3065:934687] -->Connecting to Tag!

2020-05-27 21:51:46.550599+0800 NTAG5 I2C Active[3065:934687] -->Connected!

2020-05-27 21:51:46.550630+0800 NTAG5 I2C Active[3065:934551] Connected!!!

2020-05-27 21:51:46.550865+0800 NTAG5 I2C Active[3065:934687] [CoreNFC] 00000002 80849300 -[NFCTagReaderSession setAlertMessage:]:92  (null)

2020-05-27 21:51:46.550899+0800 NTAG5 I2C Active[3065:934687] -->Is tag Available?

2020-05-27 21:51:46.551645+0800 NTAG5 I2C Active[3065:934685] Custom Command: 12D49F0001 --> response: {length = 0, bytes = 0x}

2020-05-27 21:51:46.551711+0800 NTAG5 I2C Active[3065:934685] Custom Command Bytes:

2020-05-27 21:51:46.551728+0800 NTAG5 I2C Active[3065:934685] Sent Sucess

2020-05-27 21:51:46.551748+0800 NTAG5 I2C Active[3065:934685] [CoreNFC] 00000002 828dc780 -[NFCISO15693Tag customCommandWithRequestFlag:customCommandCode:customRequestParameters:completionHandler:]:4 Custom command code must be between 0xA0 to 0xDF inclusively

2020-05-27 21:51:46.551769+0800 NTAG5 I2C Active[3065:934685] Custom Command: 12D51F00 --> response: {length = 0, bytes = 0x}

2020-05-27 21:51:46.551795+0800 NTAG5 I2C Active[3065:934685] Custom Command Bytes:

2020-05-27 21:51:46.551862+0800 NTAG5 I2C Active[3065:934691] Custom Command: 12D20006 --> response: {length = 0, bytes = 0x}

2020-05-27 21:51:46.551890+0800 NTAG5 I2C Active[3065:934691] Custom Command Bytes:

2020-05-27 21:51:46.551799+0800 NTAG5 I2C Active[3065:934686] Custom Command: 12D41F012A0D --> response: {length = 0, bytes = 0x}

2020-05-27 21:51:46.551957+0800 NTAG5 I2C Active[3065:934691] Read Data

2020-05-27 21:51:46.552071+0800 NTAG5 I2C Active[3065:934685] [CoreNFC] 00000002 828dc780 -[NFCISO15693Tag customCommandWithRequestFlag:customCommandCode:customRequestParameters:completionHandler:]:4 Custom command code must be between 0xA0 to 0xDF inclusively

2020-05-27 21:51:46.552353+0800 NTAG5 I2C Active[3065:934686] Custom Command Bytes:

2020-05-27 21:51:46.552462+0800 NTAG5 I2C Active[3065:934691] [CoreNFC] 00000002 80849300 -[NFCTagReaderSession setAlertMessage:]:92  (null)

2020-05-27 21:51:46.552730+0800 NTAG5 I2C Active[3065:934686] [CoreNFC] 00000002 828dc780 -[NFCISO15693Tag customCommandWithRequestFlag:customCommandCode:customRequestParameters:completionHandler:]:4 Custom command code must be between 0xA0 to 0xDF inclusively

2020-05-27 21:51:46.552778+0800 NTAG5 I2C Active[3065:934777] Tag Reader Session Status: Invalidated,  Error Domain=NFCError Code=200 "Session invalidated by user" UserInfo={NSLocalizedDescription=Session invalidated by user}

2020-05-27 21:51:46.552954+0800 NTAG5 I2C Active[3065:934691] [CoreNFC] 00000002 828dc780 -[NFCISO15693Tag customCommandWithRequestFlag:customCommandCode:customRequestParameters:completionHandler:]:4 Custom command code must be between 0xA0 to 0xDF inclusively

2020-05-27 21:51:46.559414+0800 NTAG5 I2C Active[3065:934687] -->Yes, It is!

2020-05-27 21:51:46.566307+0800 NTAG5 I2C Active[3065:934690] Select Command sent

2020-05-27 21:51:46.566322+0800 NTAG5 I2C Active[3065:934687] Custom Command: 12D41F012A00 --> response: {length = 0, bytes = 0x}

2020-05-27 21:51:46.566339+0800 NTAG5 I2C Active[3065:934690] Select Command sent

2020-05-27 21:51:46.566358+0800 NTAG5 I2C Active[3065:934690] Custom Command: 12D41F015B1F --> response: {length = 0, bytes = 0x}

2020-05-27 21:51:46.566371+0800 NTAG5 I2C Active[3065:934686] Custom Command: 12D41F015C20 --> response: {length = 0, bytes = 0x}

2020-05-27 21:51:46.566390+0800 NTAG5 I2C Active[3065:934687] Custom Command Bytes:

2020-05-27 21:51:46.566396+0800 NTAG5 I2C Active[3065:934686] Custom Command Bytes:

2020-05-27 21:51:46.566379+0800 NTAG5 I2C Active[3065:934691] Select Command sent

2020-05-27 21:51:46.566407+0800 NTAG5 I2C Active[3065:934687] Select Command sent

2020-05-27 21:51:46.566403+0800 NTAG5 I2C Active[3065:934777] Select Command sent

2020-05-27 21:51:46.566414+0800 NTAG5 I2C Active[3065:934686] Select Command sent

2020-05-27 21:51:46.566380+0800 NTAG5 I2C Active[3065:934690] Custom Command Bytes:

2020-05-27 21:51:46.566428+0800 NTAG5 I2C Active[3065:934685] Select Command sent

0 Kudos
3 Replies

1,237 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

How are you testing the demo ? which board and demo are you using in the Host side?

Regards,

Estephania

0 Kudos

1,237 Views
KevinChia
NXP Employee
NXP Employee

Hi,

It is my 1st time to create ticket for the support and pls forgive me if I did something wrong.

Best Regards,

Kevin Chia

0 Kudos

1,237 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

The communication will continue through there.

Regards,

Estephania

0 Kudos