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-25 23:38:13 +0200 |
commit | 533dae6bd4359b72a365f0366fc41c08f3667fee (patch) | |
tree | 98d5cff3e1f59c8222f4a8999c4415dea0129bfb /README.md | |
parent | 7177220bd5783048808d6d8392b81447041e6263 (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"}, | |