Skip to main content
darla14
Associate III
December 17, 2015
Solved

How to write AAR record?

  • December 17, 2015
  • 1 reply
  • 794 views
Posted on December 17, 2015 at 11:59

Hi , 

I am trying to write AAR (via I2C in STM32 h/w )using the below code but the NFC Reader Doesn't seems to detect it as an AAR record .

sAARInfo aAAR = ''com.myapp.com''

};

 while ( TT4_AddAAR(&aAAR) != SUCCESS);

IS there any smaple code to test the AAR read/write .Also various NDEF formats?

Thanks in advance!

Rgds,

Rp

#android-app #nfc #m24sr
This topic has been closed for replies.
Best answer by Nickname6430_O
Posted on December 18, 2015 at 13:33

Hello,

sAARInfo is a struct. You have to set its variable PakageName. You can do it like this

sAARInfo aAAR;

strcpy(aAAR.PakageName,''com.myapp.com'');

while ( TT4_AddAAR(&aAAR) != SUCCESS);

Hope this help

Regards Petr

1 reply

Nickname6430_O
Nickname6430_OBest answer
Visitor II
December 18, 2015
Posted on December 18, 2015 at 13:33

Hello,

sAARInfo is a struct. You have to set its variable PakageName. You can do it like this

sAARInfo aAAR;

strcpy(aAAR.PakageName,''com.myapp.com'');

while ( TT4_AddAAR(&aAAR) != SUCCESS);

Hope this help

Regards Petr