From f3849cef1c0e3e00b0c10ded6b6f6395394c2faf Mon Sep 17 00:00:00 2001 From: Raquel Medina Date: Mon, 12 Nov 2018 14:03:22 +0200 Subject: 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 --- README.md | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 0a89087..a1d9471 100644 --- a/README.md +++ b/README.md @@ -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"}, | -- cgit 1.2.3-korg