nl::Weave::Profiles::Vendor::Nestlabs::Thermostat

Summary

Enumerations

@278 enum
@279{
  kStatus_ServiceUnreachable = 0x0001,
  kStatus_DeviceAlreadyPaired = 0x0002
}
enum
Thermostat-specific status codes.
InFieldJoiningStatus{
  kStatus_InFieldJoining_Unknown = -1,
  kStatus_InFieldJoining_Null = 0,
  kStatus_InFieldJoining_Succeeded = 1,
  kStatus_InFieldJoining_CannotLocateAssistingDevice = 2,
  kStatus_InFieldJoining_CannotConnectAssistingDevice = 3,
  kStatus_InFieldJoining_CannotAuthAssistingDevice = 4,
  kStatus_InFieldJoining_ConfigExtractionError = 5,
  kStatus_InFieldJoining_PANFormError = 6,
  kStatus_InFieldJoining_PANJoinError = 7,
  kStatus_InFieldJoining_HVACCycleInProgress = 8,
  kStatus_InFieldJoining_HeatLinkJoinInProgress = 9,
  kStatus_InFieldJoining_HeatLinkUpdateInProgress = 10,
  kStatus_InFieldJoining_HeatLinkManualHeatActive = 11,
  kStatus_InFieldJoining_IncorrectHeatLinkSoftwareVersion = 12,
  kStatus_InFieldJoining_FailureToFetchAccessToken = 13,
  kStatus_InFieldJoining_DeviceNotWeaveProvisioned = 14,
  kStatus_InFieldJoining_HeatLinkResetFailed = 15,
  kStatus_InFieldJoining_DestroyFabricFailed = 16,
  kStatus_InFieldJoining_CannotJoinExistingFabric = 17,
  kStatus_InFieldJoining_CannotCreateFabric = 18,
  kStatus_InFieldJoining_NetworkReset = 19,
  kStatus_InFieldJoining_JoiningInProgress = 20,
  kStatus_InFieldJoining_FailureToMakePanJoinable = 21,
  kStatus_InFieldJoining_WeaveConnectionTimeoutStillActive = 22,
  kStatus_InFieldJoining_HeatLinkNotJoined = 23,
  kStatus_InFieldJoining_HeatLinkNotInContact = 24,
  kStatus_InFieldJoining_WiFiTechNotEnabled = 25,
  kStatus_InFieldJoining_15_4_TechNotEnabled = 26,
  kStatus_InFieldJoining_StandaloneFabricCreationInProgress = 27,
  kStatus_InFieldJoining_NotConnectedToPower = 28,
  kStatus_InFieldJoining_OperationNotPermitted = 29,
  kStatus_InFieldJoining_ServiceTimedOut = 100,
  kStatus_InFieldJoining_DeviceTimedOut = 101,
  kStatus_InFieldJoining_InternalError = 200
}
enum
Thermostat-specific status codes.
SystemStatusCode enum
Thermostat-specific system status codes.
SystemTestCode enum
Thermostat-specific system test codes.
SystemTestStatusCode enum
Thermostat-specific system test status codes.

Variables

sStatusStr[kMaxIfjStatusStrLen]
char

Functions

FormatIfjStatus(const char *format, InFieldJoiningStatus status)
const char *
IfjStatusStr(InFieldJoiningStatus status)
const char *

Enumerations

@278

 @278

@279

 @279

Thermostat-specific status codes.

Properties
kStatus_DeviceAlreadyPaired

The device is already paired to a Nest account.

kStatus_ServiceUnreachable

Cannot contact the Service to retrieve the Legacy Entry Key.

InFieldJoiningStatus

 InFieldJoiningStatus

Thermostat-specific status codes.

Properties
kStatus_InFieldJoining_15_4_TechNotEnabled

15.4 technology is not enabled

kStatus_InFieldJoining_CannotAuthAssistingDevice

Failure to authenticate to assisting device.

kStatus_InFieldJoining_CannotConnectAssistingDevice

Failure to connect to assisting device.

kStatus_InFieldJoining_CannotCreateFabric

Failed to create new fabric.

kStatus_InFieldJoining_CannotJoinExistingFabric

Failed to join existing fabric.

kStatus_InFieldJoining_CannotLocateAssistingDevice

Failure to locate assisting device.

kStatus_InFieldJoining_ConfigExtractionError

Error extracting configuration from assisting device.

kStatus_InFieldJoining_DestroyFabricFailed

Failed to destroy existing fabric.

kStatus_InFieldJoining_DeviceNotWeaveProvisioned

Device not Weave provisioned.

kStatus_InFieldJoining_DeviceTimedOut

Joining operation timed out (set by device)

kStatus_InFieldJoining_FailureToFetchAccessToken

Failure to fetch access token.

kStatus_InFieldJoining_FailureToMakePanJoinable

Assisting device failed to make its PAN joinable.

kStatus_InFieldJoining_HVACCycleInProgress

HVAC cycle in progress.

kStatus_InFieldJoining_HeatLinkJoinInProgress

HeatLink join in progress.

kStatus_InFieldJoining_HeatLinkManualHeatActive

Heatlink manual heat active.

kStatus_InFieldJoining_HeatLinkNotInContact

HeatLink not in contact with head unit.

kStatus_InFieldJoining_HeatLinkNotJoined

HeatLink not joined to head unit.

kStatus_InFieldJoining_HeatLinkResetFailed

Failed to factory reset HeatLink.

kStatus_InFieldJoining_HeatLinkUpdateInProgress

HeatLink software update in progress.

kStatus_InFieldJoining_IncorrectHeatLinkSoftwareVersion

Incorrect HeatLink software version.

kStatus_InFieldJoining_InternalError

Internal error during in-field joining.

kStatus_InFieldJoining_JoiningInProgress

Device already in-field joining.

kStatus_InFieldJoining_NetworkReset

Network was reset on the device.

kStatus_InFieldJoining_NotConnectedToPower

Backplate not connected to any power.

kStatus_InFieldJoining_Null

In-field joining started by the service.

kStatus_InFieldJoining_OperationNotPermitted

In-field joining not permitted.

kStatus_InFieldJoining_PANFormError

Failure to form 802.15.4 PAN.

kStatus_InFieldJoining_PANJoinError

Failure to join 802.15.4 PAN.

kStatus_InFieldJoining_ServiceTimedOut

Joining operation timed out (set by service)

kStatus_InFieldJoining_StandaloneFabricCreationInProgress

Standalone fabric creation is in progress.

kStatus_InFieldJoining_Succeeded

In-field joining succeeded.

kStatus_InFieldJoining_Unknown

Unknown.

kStatus_InFieldJoining_WeaveConnectionTimeoutStillActive

Timeout used to keep us awake while connected to another device still active.

kStatus_InFieldJoining_WiFiTechNotEnabled

WiFi technology is not enabled.

SystemStatusCode

 SystemStatusCode

Thermostat-specific system status codes.

Do not change these values even if a status gets deprecated. They are used in kTag_SystemStatusKey view responses.

SystemTestCode

 SystemTestCode

Thermostat-specific system test codes.

Do not change these values even if a test gets deprecated. They are used in kTag_SystemTestStartKey Update requests and kTag_SystemTestStatusKey view responses.

SystemTestStatusCode

 SystemTestStatusCode

Thermostat-specific system test status codes.

Do not change these values even if a test status gets deprecated. They are used in kTag_SystemTestStatusKey view responses. The lower byte of these values will be used to store specific test codes from the SystemTestCode enum.

Variables

sStatusStr

char sStatusStr[kMaxIfjStatusStrLen]

Functions

FormatIfjStatus

const char * FormatIfjStatus(
  const char *format,
  InFieldJoiningStatus status
)

IfjStatusStr

const char * IfjStatusStr(
  InFieldJoiningStatus status
)