2 * Copyright 2020-2021 Niklas Ekström
10 #define A314_NAME "a314.device"
12 #define A314_CONNECT (CMD_NONSTD+0)
13 #define A314_READ (CMD_NONSTD+1)
14 #define A314_WRITE (CMD_NONSTD+2)
15 #define A314_EOS (CMD_NONSTD+3)
16 #define A314_RESET (CMD_NONSTD+4)
18 #define A314_CONNECT_OK 0
19 #define A314_CONNECT_SOCKET_IN_USE 1
20 #define A314_CONNECT_RESET 2
21 #define A314_CONNECT_UNKNOWN_SERVICE 3
23 #define A314_READ_OK 0
24 #define A314_READ_EOS 1
25 #define A314_READ_RESET 2
27 #define A314_WRITE_OK 0
28 #define A314_WRITE_EOS_SENT 1
29 #define A314_WRITE_RESET 2
32 #define A314_EOS_EOS_SENT 1
33 #define A314_EOS_RESET 2
35 #define A314_RESET_OK 0
37 #define MEMF_A314 (1<<7)
41 struct IORequest a314_Request;