Enumeration HAPStatusConst

Enumeration Members

INSUFFICIENT_AUTHORIZATION: -70411

Insufficient authorization.

INSUFFICIENT_PRIVILEGES: -70401

The request was rejected due to insufficient privileges.

INVALID_VALUE_IN_REQUEST: -70410

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

NOTIFICATION_NOT_SUPPORTED: -70406

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

NOT_ALLOWED_IN_CURRENT_STATE: -70412

Operation not allowed in the current state.

OPERATION_TIMED_OUT: -70408

The operation timed out.

OUT_OF_RESOURCE: -70407

The device is out of resources to process the request.

READ_ONLY_CHARACTERISTIC: -70404

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

RESOURCE_BUSY: -70403

The resource is busy. Try again.

RESOURCE_DOES_NOT_EXIST: -70409

The given resource does not exist.

SERVICE_COMMUNICATION_FAILURE: -70402

Operation failed due to some communication failure with the characteristic.

SUCCESS: 0

Success of the request.

WRITE_ONLY_CHARACTERISTIC: -70405

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