diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-07-12 16:49:20 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-07-17 13:23:25 -0700 |
commit | 3f91a6e6ef8243c5f37dce17284016715941f3bc (patch) | |
tree | 3b867dbdbc2207ebbd1634f66d258875c9ac06b9 /binding/afm-nfc-common.h | |
parent | 885fedc954bb83a00591fd1381e9bd3749fc2935 (diff) |
binding: nfc: add neardal support for reading NDEF encoded tags
Read RFID tags via neardal helper library that are NDEF encoded
Bug-AGL: SPEC-1544
Change-Id: I90c0e8b4dec705ef56c7303ec2a592ca6ab9054c
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/afm-nfc-common.h')
-rw-r--r-- | binding/afm-nfc-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binding/afm-nfc-common.h b/binding/afm-nfc-common.h index 84e70bd..c4c4cff 100644 --- a/binding/afm-nfc-common.h +++ b/binding/afm-nfc-common.h @@ -19,6 +19,7 @@ #ifndef AFM_NFC_COMMON_H #define AFM_NFC_COMMON_H +#include <glib.h> #include <json-c/json.h> #include <nfc/nfc-types.h> @@ -31,6 +32,9 @@ typedef struct { nfc_context *ctx; nfc_device *dev; + gchar *adapter; + GMainLoop *loop; + /* cached JSON event response */ json_object *jresp; } nfc_binding_data; |