|
enum | BTAvConnectionState_t { eBTAvsrcConnectionStateDisconnected = 0
, eBTAvsrcConnectionStateConnecting = 1
, eBTAvsrcConnectionStateConnected = 2
, eBTAvsrcConnectionStateDisconnecting = 3
} |
| Bluetooth AV connection states. More...
|
|
enum | BTAvAudioState_t { eBTAvsrcAudioStateRemoteSuspend = 0
, eBTAvsrcAudioStateStopped = 1
, eBTAvsrcAudioStateStarted = 2
} |
| Bluetooth AV data path states. More...
|
|
enum | BTAvsrcAclPriority_t { eBTAvsrcAclPriorityLow = 0
, eBTAvsrcAclPriorityHigh = 1
} |
| Bluetooth AV ACL Priority. More...
|
|
enum | BTGattcError_t {
eBTGattcCommandSuccess = 0
, eBTGattcCommandStarted = 1
, eBTGattcCommandBusy = 2
, eBTGattcCommandStored = 3
,
eBTGattcNoResources = 4
, eBTGattcModeUnsupported = 5
, eBTGattcIllegalValue = 6
, eBTGattcIncorrectState = 7
,
eBTGattcUnknownAddr = 8
, eBTGattcDeviceTimeout = 9
, eBTGattcInvalidControllerOutput = 10
, eBTGattcSecurityError = 11
,
eBTGattcDelayedEncryptionCheck = 12
, eBTGattcErrProcessing = 13
} |
| BT GATT client error codes. More...
|
|
enum | BTRspErrorStatus_t {
eBTRspErrorNone = 0
, eBTRspErrorNo_mitm = 1
, eBTRspErrorMitm = 2
, eBTRspErrorSignedNoMitm = 3
,
eBTRspErrorSignedMitm = 4
} |
| Error status sent inside response to a read or write from the client. More...
|
|
enum | BTGattStatus_t {
eBTGattStatusSuccess = 0x00
, eBTInvalidHandle = 0x01
, eBTGattStatusReadNotPermitted = 0x02
, eBTGattStatusWriteNotPermitted = 0x03
,
eBTGattStatusInvalidPDU = 0x04
, eBTGattStatusInsufficientAuthentication = 0x05
, eBTGattStatusRequestNotSupported = 0x06
, eBTGattStatusInvalidOffset = 0x07
,
eBTGattStatusInsufficientAuthorization = 0x08
, eBTGattStatusPrepareQueueFull = 0x09
, eBTGattStatusAttributeNotFound = 0x0A
, eBTGattStatusAttributeNotLong = 0x0B
,
eBTGattStatusInsufficientKeySize = 0x0C
, eBTGattStatusInvalidAttributeLength = 0x0D
, eBTGattStatusUnlikelyError = 0x0E
, eBTGattStatusInsufficientEncryption = 0x0F
,
eBTGattStatusUnsupportedGroupType = 0x10
, eBTGattStatusInsufficientResources = 0x11
, eBTGattStatusInternalError = 0x81
, eBTGattStatusError = 0x85
,
eBTGattStatusConnectionCongested = 0x8f
, eBTGattStatusErrorConnEstFail = 0x93
, eBTGattStatusErrorConnTimeout = 0x94
, eBTGattStatusLocalHostTerminatedConnection = 0x99
} |
| GATT Status Codes. More...
|
|
enum | {
eBTPropNone = 0x0000
, eBTPropBroadcast = 0x0001
, eBTPropRead = 0x0002
, eBTPropWriteNoResponse = 0x0004
,
eBTPropWrite = 0x0008
, eBTPropNotify = 0x0010
, eBTPropIndicate = 0x0020
, eBTPropSignedWrite = 0x0040
,
eBTPropExtendedProps = 0x0080
} |
| GATT Characteristic property. More...
|
|
enum | {
eBTPermNone = 0x0000
, eBTPermRead = 0x0001
, eBTPermReadEncrypted = 0x0002
, eBTPermReadEncryptedMitm = 0x0004
,
eBTPermWrite = 0x0010
, eBTPermWriteEncrypted = 0x0020
, eBTPermWriteEncryptedMitm = 0x0040
, eBTPermWriteSigned = 0x0080
,
eBTPermWriteSignedMitm = 0x0100
} |
| GATT permissions. More...
|
|
enum | BTAttrWriteRequests_t { eBTWriteTypeNoResponse = 0x0001
, eBTWriteTypeDefault = 0x0002
, eBTWriteTypePrepare = 0x0003
, eBTWriteTypeSigned = 0x0004
} |
| Write request type. More...
|
|
enum | BTGattServiceTypes_t { eBTServiceTypePrimary
, eBTServiceTypeSecondary
} |
| GATT Service types. More...
|
|
enum | BTDbAttributeType_t {
eBTDbPrimaryService
, eBTDbSecondaryService
, eBTDbIncludedService
, eBTDbCharacteristicDecl
,
eBTDbCharacteristic
, eBTDbDescriptor
} |
| Attribute types. More...
|
|
enum | { eBTSecLevelNoSecurity = 0x01
, eBTSecLevelUnauthenticatedPairing = 0x02
, eBTSecLevelAuthenticatedPairing = 0x03
, eBTSecLevelSecureConnect = 0x04
} |
| Security Level. More...
|
|
enum | { eBTAuthReqBonding = 0x01
, eBTAuthReqMitm = 0x03
, eBTAuthReqSecureConnect = 0x04
, eBTAuthReqKeyPress = 0x05
} |
| Authentication requirement. More...
|
|
enum | BTTransport_t { BTTransportAuto = 0
, BTTransportBredr = 1
, BTTransportLe = 2
} |
| Preferred physical Transport for GATT connection . More...
|
|
enum | BTState_t { eBTstateOff
, eBTstateOn
} |
| Bluetooth power State. More...
|
|
enum | BTAuthFailureReason_t {
eBTauthSuccess = 0x00
, eBTauthFailLmpRespTimeout = 0x01
, eBTauthFailKeyMissing = 0x02
, eBTauthFailEncrypMode = 0x03
,
eBTauthFailUnitKey = 0x04
, eBTauthFailSmpCfrmValue = 0x05
, eBTauthFailSmpEnc = 0x06
, eBTauthFailSmpTimeout = 0x07
,
eBTauthFailPageTimeout = 0x08
, eBTauthFailSmpPasskeyFail = 0x09
, eBTauthFailSmpOobFail = 0x0A
, eBTauthFailSmpFail = 0x0B
,
eBTauthFailConnTimeout = 0x0C
, eBTauthFailSmp = 0x0D
, eBTauthFailSmpPairNotSupport = 0x0E
, eBTauthFailSmpUnknownIo = 0x0F
,
eBTauthFailSmpUnknown = 0x10
, eBTauthFailHostRejectSecurity = 0x11
, eBTauthFailInsuffSecurity = 0x12
, eBTauthFailPeerUser = 0x13
,
eBTauthFailUnspecified = 0x14
, eBTauthFailSmpAuthReqFail = 0x15
, eBTauthFailSmpEncKeySize = 0x16
, eBTauthFailSmpCmdNotSupport = 0x17
,
eBTauthFailSmpRepeatedAttempt = 0x18
, eBTauthFailSmpInvalidParameters = 0x19
, eBTauthFailSmpDhkeyCheckFail = 0x1A
, eBTauthFailSmpNumericComparFail = 0x1B
,
eBTauthFailSmpBrPairInProg = 0x1C
, eBTauthFailSmpXtransDeriveNotAllow = 0x1D
, eBTauthFailStackErr = 0x100
, eBTauthFailHciErr = 0x200
} |
| Authentication failure reasons. More...
|
|
enum | BTPropertyType_t {
eBTpropertyBdname = 0x1
, eBTpropertyBdaddr
, eBTpropertyTypeOfDevice
, eBTpropertyAdapterBondedDevices
,
eBTpropertyRemoteFriendlyName
, eBTpropertyRemoteRssi
, eBTpropertyRemoteVersionInfo
, eBTpropertyLocalMTUSize
,
eBTpropertyBondable
, eBTpropertyIO
, eBTpropertyConnectable
, eBTpropertySecureConnectionOnly
} |
| Bluetooth local device and Remote Device property types. Properties common to both adapter and remote device. More...
|
|
enum | BTDeviceType_t { eBTdeviceDevtypeBredr = 0x1
, eBTdeviceDevtypeBle
, eBTdeviceDevtypeDual
} |
| Bluetooth Device Type. More...
|
|
enum | BTBondState_t { eBTbondStateNone
, eBTbondStateBonding
, eBTbondStateBonded
} |
| Bluetooth Bond state. More...
|
|
enum | BTSspVariant_t { eBTsspVariantPasskeyConfirmation
, eBTsspVariantPasskeyEntry
, eBTsspVariantConsent
, eBTsspVariantPasskeyNotification
} |
| Bluetooth SSP Bonding Variant. More...
|
|
enum | BTAclState_t { eBTaclConnected = 0
, eBTaclDisconnected = 1
} |
| Bluetooth ACL connection state. More...
|
|
enum | BTAclDisconnectReason_t {
eBTaclSuccess = 0x00
, eBTaclIllegalCommand = 0x01
, eBTaclNoConnection = 0x02
, eBTaclHwFailure = 0x03
,
eBTaclPageTimeout = 0x04
, eBTaclAuthFailure = 0x05
, eBTaclKeyMissing = 0x06
, eBTaclMemFull = 0x07
,
eBTaclConnectionTimeout = 0x08
, eBTaclMaxNumOfConnections = 0x09
, eBTaclMaxNumOfScos = 0x0A
, eBTaclConnectionExists = 0x0B
,
eBTaclCommandDisallowed = 0x0C
, eBTaclHostRejectResource = 0x0D
, eBTaclHostRejectSecurity = 0x0E
, eBTaclHostRejectDevice = 0x0F
,
eBTaclHostTimeout = 0x10
, eBTaclUnsupportedValue = 0x11
, eBTaclIllegalParameterFmt = 0x12
, eBTaclPeerUser = 0x13
,
eBTaclPeerLowResources = 0x14
, eBTaclPeerPowerOff = 0x15
, eBTaclHostUser = 0x16
, eBTaclRepeatedAttempts = 0x17
,
eBTaclPairingNotAllowed = 0x18
, eBTaclUnknownLmpPdu = 0x19
, eBTaclUnsupportedRemFeature = 0x1A
, eBTaclScoOffsetRejected = 0x1B
,
eBTaclScoIntervalRejected = 0x1C
, eBTaclScoAirRejected = 0x1D
, eBTaclInvalidLmpParam = 0x1E
, eBTaclUnspecified = 0x1F
,
eBTaclUnsupportedLmpFeature = 0x20
, eBTaclRoleChangeNotAllowed = 0x21
, eBTaclLmpResponseTimeout = 0x22
, eBTaclLmpErrTransCollision = 0x23
,
eBTaclLmpPduNotAllowed = 0x24
, eBTaclEncryModeNotAcceptable = 0x25
, eBTaclUnitKeyUsed = 0x26
, eBTaclQosNotSupported = 0x27
,
eBTaclInstantPassed = 0x28
, eBTaclPairingWithUnitKeyNotSupported = 0x29
, eBTaclDiffTransactionCollision = 0x2A
, eBTaclQosUnacceptableParam = 0x2C
,
eBTaclQosRejected = 0x2D
, eBTaclChanClassifNotSupported = 0x2E
, eBTaclInsuffcientSecurity = 0x2F
, eBTaclParamOutOfRange = 0x30
,
eBTaclRoleSwitchPending = 0x32
, eBTaclReservedSlotViolation = 0x34
, eBTaclRoleSwitchFailed = 0x35
, eBTaclInqRspDataTooLarge = 0x36
,
eBTaclSimplePairingNotSupported = 0x37
, eBTaclHostBusyPairing = 0x38
, eBTaclRejNoSuitableChannel = 0x39
, eBTaclControllerBusy = 0x3A
,
eBTaclUnacceptConnInterval = 0x3B
, eBTaclDirectedAdvertisingTimeout = 0x3C
, eBTaclConnToutDueToMicFailure = 0x3D
, eBTaclConnFailedEstablishment = 0x3E
,
eBTaclMacConnectionFailed = 0x3F
} |
| Bluetooth ACL Disconnect Reason From Bluetooth Core Spec 5.0 Vol 2, Part D Error Codes Unknown disconnect reason will be treated as eBTaclUnspecified. More...
|
|
enum | BTAddrType_t { BTAddrTypePublic
, BTAddrTypeRandom
, BTAddrTypeStaticRandom
, BTAddrTypeResolvable
} |
| Advertising Address Type.
|
|
enum | BTAdvProperties_t { BTAdvInd
, BTAdvDirectInd
, BTAdvNonconnInd
} |
| Advertising Type.
|
|
enum | BTBlePropertyType_t { eBTPropertyLocalLeFeatures
} |
| BLE device property type. More...
|
|
enum | BTScanMode_t { eBTScanModeNone = 0
, eBTScanModeConnectable = 1
, eBTScanModeConnectableDiscoverable = 2
} |
| Bluetooth Adapter Visibility Modes. More...
|
|
enum | BTScanParam_t { eBTPageScanInterval220ms = 0
, eBTPageScanInterval1280ms = 1
} |
| Bluetooth scan parameters. More...
|
|
enum | BTDiscoveryState_t { eBTDiscoveryStopped = 0
, eBTDiscoveryStarted = 1
} |
| Bluetooth Adapter Discovery state. More...
|
|
enum | BTaclState_t { eBTaclStateConnected = 0
, eBTaclStateDisconnected = 1
} |
| Bluetooth ACL connection state. More...
|
|
enum | BTScanType_t { eBTScanTypeStandard = 0
, eBTScanTypeInterlaced = 1
} |
| Bluetooth Scan types. More...
|
|
enum | BTClassicPropertyType_t {
eBTPropertyBdname = 0x1
, eBTPropertyBdaddr = 0x2
, eBTPropertyTypeOfDevice = 0x3
, eBTPropertyUUIDS = 0x4
,
eBTPropertyClassOfDevice = 0x5
, eBTPropertyServiceRecord = 0x6
, eBTPropertyAdapterDiscoveryTimeout = 0x7
, eBTPropertyAdapterScanMode = 0x8
,
eBTPropertyEIRManfInfo = 0xFE
, eBTPropertyAdapterScanParam = 0x100
, eBTPropertyConnectability = 0x101
, eBTPropertyScanType = 0x102
,
eBTPropertyGadgetEIRManfInfo = 0x103
} |
| Classic Device Property Types. More...
|
|
enum | BTuuidType_t { eBTuuidType16 = 1
, eBTuuidType32 = 2
, eBTuuidType128 = 3
} |
| UUID types. More...
|
|
enum | BTStatus_t {
eBTStatusSuccess = 0
, eBTStatusFail = 1
, eBTStatusNotReady = 2
, eBTStatusNoMem = 3
,
eBTStatusBusy = 4
, eBTStatusDone = 5
, eBTStatusUnsupported = 6
, eBTStatusParamInvalid = 7
,
eBTStatusUnHandled = 8
, eBTStatusAuthFailure = 9
, eBTStatusRMTDevDown = 10
, eBTStatusAuthRejected = 11
,
eBTStatusWakeLockError = 12
, eBTStatusLinkLoss = 13
} |
| Bluetooth Error Status . More...
|
|
enum | BTProfile_t {
eProfileHeadset = 0
, eBTProfileA2DP = 1
, eBTProfileAVRCPTarget = 2
, eBTProfileA2DPSink = 3
,
eBTProfileAVRCPController = 4
, eBTProfileInputDevice = 5
, eBTProfileHeadsetClient = 6
, eBTProfileGATT = 7
,
eBTProfileSock = 8
, eBTProfileMaxID = 9
} |
| Bluetooth Profile . More...
|
|
enum | BTIOtypes_t {
eBTIONone = 0
, eBTIODisplayOnly = 1
, eBTIODisplayYesNo = 2
, eBTIOKeyboardOnly = 3
,
eBTIOKeyboardDisplay = 4
} |
| Input Output device type. More...
|
|
Enumerated types of the BT_HAL.