blob: a15acd4f2d893b81763189b47ea3b6409bd93711 (
plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview This file defines the status codes returned by the device.
*/
/**
* Status codes returned by the gnubby device.
* @const
* @enum {number}
* @export
*/
var DeviceStatusCodes = {};
/**
* Device operation succeeded.
* @const
*/
DeviceStatusCodes.OK_STATUS = 0;
/**
* Device operation wrong length status.
* @const
*/
DeviceStatusCodes.WRONG_LENGTH_STATUS = 0x6700;
/**
* Device operation wait touch status.
* @const
*/
DeviceStatusCodes.WAIT_TOUCH_STATUS = 0x6985;
/**
* Device operation invalid data status.
* @const
*/
DeviceStatusCodes.INVALID_DATA_STATUS = 0x6984;
/**
* Device operation wrong data status.
* @const
*/
DeviceStatusCodes.WRONG_DATA_STATUS = 0x6a80;
/**
* Device operation file not found status.
* @const
*/
DeviceStatusCodes.FILE_NOT_FOUND_STATUS = 0x6a82;
/**
* Device operation timeout status.
* @const
*/
DeviceStatusCodes.TIMEOUT_STATUS = -5;
/**
* Device operation busy status.
* @const
*/
DeviceStatusCodes.BUSY_STATUS = -6;
/**
* Device removed status.
* @const
*/
DeviceStatusCodes.GONE_STATUS = -8;
|