Files
Arnar Birgisson da8dfb3c72 Update to v0.9.3
- Require explicit user approval on registration
 - Embed eTLD list instead of fetching remotel
 - Support compressed requests (single appId and challenge)
 - Do not reveal to webpage if that a device is enrolled without explicit user action
 - Smaller bugfixes
2014-11-09 01:55:32 -08:00

61 lines
1.1 KiB
JavaScript

// Copyright 2014 Google Inc. All rights reserved
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
/**
* @fileoverview This file defines the status codes returned by the device.
*/
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 timeout status.
* @const
*/
DeviceStatusCodes.TIMEOUT_STATUS = -5;
/**
* Device operation busy status.
* @const
*/
DeviceStatusCodes.BUSY_STATUS = -6;
/**
* Device removed status.
* @const
*/
DeviceStatusCodes.GONE_STATUS = -8;