Enumeration HAPStatusConst

Enumeration Members

INSUFFICIENT_AUTHORIZATION

Insufficient authorization.

INSUFFICIENT_PRIVILEGES

The request was rejected due to insufficient privileges.

INVALID_VALUE_IN_REQUEST

Received an invalid value in the given request for the given characteristic.

NOT_ALLOWED_IN_CURRENT_STATE

Operation not allowed in the current state.

NOTIFICATION_NOT_SUPPORTED

Event notifications are not supported for the requested characteristic (Perms.NOTIFY not defined).

OPERATION_TIMED_OUT

The operation timed out.

OUT_OF_RESOURCE

The device is out of resources to process the request.

READ_ONLY_CHARACTERISTIC

Cannot write a read-only characteristic (Perms.PAIRED_WRITE not defined).

RESOURCE_BUSY

The resource is busy. Try again.

RESOURCE_DOES_NOT_EXIST

The given resource does not exist.

SERVICE_COMMUNICATION_FAILURE

Operation failed due to some communication failure with the characteristic.

SUCCESS

Success of the request.

WRITE_ONLY_CHARACTERISTIC

Cannot read from a write-only characteristic (Perms.PAIRED_READ not defined).