6 #define A314_NAME "a314.device"
8 #define A314_CONNECT (CMD_NONSTD+0)
9 #define A314_READ (CMD_NONSTD+1)
10 #define A314_WRITE (CMD_NONSTD+2)
11 #define A314_EOS (CMD_NONSTD+3)
12 #define A314_RESET (CMD_NONSTD+4)
14 #define A314_CONNECT_OK 0
15 #define A314_CONNECT_SOCKET_IN_USE 1
16 #define A314_CONNECT_RESET 2
17 #define A314_CONNECT_UNKNOWN_SERVICE 3
19 #define A314_READ_OK 0
20 #define A314_READ_EOS 1
21 #define A314_READ_RESET 2
23 #define A314_WRITE_OK 0
24 #define A314_WRITE_EOS_SENT 1
25 #define A314_WRITE_RESET 2
28 #define A314_EOS_EOS_SENT 1
29 #define A314_EOS_RESET 2
31 #define A314_RESET_OK 0
33 #define MEMF_A314 (1<<7)
37 struct IORequest a314_Request;