summaryrefslogtreecommitdiff
path: root/api_control.txt
blob: 983ab854a8142b61b7c425922a8be8215da8b52b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# NFCommander control API

This interface provides a means for external applications to program tags compatible
with NFCommander, as well as to run commands for testing purposes.

## Access

This API can be accessed via a network/unix socket connection.
Commands are sent as newline-terminated (\r\n) UTF-8 strings.
Replies are prefixed with either `OK` or `FAIL`, optionally contain an explanatory message
and are terminated likewise.

## Commands

### Run a command

```
RUN <command> <bytes-static> <static> [<bytes-dynamic> <dynamic>]
```

### Get current tag info

### Program tag with command