blob: 859eedbcf3189cf3c6d5a903076798e9236b2f89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
RD_VERSION = 0x00
SEND_DATA = 0x01
f1 = {
'name': 'getVersion',
'call': RD_VERSION,
'params': 0,
'read': 3
}
f2 = {
'name': 'send',
'call': SEND_DATA,
'params': 1,
'read': 1
}
FUNCTIONS = [f1, f2]
|