wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Functions
ndef.c File Reference

NDEF(NFC Data Exchange Format) routines for Wi-Fi Protected Setup Reference is "NFCForum-TS-NDEF_1.0 2006-07-24". More...

#include "includes.h"
#include "common.h"
#include "wps/wps.h"

Data Structures

struct  ndef_record
 

Macros

#define FLAG_MESSAGE_BEGIN   (1 << 7)
 
#define FLAG_MESSAGE_END   (1 << 6)
 
#define FLAG_CHUNK   (1 << 5)
 
#define FLAG_SHORT_RECORD   (1 << 4)
 
#define FLAG_ID_LENGTH_PRESENT   (1 << 3)
 
#define FLAG_TNF_NFC_FORUM   (0x01)
 
#define FLAG_TNF_RFC2046   (0x02)
 

Functions

struct wpabufndef_parse_wifi (const struct wpabuf *buf)
 
struct wpabufndef_build_wifi (const struct wpabuf *buf)
 
struct wpabufndef_parse_p2p (const struct wpabuf *buf)
 
struct wpabufndef_build_p2p (const struct wpabuf *buf)
 

Detailed Description

NDEF(NFC Data Exchange Format) routines for Wi-Fi Protected Setup Reference is "NFCForum-TS-NDEF_1.0 2006-07-24".