public enum HciStatus extends java.lang.Enum<HciStatus>
Enum Constant and Description |
---|
ADVERTISING_TIMEOUT
Advertising for a fixed duration completed or, for directed advertising, that advertising completed without a connection being created.
|
AUTHENTICATION_FAILURE
Pairing or authentication failed due to incorrect results in the pairing or authentication procedure.
|
CHANNEL_CLASSIFICATION_NOT_SUPPORTED
The Controller cannot perform channel assessment because it is not supported.
|
COARSE_CLOCK_ADJUSTMENT_REJECTED
The master, at this time, is unable to make a coarse adjustment to the piconet clock, using the supplied parameters.
|
COMMAND_DISALLOWED
The command requested cannot be executed because the Controller is in a state where it cannot process this command at this time.
|
CONNECTION_ACCEPT_TIMEOUT_EXCEEDED
The Connection Accept Timeout has been exceeded for this connection attempt.
|
CONNECTION_ALREADY_EXISTS
A connection to this device already exists and multiple connections to the same device are not permitted.
|
CONNECTION_FAILED_ESTABLISHMENT
The LL initiated a connection but the connection has failed to be established.
|
CONNECTION_LIMIT_EXCEEDED
The Controller is already at its limit of the number of connections it can support.
|
CONNECTION_REJECTED_LIMITED_RESOURCES
A connection was rejected due to limited resources.
|
CONNECTION_REJECTED_NO_SUITABLE_CHANNEL
The Controller could not calculate an appropriate value for the Channel selection operation.
|
CONNECTION_REJECTED_SECURITY_REASONS
A connection was rejected due to security requirements not being fulfilled, like authentication or pairing.
|
CONNECTION_REJECTED_UNACCEPTABLE_MAC_ADDRESS
connection was rejected because this device does not accept the BD_ADDR
|
CONNECTION_TERMINATED_BY_LOCAL_HOST
The local device terminated the connection.
|
CONNECTION_TERMINATED_MIC_FAILURE
The connection was terminated because the Message Integrity Check (MIC) failed on a received packet.
|
CONNECTION_TIMEOUT
The link supervision timeout has expired for a given connection.
|
CONTROLLER_BUSY
The Controller was busy and unable to process the request.
|
DIFFERENT_TRANSACTION_COLLISION
An LMP transaction or LL Procedure was started that collides with an ongoing transaction.
|
ENCRYPTION_MODE_NOT_ACCEPTABLE
The requested encryption mode is not acceptable at this time.
|
ERROR |
HARDWARE_FAILURE
A hardware failure has occurred
|
HOST_BUSY_PAIRING
The Host is busy with another pairing operation and unable to support the requested pairing.
|
INQUIRY_RESPONSE_TOO_LARGE
The extended inquiry response, with the requested requirements for FEC, is too large to fit in any of the packet types supported by the Controller.
|
INSTANT_PASSED
An LMP PDU or LL PDU that includes an instant cannot be performed because the instant when this would have occurred has passed.
|
INSUFFICIENT_SECURITY
The HCI command or LMP PDU sent is only possible on an encrypted link.
|
INVALID_COMMAND_PARAMETERS
At least one of the HCI command parameters is invalid.
|
INVALID_LMP_OR_LL_PARAMETERS
Some LMP PDU / LL Control PDU parameters were invalid.
|
LIMIT_REACHED
The number of operations requested has been reached and has indicated the completion of the activity (e.g., advertising or scanning).
|
LINK_KEY_CANNOT_BE_EXCHANGED
A link key cannot be changed because a fixed unit key is being used.
|
LMP_OR_LL_ERROR_TRANS_COLLISION
An LMP transaction or LL procedure has collided with the same transaction or procedure that is already in progress.
|
LMP_OR_LL_RESPONSE_TIMEOUT
An LMP transaction failed to respond within the LMP response timeout or an LL transaction failed to respond within the LL response timeout.
|
LMP_PDU_NOT_ALLOWED
A Controller sent an LMP PDU with an OpCode that was not allowed.
|
MAC_CONNECTION_FAILED
The MAC of the 802.11 AMP was requested to connect to a peer, but the connection failed.
|
MAX_NUM_OF_CONNECTIONS_EXCEEDED
The Controller has reached the limit to the number of synchronous connections that can be achieved to a device.
|
MEMORY_FULL
The Controller has run out of memory to store new parameters.
|
OPERATION_CANCELLED_BY_HOST
A request to the Controller issued by the Host and still pending was successfully canceled.
|
PACKET_TOO_LONG
An attempt was made to send or receive a packet that exceeds the maximum allowed packet length.
|
PAGE_TIMEOUT
a page timed out because of the Page Timeout configuration parameter.
|
PAIRING_NOT_ALLOWED
The device does not allow pairing
|
PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED
It was not possible to pair as a unit key was requested and it is not supported.
|
PARAMETER_OUT_OF_RANGE
A parameter value requested is outside the mandatory range of parameters for the given HCI command or LMP PDU and the recipient does not accept that value.
|
PIN_OR_KEY_MISSING
Pairing failed because of a missing PIN, or authentication failed because of a missing Key.
|
QOS_REJECTED
The specified quality of service parameters cannot be accepted and QoS negotiation should be terminated
|
QOS_UNACCEPTABLE_PARAMETER
The specified quality of service parameters could not be accepted at this time, but other parameters may be acceptable.
|
REMOTE_DEVICE_TERMINATED_CONNECTION_LOW_RESOURCES
The remote device terminated the connection because of low resources.
|
REMOTE_DEVICE_TERMINATED_CONNECTION_POWER_OFF
The remote device terminated the connection because the device is about to power off.
|
REMOTE_USER_TERMINATED_CONNECTION
The user on the remote device terminated the connection.
|
REPEATED_ATTEMPTS
The Controller is disallowing an authentication or pairing procedure because too little time has elapsed since the last authentication or pairing attempt failed.
|
REQUESTED_QOS_NOT_SUPPORTED
The requested Quality of Service is not supported.
|
RESERVED_SLOT_VIOLATION
The current Synchronous negotiation was terminated with the negotiation state set to Reserved Slot Violation.
|
ROLE_CHANGE_NOT_ALLOWED
a Controller will not allow a role change at this time.
|
ROLE_SWITCH_FAILED
A role switch was attempted but it failed and the original piconet structure is restored.
|
ROLE_SWITCH_PENDING
A Role Switch is pending.
|
SCO_AIR_MODE_REJECTED
The air mode requested in the LMP_SCO_link_req PDU has been rejected.
|
SCO_INTERVAL_REJECTED
The interval requested in the LMP_SCO_link_req PDU has been rejected.
|
SCO_OFFSET_REJECTED
The offset requested in the LMP_SCO_link_req PDU has been rejected.
|
SECURE_SIMPLE_PAIRING_NOT_SUPPORTED
The IO capabilities request or response was rejected because the sending Host does not support Secure Simple Pairing even though the receiving Link Manager does.
|
SUCCESS
Command was successful
|
TYPE0_SUBMAP_NOT_DEFINED
The LMP PDU is rejected because the Type 0 submap is not currently defined.
|
UNACCEPTABLE_CONNECTION_PARAMETERS
The remote device either terminated the connection or rejected a request because of one or more unacceptable connection parameters.
|
UNDEFINED_0x2B
Undefined error code
|
UNDEFINED_0x31
Undefined error
|
UNDEFINED_0x33
Undefined error
|
UNKNOWN_ADVERTISING_IDENTIFIER
A command was sent from the Host that should identify an Advertising or Sync handle, but the Advertising or Sync handle does not exist.
|
UNKNOWN_COMMAND
The controller does not understand the HCI Command Packet OpCode that the Host sent.
|
UNKNOWN_CONNECTION_IDENTIFIER
The connection identifier used is unknown
|
UNKNOWN_LMP_PDU
The Controller has received an unknown LMP OpCode.
|
UNKNOWN_STATUS_CODE
Used when status code is not defined in the class
|
UNSPECIFIED
No other error code specified is appropriate to use
|
UNSUPPORTED_LMP_OR_LL_PARAMETER_VALUE
An LMP PDU or an LL Control PDU contains at least one parameter value that is not supported by the Controller at this time.
|
UNSUPPORTED_PARAMETER_VALUE
A feature or parameter value in the HCI command is not supported.
|
UNSUPPORTED_REMOTE_FEATURE
The remote device does not support the feature associated with the issued command or LMP PDU.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static @NotNull HciStatus |
fromValue(int value) |
static HciStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HciStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HciStatus SUCCESS
public static final HciStatus UNKNOWN_COMMAND
public static final HciStatus UNKNOWN_CONNECTION_IDENTIFIER
public static final HciStatus HARDWARE_FAILURE
public static final HciStatus PAGE_TIMEOUT
public static final HciStatus AUTHENTICATION_FAILURE
public static final HciStatus PIN_OR_KEY_MISSING
public static final HciStatus MEMORY_FULL
public static final HciStatus CONNECTION_TIMEOUT
public static final HciStatus CONNECTION_LIMIT_EXCEEDED
public static final HciStatus MAX_NUM_OF_CONNECTIONS_EXCEEDED
public static final HciStatus CONNECTION_ALREADY_EXISTS
public static final HciStatus COMMAND_DISALLOWED
public static final HciStatus CONNECTION_REJECTED_LIMITED_RESOURCES
public static final HciStatus CONNECTION_REJECTED_SECURITY_REASONS
public static final HciStatus CONNECTION_REJECTED_UNACCEPTABLE_MAC_ADDRESS
public static final HciStatus CONNECTION_ACCEPT_TIMEOUT_EXCEEDED
public static final HciStatus UNSUPPORTED_PARAMETER_VALUE
public static final HciStatus INVALID_COMMAND_PARAMETERS
public static final HciStatus REMOTE_USER_TERMINATED_CONNECTION
public static final HciStatus REMOTE_DEVICE_TERMINATED_CONNECTION_LOW_RESOURCES
public static final HciStatus REMOTE_DEVICE_TERMINATED_CONNECTION_POWER_OFF
public static final HciStatus CONNECTION_TERMINATED_BY_LOCAL_HOST
public static final HciStatus REPEATED_ATTEMPTS
public static final HciStatus PAIRING_NOT_ALLOWED
public static final HciStatus UNKNOWN_LMP_PDU
public static final HciStatus UNSUPPORTED_REMOTE_FEATURE
public static final HciStatus SCO_OFFSET_REJECTED
public static final HciStatus SCO_INTERVAL_REJECTED
public static final HciStatus SCO_AIR_MODE_REJECTED
public static final HciStatus INVALID_LMP_OR_LL_PARAMETERS
public static final HciStatus UNSPECIFIED
public static final HciStatus UNSUPPORTED_LMP_OR_LL_PARAMETER_VALUE
public static final HciStatus ROLE_CHANGE_NOT_ALLOWED
public static final HciStatus LMP_OR_LL_RESPONSE_TIMEOUT
public static final HciStatus LMP_OR_LL_ERROR_TRANS_COLLISION
public static final HciStatus LMP_PDU_NOT_ALLOWED
public static final HciStatus ENCRYPTION_MODE_NOT_ACCEPTABLE
public static final HciStatus LINK_KEY_CANNOT_BE_EXCHANGED
public static final HciStatus REQUESTED_QOS_NOT_SUPPORTED
public static final HciStatus INSTANT_PASSED
public static final HciStatus PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED
public static final HciStatus DIFFERENT_TRANSACTION_COLLISION
public static final HciStatus UNDEFINED_0x2B
public static final HciStatus QOS_UNACCEPTABLE_PARAMETER
public static final HciStatus QOS_REJECTED
public static final HciStatus CHANNEL_CLASSIFICATION_NOT_SUPPORTED
public static final HciStatus INSUFFICIENT_SECURITY
public static final HciStatus PARAMETER_OUT_OF_RANGE
public static final HciStatus UNDEFINED_0x31
public static final HciStatus ROLE_SWITCH_PENDING
public static final HciStatus UNDEFINED_0x33
public static final HciStatus RESERVED_SLOT_VIOLATION
public static final HciStatus ROLE_SWITCH_FAILED
public static final HciStatus INQUIRY_RESPONSE_TOO_LARGE
public static final HciStatus SECURE_SIMPLE_PAIRING_NOT_SUPPORTED
public static final HciStatus HOST_BUSY_PAIRING
public static final HciStatus CONNECTION_REJECTED_NO_SUITABLE_CHANNEL
public static final HciStatus CONTROLLER_BUSY
public static final HciStatus UNACCEPTABLE_CONNECTION_PARAMETERS
public static final HciStatus ADVERTISING_TIMEOUT
public static final HciStatus CONNECTION_TERMINATED_MIC_FAILURE
public static final HciStatus CONNECTION_FAILED_ESTABLISHMENT
public static final HciStatus MAC_CONNECTION_FAILED
public static final HciStatus COARSE_CLOCK_ADJUSTMENT_REJECTED
public static final HciStatus TYPE0_SUBMAP_NOT_DEFINED
public static final HciStatus UNKNOWN_ADVERTISING_IDENTIFIER
public static final HciStatus LIMIT_REACHED
public static final HciStatus OPERATION_CANCELLED_BY_HOST
public static final HciStatus PACKET_TOO_LONG
public static final HciStatus ERROR
public static final HciStatus UNKNOWN_STATUS_CODE
public static HciStatus[] values()
for (HciStatus c : HciStatus.values()) System.out.println(c);
public static HciStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@NotNull public static @NotNull HciStatus fromValue(int value)