1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 * @fileoverview This file defines the status codes returned by the device.
9 var DeviceStatusCodes = {};
12 * Device operation succeeded.
15 DeviceStatusCodes.OK_STATUS = 0;
18 * Device operation wrong length status.
21 DeviceStatusCodes.WRONG_LENGTH_STATUS = 0x6700;
24 * Device operation wait touch status.
27 DeviceStatusCodes.WAIT_TOUCH_STATUS = 0x6985;
30 * Device operation invalid data status.
33 DeviceStatusCodes.INVALID_DATA_STATUS = 0x6984;
36 * Device operation wrong data status.
39 DeviceStatusCodes.WRONG_DATA_STATUS = 0x6a80;
42 * Device operation timeout status.
45 DeviceStatusCodes.TIMEOUT_STATUS = -5;
48 * Device operation busy status.
51 DeviceStatusCodes.BUSY_STATUS = -6;
54 * Device removed status.
57 DeviceStatusCodes.GONE_STATUS = -8;