cancel
Showing results for 
Search instead for 
Did you mean: 

How to write AAR record?

darla14
Senior
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
1 ACCEPTED SOLUTION

Accepted Solutions
Nickname6430_O
Associate II
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

View solution in original post

1 REPLY 1
Nickname6430_O
Associate II
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