diff options
author | Raquel Medina <raquel.medina@konsulko.com> | 2018-11-12 14:03:22 +0200 |
---|---|---|
committer | raquel medina <raquel.medina@konsulko.com> | 2018-11-13 16:39:27 +0000 |
commit | f3849cef1c0e3e00b0c10ded6b6f6395394c2faf (patch) | |
tree | af651727af191e9239d475b8d11c1d6c2c797cc8 /README.md | |
parent | de1d232c0d47a2da0767cee66c0ad5f02c9b6ca9 (diff) |
binding: nfc: remove dependencies on libnfc
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>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -2,7 +2,8 @@ ## Overview -NFC service uses the respective libnfc package to detect the presence of NFC tags and singal via an event +NFC service uses neard package to detect the presence of NFC tags and signal clients via an event. +The NDEF data shall include a text record ('uid') to keep compatibility with the existing agl-service-identity-agent. ## Verbs @@ -12,17 +13,9 @@ NFC service uses the respective libnfc package to detect the presence of NFC tag | unsubscribe | unsubscribe to NFC events | *Request:* {"value": "presence"} | ## Events - -### libnfc response - -| Name | Description | JSON Response | -|--------------------|:-------------------------------------|:-----------------------------------------------------------------------| -| presence | event that reports NFC tag presence | *Response:* {"status": "detected", "uid": "042eb3628e4981"} | - - ### neard response | Name | Description | JSON Response | |--------------------|:-------------------------------------|:-----------------------------------------------------------------------| | presence | event that reports NFC tag presence | *Response:* {"status": "detected", | -| | | "record": { "Type": "URI", "URI": "http://www.nfc-forum.com" } } | +| | | "record": { "Type": "Text", "uid" : "042eb3628e4981"}, | |