-
Notifications
You must be signed in to change notification settings - Fork 5
/
return_codes.js
33 lines (33 loc) · 973 Bytes
/
return_codes.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
module.exports = {
'3': 'HM_DEV_DOING',
'2': 'HM_DEV_POWERDOWN',
'1': 'HM_DEV_PROCESSING/HM_DEV_DATA_OK',
'0': 'HM_DEV_OK',
'-1': 'HM_DEV_HW_ERR',
'-2': 'HM_DEV_BUSY',
'-3': 'HM_DEV_INVALID_DATA',
'-4': 'HM_DEV_SECURE_MODE_ERR',
'-5': 'HM_DEV_CANCEL',
'-6': 'HM_DEV_NOT_READY',
'-7': 'HM_DEV_ALREADY_OPEN',
'-8': 'HM_DEV_INTERNAL_ERR',
'-9': 'HM_DEV_TIMEOUT',
'-10': 'HM_DEV_RXOVERFLOW',
'-11': 'HM_DEV_OPENPORTFAIL',
'-12': 'HM_DEV_INPUT_ERR',
'-13': 'HM_DEV_REJECTED_BILL',
'-14': 'HM_DEV_NOPRESENT_BILL',
'-15': 'HM_DEV_PRESENT_BILL',
'-16': 'HM_DEV_NOT_CHANGEDPWD',
'-17': 'HM_DEV_PORTLOCKFAIL',
'-18': 'HM_DEV_NOT_AUTHORIZED',
'-19': 'HM_DEV_USB_COMM_FAILED',
'-20': 'HM_DEV_USB_INVALID_BLOCK_SIZE',
'-21': 'HM_DEV_NOTSUPPORT',
'-22': 'HM_DEV_IMAGE_ERROR',
'-23': 'HM_DEV_LONG_DATA',
'-24': 'HM_DEV_TOO_BIG_IMAGE',
'-25': 'HM_DEV_FILENOTOPENED',
'-26': 'HM_DEV_ERR_UNKNOWN',
'-27': 'HM_DEV_SEMISUCCESS',
}