wpa_supplicant / hostapd 2.0
Data Structures | Defines | 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"
#include "wps/wps_i.h"

Data Structures

struct  ndef_record

Defines

#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_RFC2046   (0x02)

Functions

struct wpabufndef_parse_wifi (struct wpabuf *buf)
struct wpabufndef_build_wifi (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".

Copyright
Copyright (c) 2009-2012, Masashi Honma <masashi.honma@gmail.com>

This software may be distributed under the terms of the BSD license. See README for more details.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines