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.
10 * Status codes returned by the gnubby device.
15 var DeviceStatusCodes = {};
18 * Device operation succeeded.
21 DeviceStatusCodes.OK_STATUS = 0;
24 * Device operation wrong length status.
27 DeviceStatusCodes.WRONG_LENGTH_STATUS = 0x6700;
30 * Device operation wait touch status.
33 DeviceStatusCodes.WAIT_TOUCH_STATUS = 0x6985;
36 * Device operation invalid data status.
39 DeviceStatusCodes.INVALID_DATA_STATUS = 0x6984;
42 * Device operation wrong data status.
45 DeviceStatusCodes.WRONG_DATA_STATUS = 0x6a80;
48 * Device operation timeout status.
51 DeviceStatusCodes.TIMEOUT_STATUS = -5;
54 * Device operation busy status.
57 DeviceStatusCodes.BUSY_STATUS = -6;
60 * Device removed status.
63 DeviceStatusCodes.GONE_STATUS = -8;