ELEC-C7222
Libraries for ELEC C7222 Course Work
Loading...
Searching...
No Matches
ble_error.hpp File Reference

BLE error codes. More...

#include <cstdint>
#include <ostream>
Include dependency graph for ble_error.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  c7222
 C7222 course abstractions namespace.
 

Enumerations

enum class  c7222::BleError : int {
  c7222::kSuccess , c7222::kUnknownHciCommand , c7222::kUnknownConnectionIdentifier , c7222::kHardwareFailure ,
  c7222::kPageTimeout , c7222::kAuthenticationFailure , c7222::kPinOrKeyMissing , c7222::kMemoryCapacityExceeded ,
  c7222::kConnectionTimeout , c7222::kConnectionLimitExceeded , c7222::kSynchronousConnectionLimitToADeviceExceeded , c7222::kAclConnectionAlreadyExists ,
  c7222::kCommandDisallowed , c7222::kConnectionRejectedDueToLimitedResources , c7222::kConnectionRejectedDueToSecurityReasons , c7222::kConnectionRejectedDueToUnacceptableBdAddr ,
  c7222::kUnsupportedFeatureOrParameterValue , c7222::kInvalidHciCommandParameters , c7222::kRemoteUserTerminatedConnection , c7222::kConnectionAcceptTimeoutExceeded ,
  c7222::kRemoteDeviceTerminatedConnectionDueToLowResources , c7222::kRemoteDeviceTerminatedConnectionDueToPowerOff , c7222::kConnectionTerminatedByLocalHost , c7222::kRepeatedAttempts ,
  c7222::kPairingNotAllowed , c7222::kUnknownLmpPdu , c7222::kUnsupportedRemoteFeatureUnsupportedLmpFeature , c7222::kScoOffsetRejected ,
  c7222::kScoIntervalRejected , c7222::kScoAirModeRejected , c7222::kInvalidLmpParametersInvalidLlParameters , c7222::kUnspecifiedError ,
  c7222::kUnsupportedLmpParameterValueUnsupportedLlParameterValue , c7222::kRoleChangeNotAllowed , c7222::kLmpResponseTimeoutLlResponseTimeout , c7222::kLmpErrorTransactionCollision ,
  c7222::kLmpPduNotAllowed , c7222::kEncryptionModeNotAcceptable , c7222::kLinkKeyCannotBeChanged , c7222::kRequestedQosNotSupported ,
  c7222::kInstantPassed , c7222::kPairingWithUnitKeyNotSupported , c7222::kDifferentTransactionCollision , c7222::kReserved ,
  c7222::kQosUnacceptableParameter , c7222::kQosRejected , c7222::kChannelClassificationNotSupported , c7222::kInsufficientSecurity ,
  c7222::kParameterOutOfMandatoryRange , c7222::kRoleSwitchPending , c7222::kReservedSlotViolation , c7222::kRoleSwitchFailed ,
  c7222::kExtendedInquiryResponseTooLarge , c7222::kSecureSimplePairingNotSupportedByHost , c7222::kHostBusyPairing , c7222::kConnectionRejectedDueToNoSuitableChannelFound ,
  c7222::kControllerBusy , c7222::kUnacceptableConnectionParameters , c7222::kDirectedAdvertisingTimeout , c7222::kConnectionTerminatedDueToMicFailure ,
  c7222::kConnectionFailedToBeEstablished , c7222::kMacConnectionFailed , c7222::kCoarseClockAdjustmentRejectedButWillTryToAdjustUsingClockDragging , c7222::kBtstackConnectionToBtdaemonFailed ,
  c7222::kBtstackActivationFailedSystemBluetooth , c7222::kBtstackActivationPoweronFailed , c7222::kBtstackActivationFailedUnknown , c7222::kBtstackNotActivated ,
  c7222::kBtstackBusy , c7222::kBtstackMemoryAllocFailed , c7222::kBtstackAclBuffersFull , c7222::kL2capCommandRejectReasonCommandNotUnderstood ,
  c7222::kL2capCommandRejectReasonSignalingMtuExceeded , c7222::kL2capCommandRejectReasonInvalidCidInRequest , c7222::kL2capConnectionResponseResultSuccessful , c7222::kL2capConnectionResponseResultPending ,
  c7222::kL2capConnectionResponseResultRefusedPsm , c7222::kL2capConnectionResponseResultRefusedSecurity , c7222::kL2capConnectionResponseResultRefusedResources , c7222::kL2capConnectionResponseResultErtmNotSupported ,
  c7222::kL2capConnectionResponseResultRtxTimeout , c7222::kL2capConnectionBasebandDisconnect , c7222::kL2capServiceAlreadyRegistered , c7222::kL2capDataLenExceedsRemoteMtu ,
  c7222::kL2capServiceDoesNotExist , c7222::kL2capLocalCidDoesNotExist , c7222::kL2capConnectionResponseUnknownError , c7222::kRfcommMultiplexerStopped ,
  c7222::kRfcommChannelAlreadyRegistered , c7222::kRfcommNoOutgoingCredits , c7222::kRfcommAggregateFlowOff , c7222::kRfcommDataLenExceedsMtu ,
  c7222::kHfpRemoteRejectsAudioConnection , c7222::kSdpHandleAlreadyRegistered , c7222::kSdpQueryIncomplete , c7222::kSdpServiceNotFound ,
  c7222::kSdpHandleInvalid , c7222::kSdpQueryBusy , c7222::kAttHandleValueIndicationInProgress , c7222::kAttHandleValueIndicationTimeout ,
  c7222::kAttHandleValueIndicationDisconnect , c7222::kAttErrorReadNotPermitted , c7222::kAttErrorWriteNotPermitted , c7222::kAttErrorInsufficientAuthentication ,
  c7222::kAttErrorInsufficientAuthorization , c7222::kAttErrorInvalidAttrValueLength , c7222::kAttErrorInsufficientEncryption , c7222::kGattClientNotConnected ,
  c7222::kGattClientBusy , c7222::kGattClientInWrongState , c7222::kGattClientDifferentContextForAddressAlreadyExists , c7222::kGattClientValueTooLong ,
  c7222::kGattClientCharacteristicNotificationNotSupported , c7222::kGattClientCharacteristicIndicationNotSupported , c7222::kBnepServiceAlreadyRegistered , c7222::kBnepChannelNotConnected ,
  c7222::kBnepDataLenExceedsMtu , c7222::kBnepSetupConnectionError , c7222::kObexUnknownError , c7222::kObexConnectFailed ,
  c7222::kObexDisconnected , c7222::kObexNotFound , c7222::kObexNotAcceptable , c7222::kObexAborted ,
  c7222::kMeshErrorAppkeyIndexInvalid
}
 BLE error codes used across HCI/L2CAP/ATT/GATT and BTstack helpers. More...
 

Functions

std::ostream & c7222::operator<< (std::ostream &os, BleError error)
 Stream output helper for BleError.
 

Detailed Description

BLE error codes.