cancel
Showing results for 
Search instead for 
Did you mean: 

libNdef for Wifi Credentials

darla14
Senior
Posted on September 30, 2015 at 08:25

HI,

Is there any LibNdef for Wifi Credentials in the M24SR library just like lib Ndef for SMS,email , AAR , etc?Or do we have to write ourselves.Can we get the spec for that or spec for similiar SMS or AAR so that I can imitate it for the Wifi Data(SSID,Network Key,etc)

PLease let me know soon .

Thanks and Rgds,

Rp

#m24sr #ndef #nfc #ndef-technology
1 ACCEPTED SOLUTION

Accepted Solutions
Rene Lenerve
ST Employee
Posted on September 30, 2015 at 15:28

Hello,

For now, there is no standard defined for the wifi pairing NDEF file (as for bluetooth, NFC Forum has standardized ''Bluetooth Secure Simple Pairing Using NFC'' which has been integrated since Android 4.1 JellyBean for smartphones). So you need to develop your own application, writing ndef file on tag with SSID and network key. And an Android Application that will read the tag and managed the wifi connection (ON/OFF, connection with credentials stored in the ndef file). The format of the NDEF file is described by the NFC Data Exchange Format NDEF v1.0 of the NFC Forum, you can use with the TNF (type Name Format) specified with the value 5 (which mean NFC Forum external type, defined in NFC Record Type Definition (RTD) of the NFC Forum) for your application.

Have a nice day,

Kind Regards,

View solution in original post

2 REPLIES 2
Rene Lenerve
ST Employee
Posted on September 30, 2015 at 15:28

Hello,

For now, there is no standard defined for the wifi pairing NDEF file (as for bluetooth, NFC Forum has standardized ''Bluetooth Secure Simple Pairing Using NFC'' which has been integrated since Android 4.1 JellyBean for smartphones). So you need to develop your own application, writing ndef file on tag with SSID and network key. And an Android Application that will read the tag and managed the wifi connection (ON/OFF, connection with credentials stored in the ndef file). The format of the NDEF file is described by the NFC Data Exchange Format NDEF v1.0 of the NFC Forum, you can use with the TNF (type Name Format) specified with the value 5 (which mean NFC Forum external type, defined in NFC Record Type Definition (RTD) of the NFC Forum) for your application.

Have a nice day,

Kind Regards,
darla14
Senior
Posted on October 01, 2015 at 06:02

Thanks for the useful information.I will post here for any issue/doubts.