ndef.c File Reference
#include "includes.h"
#include "common.h"
#include "wps/wps.h"
#include "wps/wps_i.h"
Go to the source code of this file.
Define Documentation
#define FLAG_CHUNK (1 << 5) |
#define FLAG_ID_LENGTH_PRESENT (1 << 3) |
#define FLAG_MESSAGE_BEGIN (1 << 7) |
#define FLAG_MESSAGE_END (1 << 6) |
#define FLAG_SHORT_RECORD (1 << 4) |
#define FLAG_TNF_RFC2046 (0x02) |
Function Documentation
static struct wpabuf* ndef_build_record |
( |
u8 |
flags, |
|
|
void * |
type, |
|
|
u8 |
type_length, |
|
|
void * |
id, |
|
|
u8 |
id_length, |
|
|
void * |
payload, |
|
|
u32 |
payload_length | |
|
) |
| | [static, read] |
struct wpabuf* ndef_build_wifi |
( |
struct wpabuf * |
buf |
) |
[read] |
static int ndef_parse_record |
( |
u8 * |
data, |
|
|
u32 |
size, |
|
|
struct ndef_record * |
record | |
|
) |
| | [static] |
static struct wpabuf* ndef_parse_records |
( |
struct wpabuf * |
buf, |
|
|
int(*)(struct ndef_record *) |
filter | |
|
) |
| | [static, read] |
struct wpabuf* ndef_parse_wifi |
( |
struct wpabuf * |
buf |
) |
[read] |
static int wifi_filter |
( |
struct ndef_record * |
record |
) |
[static] |
Variable Documentation