UNPKG

@iotize/device-client.js

Version:

IoTize Device client for Javascript

158 lines (157 loc) 3.34 kB
export declare class ResultCode { /** * NO_ERROR * Hex: 0. Decimal: 0 */ static IOTIZE_200_NO_ERROR: number; /** * PENDING * Hex: 1. Decimal: 1 */ static IOTIZE_PENDING: number; /** * CREATED * Hex: 41. Decimal: 65 */ static IOTIZE_201_CREATED: number; /** * DELETED * Hex: 42. Decimal: 66 */ static IOTIZE_202_DELETED: number; /** * CHANGED * Hex: 44. Decimal: 68 */ static IOTIZE_204_CHANGED: number; /** * CONTENT * Hex: 45. Decimal: 69 */ static IOTIZE_205_CONTENT: number; /** * BUSY * Hex: 46. Decimal: 70 */ static IOTIZE_206_BUSY: number; /** * BAD_REQUEST * Hex: 80. Decimal: 128 */ static IOTIZE_400_BAD_REQUEST: number; /** * * Hex: 81. Decimal: 129 */ static IOTIZE_401_UNAUTHORIZED: number; /** * * Hex: 84. Decimal: 132 */ static IOTIZE_404_NOT_FOUND: number; /** * * Hex: 85. Decimal: 133 */ static IOTIZE_405_METHOD_NOT_ALLOWED: number; /** * * Hex: 86. Decimal: 134 */ static IOTIZE_406_NOT_ACCEPTABLE: number; /** * * Hex: a0. Decimal: 160 */ static IOTIZE_500_INTERNAL_SERVER_ERROR: number; /** * This resource has not been implemented yet * Hex: a1. Decimal: 161 */ static IOTIZE_501_NOT_IMPLEMENTED: number; /** * * Hex: a3. Decimal: 163 */ static IOTIZE_503_SERVICE_UNAVAILABLE: number; /** * * Hex: a4. Decimal: 164 */ static IOTIZE_504_NVM_ERROR: number; /** * * Hex: a5. Decimal: 165 */ static IOTIZE_505_UNABLE_TO_CONNECT_TO_TARGET: number; /** * * Hex: a6. Decimal: 166 */ static IOTIZE_506_TARGET_POWER_FAILURE: number; /** * * Hex: a7. Decimal: 167 */ static IOTIZE_507_NVM_FUL: number; /** * * Hex: b0. Decimal: 176 */ static IOTIZE_TARGET_PROTOCOL_ERROR: number; /** * * Hex: b1. Decimal: 177 */ static IOTIZE_TARGET_PROTOCOL_BUSY: number; /** * * Hex: b2. Decimal: 178 */ static IOTIZE_TARGET_PROTOCOL_REAL: number; /** * * Hex: b3. Decimal: 179 */ static IOTIZE_TARGET_PROTOCOL_WRONG_PARAM: number; /** * * Hex: b4. Decimal: 180 */ static IOTIZE_TARGET_PROTOCOL_FORBIDDEN: number; /** * * Hex: b5. Decimal: 181 */ static IOTIZE_TARGET_PROTOCOL_DATA: number; /** * * Hex: b6. Decimal: 182 */ static IOTIZE_TARGET_PROTOCOL_COM: number; /** * * Hex: b7. Decimal: 183 */ static IOTIZE_TARGET_PROTOCOL_LOST_COM: number; /** * * Hex: b8. Decimal: 184 */ static IOTIZE_TARGET_PROTOCOL_PARAM: number; /** * * Hex: b9. Decimal: 185 */ static IOTIZE_TARGET_PROTOCOL_INT: number; /** * * Hex: ba. Decimal: 186 */ static IOTIZE_TARGET_PROTOCOL_ABORT: number; /** * * Hex: bb. Decimal: 187 */ static IOTIZE_TARGET_PROTOCOL_NOT_IMPLEMENTED: number; }