bt_sock.h File Reference

const TLitC< sizeof(L"RFCOMM")/2 > KRFCOMMDesC

const TLitC< sizeof(L"RFCOMM")/2 >KRFCOMMDesC[static]

Descriptor name for RFCOMM

const TLitC< sizeof(L"L2CAP")/2 > KL2CAPDesC

const TLitC< sizeof(L"L2CAP")/2 >KL2CAPDesC[static]

Descriptor name for L2CAP

const TUint KBTAddrFamily

const TUintKBTAddrFamily

BT Address Family

const TUint KBTLinkManager

const TUintKBTLinkManager

Protocol Number for Link Manager

const TUint KL2CAP

const TUintKL2CAP

Protocol Number for L2CAP

const TUint KRFCOMM

const TUintKRFCOMM

Protocol Number for RFCOMM

const TUint KSDP

const TUintKSDP

Protocol Number for SDP

const TUint KAVCTP

const TUintKAVCTP

Protocol Number for AVCTP

const TInt KTCIL2CAP

const TIntKTCIL2CAP

Protocol Number for TCI L2CAP

const TInt KBTMajor

const TIntKBTMajor

BT version number for major version

const TInt KBTMinor

const TIntKBTMinor

BT version number for minor version

const TInt KBTBuild

const TIntKBTBuild

BT version number for build version

const TUint8 KSCOListenQueSize

const TUint8KSCOListenQueSize[static]

Length of SCO listening queue

const TUint16 KL2MinMTU

const TUint16KL2MinMTU[static]

BT Spec defined min. supported MTU size

const TUint16 KMaxPSM

const TUint16KMaxPSM[static]

Max L2CAP PSM value

const TUint16 KMinUserPSM

const TUint16KMinUserPSM[static]

This is the minimum user PSM. Smaller PSM values are possible but are reserved for use by the Bluetooth stack only.

const TUint16 KMinPSM

const TUint16KMinPSM[static]

This constant has been deprecated since its name is misleading becasue it doesn't represent the absolute minimum PSM but the minimum user PSM instead. Use KMinUserPSM instead of this constant.

const TInt KErrBtEskError

const TIntKErrBtEskError[static]

BT ESK error code

Typedef TBTServiceSecurityPerDeviceBuf

typedef TPckgBuf< TBTServiceSecurityPerDevice >TBTServiceSecurityPerDeviceBuf

Package definition for securty settings

const TInt KLinkManagerErrBase

const TIntKLinkManagerErrBase[static]

Link manager base error value

const TInt KErrInsufficientBasebandResources

const TIntKErrInsufficientBasebandResources[static]

Insufficient baseband resources error value

const TInt KErrProxyWriteNotAvailable

const TIntKErrProxyWriteNotAvailable[static]

Proxy write not available error value

const TInt KErrReflexiveBluetoothLink

const TIntKErrReflexiveBluetoothLink[static]

Reflexive BT link error value

const TInt KErrPendingPhysicalLink

const TIntKErrPendingPhysicalLink[static]

Physical link connection already pending when trying to connect the physical link

const TInt KErrRemoteDeviceIndicatedNoBonding

const TIntKErrRemoteDeviceIndicatedNoBonding[static]

Dedicated bonding attempt failure when the remote device responds with No-Bonding

const TInt KL2CAPErrBase

const TIntKL2CAPErrBase[static]

Base error value for L2CAP error codes

const TInt KErrBadAddress

const TIntKErrBadAddress[static]

L2CAP Bad address error code

const TInt KErrSAPUnexpectedEvent

const TIntKErrSAPUnexpectedEvent[static]

L2CAP unexpected SAP event error code

const TInt KErrBadPacketReceived

const TIntKErrBadPacketReceived[static]

L2CAP bad packet received error code

const TInt KErrL2CAPBadResponse

const TIntKErrL2CAPBadResponse[static]

L2CAP bad response error code

const TInt KErrHCIConnectFailed

const TIntKErrHCIConnectFailed[static]

L2CAP HCI connection failed error code

const TInt KErrHCILinkDisconnection

const TIntKErrHCILinkDisconnection[static]

L2CAP HCI link disconnection error code

const TInt KErrSAPNotConnected

const TIntKErrSAPNotConnected[static]

L2CAP SAP not connected error code

const TInt KErrConfigBadParams

const TIntKErrConfigBadParams[static]

L2CAP bad configuration parameters error code

const TInt KErrConfigRejected

const TIntKErrConfigRejected[static]

L2CAP configuration rejected error code

const TInt KErrConfigUnknownOptions

const TIntKErrConfigUnknownOptions[static]

L2CAP unknown configuration options error code

const TInt KErrL2PeerDisconnected

const TIntKErrL2PeerDisconnected[static]

L2CAP peer disconnected error code

const TInt KErrL2CAPAccessRequestDenied

const TIntKErrL2CAPAccessRequestDenied[static]

L2CAP access request denied error code

const TInt KErrL2CAPRequestTimeout

const TIntKErrL2CAPRequestTimeout[static]

L2CAP request timeout error code

const TInt KErrL2PeerRejectedCommand

const TIntKErrL2PeerRejectedCommand[static]

L2CAP peer rejected command error code

const TInt KErrHostResNameTooLong

const TIntKErrHostResNameTooLong[static]

L2CAP host resolver name too long error code

const TInt KErrL2CAPNoMorePSMs

const TIntKErrL2CAPNoMorePSMs[static]

L2CAP no more PSMs error code

const TInt KErrL2CAPMaxTransmitExceeded

const TIntKErrL2CAPMaxTransmitExceeded[static]

L2CAP in reliable mode: the maximum L2Cap retransmissions have been made and channel will disconnect error code

const TInt KErrL2CAPDataControllerDetached

const TIntKErrL2CAPDataControllerDetached[static]

L2CAP problems (e.g. no memory) whilst sending data error code

const TInt KErrL2CAPConfigPending

const TIntKErrL2CAPConfigPending[static]

L2CAP configuration is in progress error code

const TInt KErrL2CAPConfigAlreadyInProgress

const TIntKErrL2CAPConfigAlreadyInProgress[static]

L2CAP attempt to alter config whilst configuration is in progress error code

const TInt KErrL2CAPNoFreeCID

const TIntKErrL2CAPNoFreeCID[static]

L2CAP no more channel IDs available error code

const TInt KErrL2CAPPeerDoesNotSupportRequestedChannelMode

const TIntKErrL2CAPPeerDoesNotSupportRequestedChannelMode[static]

L2CAP peer doesn't support channel modes satisfying requested channel configuration.

const TInt KErrL2CAPInvalidPacketSequenceNumber

const TIntKErrL2CAPInvalidPacketSequenceNumber[static]

L2CAP packet with an invalid sequence number was received

const TInt KErrL2CAPInvalidAcknowledgementNumber

const TIntKErrL2CAPInvalidAcknowledgementNumber[static]

L2CAP invalid acknowledgment number was received

const TInt KErrL2CAPIllegalRemoteBehavior

const TIntKErrL2CAPIllegalRemoteBehavior[static]

L2CAP remote broke the L2CAP specification

const TInt KErrL2CAPNegotiatedDifferentModesForEachDirection

const TIntKErrL2CAPNegotiatedDifferentModesForEachDirection[static]

L2CAP different channel modes were negotiated for incoming and outgoing direction

const TInt KErrL2CAPIncomingSduSegmentationError

const TIntKErrL2CAPIncomingSduSegmentationError[static]

L2CAP received I-Frame does not match the sequence of start, continuation, end of SDU

const TInt KErrL2CAPIncomingSduTooBig

const TIntKErrL2CAPIncomingSduTooBig[static]

L2CAP received SDU size is larger than the negotiated MTU

const TInt KErrL2CAPIncomingIFrameTooSmall

const TIntKErrL2CAPIncomingIFrameTooSmall[static]

L2CAP Incoming I-Frame size is too small

const TInt KErrL2CAPIncomingIFrameTooBig

const TIntKErrL2CAPIncomingIFrameTooBig[static]

L2CAP Incoming I-Frame information payload is larger than the negotiated MPS

const TInt KErrL2CAPInvalidIncomingSFrameSize

const TIntKErrL2CAPInvalidIncomingSFrameSize[static]

L2CAP Incoming S-Frame size is incorrect

const TInt KErrL2CAPAttemptToSetMinMtuGreaterThanMtu

const TIntKErrL2CAPAttemptToSetMinMtuGreaterThanMtu[static]

L2CAP An attempt to configure minimal acceptable MTU that's larger than the preferred MTU was made

const TInt KErrL2CAPAttemptToSetMinMruGreaterThanMru

const TIntKErrL2CAPAttemptToSetMinMruGreaterThanMru[static]

L2CAP An attempt to configure minimal acceptable MRU that's larger than the preferred MRU was made

const TInt KErrHostResNoMoreResults

const TIntKErrHostResNoMoreResults[static]

Host resolver has no more results error code

const TUint KHostResInquiry

const TUintKHostResInquiry[static]

Host resolver inquiry option

const TUint KHostResName

const TUintKHostResName[static]

Host resolver name option. This is mutually exclusive with KHostResEir

const TUint KHostResIgnoreCache

const TUintKHostResIgnoreCache[static]

A way of ignoring the cache

const TUint KHostResCache

const TUintKHostResCache[static]

A way to get CoD from cache

const TUint KHostResEir

const TUintKHostResEir[static]

Host resolver Eir option. This is mutually exclusive with KHostResName

const TInt KL2CAPEchoRequestIoctl

const TIntKL2CAPEchoRequestIoctl[static]

Echo Request Ioctl name

const TInt KL2CAPIncomingMTUIoctl

const TIntKL2CAPIncomingMTUIoctl[static]

Change incoming MTU Ioctl name

const TInt KL2CAPOutgoingMTUIoctl

const TIntKL2CAPOutgoingMTUIoctl[static]

Change outgoing MTU Ioctl name

const TInt KL2CAPUpdateChannelConfigIoctl

const TIntKL2CAPUpdateChannelConfigIoctl[static]

Change configuration parameters Ioctl name

const TInt KL2CAPPretendIncomingSduQFull

const TIntKL2CAPPretendIncomingSduQFull[static]

Pretend incoming SDU Queue is full - internal testing only

Typedef TLMDisconnectACLBuf

typedef TPckgBuf< TLMDisconnectACLIoctl >TLMDisconnectACLBuf

Package for TLMDisconnectACLIoctl structure

const TLitC8< sizeof("1")> KDisconnectOnePhysicalLink

const TLitC8< sizeof("1")>KDisconnectOnePhysicalLink[static]

Specifes one physical link should be disconnected

const TLitC8< sizeof("A")> KDisconnectAllPhysicalLinks

const TLitC8< sizeof("A")>KDisconnectAllPhysicalLinks[static]

Specifes all physical links should be disconnected

const TLitC8< sizeof("P")> KDisconnectAllPhysicalLinksForPowerOff

const TLitC8< sizeof("P")>KDisconnectAllPhysicalLinksForPowerOff[static]

Specifes all physical links should be disconnected for power off

const TUint KLMAddSCOConnIoctl

const TUintKLMAddSCOConnIoctl[static]

Add SCO connnection Ioctl

const TUint KHCIRemoveSCOConnIoctl

const TUintKHCIRemoveSCOConnIoctl[static]

Remove SCO connection Ioctl

const TUint KHCIChangePacketTypeIoctl

const TUintKHCIChangePacketTypeIoctl[static]

Change packet types allowed Ioctl

const TUint KHCIAuthRequestIoctl

const TUintKHCIAuthRequestIoctl[static]

Request authorisation Ioctl

const TUint KHCIEncryptIoctl

const TUintKHCIEncryptIoctl[static]

Request encryption Ioctl

const TUint KHCIChangeLinkKeyIoctl

const TUintKHCIChangeLinkKeyIoctl[static]

Change link key Ioctl

const TUint KHCIMasterLinkKeyIoctl

const TUintKHCIMasterLinkKeyIoctl[static]

Master link key Ioctl

const TUint KHCIHoldModeIoctl

const TUintKHCIHoldModeIoctl[static]

Enable hold mode Ioctl

const TUint KHCISniffModeIoctl

const TUintKHCISniffModeIoctl[static]

Enable sniff mode Ioctl

const TUint KHCIExitSniffModeIoctl

const TUintKHCIExitSniffModeIoctl[static]

Exit sniff mode Ioctl

const TUint KHCIParkModeIoctl

const TUintKHCIParkModeIoctl[static]

Enable park mode Ioctl

const TUint KHCIExitParkModeIoctl

const TUintKHCIExitParkModeIoctl[static]

Exit park mode Ioctl

const TUint KHCIReadPageTimeoutIoctl

const TUintKHCIReadPageTimeoutIoctl[static]

Read page timeout Ioctl

const TUint KHCIWritePageTimeoutIoctl

const TUintKHCIWritePageTimeoutIoctl[static]

Write page timeout Ioctl

const TUint KHCIReadScanEnableIoctl

const TUintKHCIReadScanEnableIoctl[static]

Read scan enable Ioctl bt_subscribe.h

const TUint KHCIWriteScanEnableIoctl

const TUintKHCIWriteScanEnableIoctl[static]

Write scan enable Ioctl bt_subscribe.h

const TUint KHCIReadDeviceClassIoctl

const TUintKHCIReadDeviceClassIoctl[static]

Read device class Ioctl bt_subscribe.h

const TUint KHCIWriteDeviceClassIoctl

const TUintKHCIWriteDeviceClassIoctl[static]

Write device class Ioctl bt_subscribe.h

const TUint KHCIReadVoiceSettingIoctl

const TUintKHCIReadVoiceSettingIoctl[static]

Read voice settings Ioctl

const TUint KHCIWriteVoiceSettingIoctl

const TUintKHCIWriteVoiceSettingIoctl[static]

Write voice settings Ioctl

const TUint KHCIReadHoldModeActivityIoctl

const TUintKHCIReadHoldModeActivityIoctl[static]

Read hold mode activity Ioctl

const TUint KHCIWriteHoldModeActivityIoctl

const TUintKHCIWriteHoldModeActivityIoctl[static]

Write hold mode activity Ioctl

const TUint KHCILocalVersionIoctl

const TUintKHCILocalVersionIoctl[static]

Local version Ioctl

const TUint KHCILocalFeaturesIoctl

const TUintKHCILocalFeaturesIoctl[static]

Local features Ioctl

const TUint KHCICountryCodeIoctl

const TUintKHCICountryCodeIoctl[static]

Country code Ioctl

const TUint KHCILocalAddressIoctl

const TUintKHCILocalAddressIoctl[static]

Local address Ioctl bt_subscribe.h

const TUint KHCIWriteDiscoverabilityIoctl

const TUintKHCIWriteDiscoverabilityIoctl[static]

Write discoverability Ioctl bt_subscribe.h

const TUint KHCIReadDiscoverabilityIoctl

const TUintKHCIReadDiscoverabilityIoctl[static]

Read discoverability Ioctl bt_subscribe.h

const TUint KHCIReadAuthenticationEnableIoctl

const TUintKHCIReadAuthenticationEnableIoctl[static]

Read authentification enabled Ioctl

const TUint KHCIWriteAuthenticationEnableIoctl

const TUintKHCIWriteAuthenticationEnableIoctl[static]

Write authentification enabled Ioctl

Typedef THCIScanEnableBuf

typedef TPckgBuf< THCIScanEnableIoctl >THCIScanEnableBuf

Package for THCIScanEnableIoctl structure

Typedef TLMAddSCOConnectionBuf

typedef TPckgBuf< TLMAddSCOConnectionIoctl >TLMAddSCOConnectionBuf

Package for TLMAddSCOConnectionIoctl structure

Typedef THCISetEncryptionBuf

typedef TPckgBuf< THCISetEncryptionIoctl >THCISetEncryptionBuf

Package for THCISetEncryptionIoctl structure

Typedef THCIDeviceClassBuf

typedef TPckgBuf< THCIDeviceClassIoctl >THCIDeviceClassBuf

Package for THCIDeviceClassIoctl structure

Typedef THCILocalVersionBuf

typedef TPckgBuf< THCILocalVersionIoctl >THCILocalVersionBuf

Package for THCILocalVersionIoctl structure

Typedef TL2CAPPort

typedef TUint16 TL2CAPPort

Definition of a L2CAP port number type

const TL2CAPPort KL2CAPPassiveAutoBind

const TL2CAPPortKL2CAPPassiveAutoBind[static]

PSM out of the valid range used for passive auto bind operation

const TInt KRFErrorBase

const TIntKRFErrorBase[static]

RFCOMM base error code.

const TInt KErrRfcommSAPUnexpectedEvent

const TIntKErrRfcommSAPUnexpectedEvent[static]

RFCOMM unexpected event error code.

const TInt KErrRfcommAlreadyBound

const TIntKErrRfcommAlreadyBound[static]

RFCOMM SAP already bound error code.

const TInt KErrRfcommBadAddress

const TIntKErrRfcommBadAddress[static]

RFCOMM bad address error code.

const TInt KErrRfcommMTUSize

const TIntKErrRfcommMTUSize[static]

RFCOMM MTU size exceeded error code.

const TInt KErrRfcommFrameResponseTimeout

const TIntKErrRfcommFrameResponseTimeout[static]

RFCOMM frame response timeout error code.

const TInt KErrRfcommMuxRemoteDisconnect

const TIntKErrRfcommMuxRemoteDisconnect[static]

RFCOMM remote end disconnected error code.

const TInt KErrRfcommNotBound

const TIntKErrRfcommNotBound[static]

RFCOMM SAP not bound error code.

const TInt KErrRfcommParameterNegotiationFailure

const TIntKErrRfcommParameterNegotiationFailure[static]

RFCOMM parameter negotiation failure error code.

const TInt KErrRfcommNotListening

const TIntKErrRfcommNotListening[static]

RFCOMM not listening error code.

const TInt KErrRfcommNoMoreServerChannels

const TIntKErrRfcommNoMoreServerChannels[static]

RFCOMM no more server channels available error code.

const TInt KErrRfcommMuxChannelErrored

const TIntKErrRfcommMuxChannelErrored[static]

RFCOMM Mux channel errored

const TInt KRFCOMMModemStatusCmdIoctl

const TIntKRFCOMMModemStatusCmdIoctl[static]

RFCOMM status command Ioctl

const TInt KRFCOMMRemoteLineStatusCmdIoctl

const TIntKRFCOMMRemoteLineStatusCmdIoctl[static]

RFCOMM remote line status command Ioctl

const TInt KRFCOMMRemotePortNegCmdIoctl

const TIntKRFCOMMRemotePortNegCmdIoctl[static]

RFCOMM remote port negotiation command Ioctl

const TInt KRFCOMMRemotePortNegRequestIoctl

const TIntKRFCOMMRemotePortNegRequestIoctl[static]

RFCOMM remote port negotiation request Ioctl

const TInt KRFCOMMConfigChangeIndicationIoctl

const TIntKRFCOMMConfigChangeIndicationIoctl[static]

RFCOMM MSC activity Ioctl

const TInt KRFCOMMLocalPortParameter

const TIntKRFCOMMLocalPortParameter[static]

RFCOMM local port parameter option (Get + Set)

const TInt KRFCOMMGetAvailableServerChannel

const TIntKRFCOMMGetAvailableServerChannel[static]

RFCOMM Get Available server channel option (Get only)

const TInt KRFCOMMMaximumSupportedMTU

const TIntKRFCOMMMaximumSupportedMTU[static]

RFCOMM maximum supported option (Get + Set)

const TInt KRFCOMMGetDebug1

const TIntKRFCOMMGetDebug1[static]

RFCOMM debug option (Get only)

const TInt KRFCOMMGetRemoteModemStatus

const TIntKRFCOMMGetRemoteModemStatus[static]

RFCOMM remote modem status option (Get + Set)

const TInt KRFCOMMGetTransmitCredit

const TIntKRFCOMMGetTransmitCredit[static]

RFCOMM get transmit credits option

const TInt KRFCOMMGetReceiveCredit

const TIntKRFCOMMGetReceiveCredit[static]

RFCOMM get receive credits option

const TInt KRFCOMMGetReUsedCount

const TIntKRFCOMMGetReUsedCount[static]

RFCOMM get number of remote used credits option

const TInt KRFCOMMFlowTypeCBFC

const TIntKRFCOMMFlowTypeCBFC[static]

RFCOMM Credit based flow control option (Get + Set)

const TInt KRFCOMMErrOnMSC

const TIntKRFCOMMErrOnMSC[static]

RFCOMM set the value of MSC signals that will cause a disconnect error to be generated

const TUint KRFCOMMLocalModemStatus

const TUintKRFCOMMLocalModemStatus[static]

RFCOMM local modem status option (Get + Set)

const TUint KRFCOMMForgiveCBFCOverflow

const TUintKRFCOMMForgiveCBFCOverflow[static]

RFCOMM only when credit-based flow control is used. When unset (default), the remote overflowing us will cause us to disconnect. When set, we keep the connection up and process as much of the data as we can (i.e. RFCOMM becomes unreliable). (Set only)

const TInt KRFCOMMMaximumMTU

const TIntKRFCOMMMaximumMTU[static]

RFCOMM maximum optimal MTU (Get only)

const TUint8 KModemSignalFC

const TUint8KModemSignalFC[static]

RFCOMM FC signalling command mask

const TUint8 KModemSignalRTC

const TUint8KModemSignalRTC[static]

RFCOMM RTC signalling command mask

const TUint8 KModemSignalRTR

const TUint8KModemSignalRTR[static]

RFCOMM RTR signalling command mask

const TUint8 KModemSignalIC

const TUint8KModemSignalIC[static]

RFCOMM IC signalling command mask

const TUint8 KModemSignalDV

const TUint8KModemSignalDV[static]

RFCOMM DV signalling command mask

Typedef TRfcommChannel

typedef TUint8 TRfcommChannel

RFCOMM channel type definition

const TRfcommChannel KMinRfcommServerChannel

const TRfcommChannelKMinRfcommServerChannel[static]

Minimum RFCOMM server channel value

const TRfcommChannel KMaxRfcommServerChannel

const TRfcommChannelKMaxRfcommServerChannel[static]

Maximum RFCOMM server channel value

const TRfcommChannel KRfcommPassiveAutoBind

const TRfcommChannelKRfcommPassiveAutoBind[static]

Channel value out of the valid range used for passive auto bind.

const TUint KBTSync64KBit

const TUintKBTSync64KBit[static]

eSCO 64Kbit link utility constant.