OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * @fileoverview This file defines the status codes returned by the device. | 6 * @fileoverview This file defines the status codes returned by the device. |
7 */ | 7 */ |
8 | 8 |
9 var DeviceStatusCodes = {}; | 9 var DeviceStatusCodes = {}; |
10 | 10 |
11 /** | 11 /** |
12 * Device operation succeeded. | 12 * Device operation succeeded. |
13 * @const | 13 * @const |
14 */ | 14 */ |
15 DeviceStatusCodes.OK_STATUS = 0; | 15 DeviceStatusCodes.OK_STATUS = 0; |
16 | 16 |
17 /** | 17 /** |
| 18 * Device operation wrong length status. |
| 19 * @const |
| 20 */ |
| 21 DeviceStatusCodes.WRONG_LENGTH_STATUS = 0x6700; |
| 22 |
| 23 /** |
18 * Device operation wait touch status. | 24 * Device operation wait touch status. |
19 * @const | 25 * @const |
20 */ | 26 */ |
21 DeviceStatusCodes.WAIT_TOUCH_STATUS = 0x6985; | 27 DeviceStatusCodes.WAIT_TOUCH_STATUS = 0x6985; |
22 | 28 |
23 /** | 29 /** |
24 * Device operation invalid data status. | 30 * Device operation invalid data status. |
25 * @const | 31 * @const |
26 */ | 32 */ |
27 DeviceStatusCodes.INVALID_DATA_STATUS = 0x6984; | 33 DeviceStatusCodes.INVALID_DATA_STATUS = 0x6984; |
(...skipping 14 matching lines...) Expand all Loading... |
42 * Device operation busy status. | 48 * Device operation busy status. |
43 * @const | 49 * @const |
44 */ | 50 */ |
45 DeviceStatusCodes.BUSY_STATUS = -6; | 51 DeviceStatusCodes.BUSY_STATUS = -6; |
46 | 52 |
47 /** | 53 /** |
48 * Device removed status. | 54 * Device removed status. |
49 * @const | 55 * @const |
50 */ | 56 */ |
51 DeviceStatusCodes.GONE_STATUS = -8; | 57 DeviceStatusCodes.GONE_STATUS = -8; |
OLD | NEW |