blob: e545ed5ab4588db09c7d5054023ae3f3e4993df0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# NFC Service
## Overview
NFC service uses the respective libnfc package to detect the presence of NFC tags and singal via an event
## Verbs
| Name | Description | JSON Parameters |
|--------------------|:-------------------------------------|:-----------------------------------------------------------------------|
| subscribe | subscribe to NFC events | *Request:* {"value": "presence"} |
| unsubscribe | unsubscribe to NFC events | *Request:* {"value": "presence"} |
## Events
| Name | Description | JSON Response |
|--------------------|:-------------------------------------|:------------------------------------------ ----------------------------|
| presence | event that reports NFC tag presence | *Response:* {"status": "detected", "uid": "042eb3628e4981"} |
|