Age | Commit message (Collapse) | Author | Files | Lines |
|
Switch back to sending all tag records to subscribed clients on
presence detection. While sending the first text record as the
"uid" value the identity agent expects works, in the grand scheme
of things, it is better to keep the NFC service generic and add
the required parsing to the identity agent instead.
Change-Id: I157dde987fb499772bb792b4c723e85734e2c9e4
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Bug-AGL: SPEC-1975
- Register callback for tag found
- Update callback for record found
- Fix memory leak
Change-Id: I870648f3c5771aa1b54b710ef6b75786a1c67f65
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
|
|
Bug-AGL: SPEC-1959
Duplicate reply (xreq_reply_cb) causes the segmentation fault when the
adapter is plugged in at boot time. Several changes have been applied to
fix this issue:
- remove reply on subscribe for presence_event(only reply from loop);
- power the adapter up only after configuration is complete;
- update req & api artifacts to implement v3 bindings.
Change-Id: I945de9dc1fee0a95859f28b9d77b627cb998fa1b
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
|
|
Bug-AGL: SPEC-1921
- remove dependencies on libnfc
- remove unused code (binding/afm-nfc-common.c)
Change-Id: I824094f5d7a409739c479904662e21c900cc8509
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
|
|
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Don't return an error code from init() even with no adapters
are present to avoid service from exiting.
Bug-AGL: SPEC-1683
Change-Id: I9c77950887a2d4e8163bd2fb2cce8b00af8b4574
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
current_uid is no longer needed now that the json_object response is cached
Bug-AGL: SPEC-1554
Change-Id: If6019ff52dcb61f18616c927a489e0fb0ed90c35
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
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>
|
|
Cache the json_object for event response for detect for
future subscribers
Bug-AGL: SPEC-1554
Change-Id: I4dfeb7f157a872db96c8c5fabae9c26547815baa
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
In order to use some of the features of v3 we need to update the
data structures naming, and function parameters.
Change-Id: I6c217a8f4c28053c838af9f324b1504a3e1cbf71
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
To allow runtime detection of libnfc vs neard devices in the
future libnfc check needs to be moved out of nfc_thread_loop
Bug-AGL: SPEC-1554
Change-Id: I53854838a2fcab7eefbed3ed8d165a14e2bdc9db
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Put common functions that libnfc and neard will use in a common header
Bug-AGL: SPEC-1554
Change-Id: I723cee58a2265bf0574f54cb0b9ff4af5647da73
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Slight rewrite to use libnfc initially for getting tag uid's for
user settings.
Bug-AGL: SPEC-1554
Change-Id: I7b8c30102b82e86a92c89909bcbfba9ab7164c1f
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Change-Id: I3f5dcce07cbc90a25294283f2cc40251f546f27c
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Change-Id: I9731195371349a12ad23355f8c6bd286c605a1f2
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Change-Id: I32f0a6a59ea76b0f79f2097989520c0dcb831832
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Id0d16d1bad0c7a8be04942720c6f393282b12633
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia757319172123bc3bae76a66df8604cf8ff23504
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I5e43fccbe2d91a8fe58aa59c96362f56f18aa21a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie48ea32d246afd00c72431944780213e5abce95b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I1ab2ad75cbd7a1c7873ea5e8589da4e359d1134c
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Change-Id: I0bd34c0dc2fcf1aadadaab71f5b2dcdcc255beb5
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Change-Id: I72f77473ccdd1425aacab8fbb7e3b741e97171a9
|
|
Change-Id: I67d2b64fd1f0172496fc76bc720676ca1ade9ad0
|
|
Change-Id: Ic959f94f55cd3c010663369c54e63089725a8556
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Change-Id: I271f9220840ad792ed420e39d668fc6667518fd5
|
|
detection.
Change-Id: I14bd40f9fcc4ca526da8d1d15e836f7f722fc9c7
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Change-Id: Ib09e1204c2530489edf4e6bccfc485ce03d036ed
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Change-Id: I1d48ba736a4fadafbd46e624ec5d732ffe691f38
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Change-Id: Ib3b2d59b50ae142d9515e6a8cd3e21b6b115b2f2
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Change-Id: I812c4f0b86f2f65c0d7561af95e531fd596bd45b
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Change-Id: I2c118a4a3168d0c55501946156a68b74cff1edfc
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Change-Id: I1ebf8e803436430490201db533c2a5a04c04295e
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
|