diff options
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"}, | |