bt_sock.h File Reference

#include <bt_sock.h>

KRFCOMMDesC

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

Descriptor name for RFCOMM

KL2CAPDesC

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

Descriptor name for L2CAP

KBTAddrFamily

const TUintKBTAddrFamily

BT Address Family

KBTLinkManager

const TUintKBTLinkManager

Protocol Number for Link Manager

KL2CAP

const TUintKL2CAP

Protocol Number for L2CAP

KRFCOMM

const TUintKRFCOMM

Protocol Number for RFCOMM

KSDP

const TUintKSDP

Protocol Number for SDP

KAVCTP

const TUintKAVCTP

Protocol Number for AVCTP

KTCIL2CAP

const TIntKTCIL2CAP

Protocol Number for TCI L2CAP

KBTMajor

const TIntKBTMajor

BT version number for major version

KBTMinor

const TIntKBTMinor

BT version number for minor version

KBTBuild

const TIntKBTBuild

BT version number for build version

KSCOListenQueSize

const TUint8KSCOListenQueSize[static]

Length of SCO listening queue

KL2MinMTU

const TUint16KL2MinMTU[static]

BT Spec defined min. supported MTU size

KMaxPSM

const TUint16KMaxPSM[static]

Max L2CAP PSM value

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.

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. Deprecated

KErrBtEskError

const TIntKErrBtEskError[static]

BT ESK error code

Typedef TBTServiceSecurityPerDeviceBuf

typedef TPckgBuf< TBTServiceSecurityPerDevice >TBTServiceSecurityPerDeviceBuf

Package definition for securty settings

KLinkManagerErrBase

const TIntKLinkManagerErrBase[static]

Link manager base error value

KErrInsufficientBasebandResources

const TIntKErrInsufficientBasebandResources[static]

Insufficient baseband resources error value

KErrProxyWriteNotAvailable

const TIntKErrProxyWriteNotAvailable[static]

Proxy write not available error value

KErrReflexiveBluetoothLink

const TIntKErrReflexiveBluetoothLink[static]

Reflexive BT link error value

KErrPendingPhysicalLink

const TIntKErrPendingPhysicalLink[static]

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

KErrRemoteDeviceIndicatedNoBonding

const TIntKErrRemoteDeviceIndicatedNoBonding[static]

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

KL2CAPErrBase

const TIntKL2CAPErrBase[static]

Base error value for L2CAP error codes

KErrBadAddress

const TIntKErrBadAddress[static]

L2CAP Bad address error code

KErrSAPUnexpectedEvent

const TIntKErrSAPUnexpectedEvent[static]

L2CAP unexpected SAP event error code

KErrBadPacketReceived

const TIntKErrBadPacketReceived[static]

L2CAP bad packet received error code

KErrL2CAPBadResponse

const TIntKErrL2CAPBadResponse[static]

L2CAP bad response error code

KErrHCIConnectFailed

const TIntKErrHCIConnectFailed[static]

L2CAP HCI connection failed error code

KErrHCILinkDisconnection

const TIntKErrHCILinkDisconnection[static]

L2CAP HCI link disconnection error code

KErrSAPNotConnected

const TIntKErrSAPNotConnected[static]

L2CAP SAP not connected error code

KErrConfigBadParams

const TIntKErrConfigBadParams[static]

L2CAP bad configuration parameters error code

KErrConfigRejected

const TIntKErrConfigRejected[static]

L2CAP configuration rejected error code

KErrConfigUnknownOptions

const TIntKErrConfigUnknownOptions[static]

L2CAP unknown configuration options error code

KErrL2PeerDisconnected

const TIntKErrL2PeerDisconnected[static]

L2CAP peer disconnected error code

KErrL2CAPAccessRequestDenied

const TIntKErrL2CAPAccessRequestDenied[static]

L2CAP access request denied error code

KErrL2CAPRequestTimeout

const TIntKErrL2CAPRequestTimeout[static]

L2CAP request timeout error code

KErrL2PeerRejectedCommand

const TIntKErrL2PeerRejectedCommand[static]

L2CAP peer rejected command error code

KErrHostResNameTooLong

const TIntKErrHostResNameTooLong[static]

L2CAP host resolver name too long error code

KErrL2CAPNoMorePSMs

const TIntKErrL2CAPNoMorePSMs[static]

L2CAP no more PSMs error code

KErrL2CAPMaxTransmitExceeded

const TIntKErrL2CAPMaxTransmitExceeded[static]

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

KErrL2CAPDataControllerDetached

const TIntKErrL2CAPDataControllerDetached[static]

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

KErrL2CAPConfigPending

const TIntKErrL2CAPConfigPending[static]

L2CAP configuration is in progress error code

KErrL2CAPConfigAlreadyInProgress

const TIntKErrL2CAPConfigAlreadyInProgress[static]

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

KErrL2CAPNoFreeCID

const TIntKErrL2CAPNoFreeCID[static]

L2CAP no more channel IDs available error code

KErrL2CAPPeerDoesNotSupportRequestedChannelMode

const TIntKErrL2CAPPeerDoesNotSupportRequestedChannelMode[static]

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

KErrL2CAPInvalidPacketSequenceNumber

const TIntKErrL2CAPInvalidPacketSequenceNumber[static]

L2CAP packet with an invalid sequence number was received

KErrL2CAPInvalidAcknowledgementNumber

const TIntKErrL2CAPInvalidAcknowledgementNumber[static]

L2CAP invalid acknowledgment number was received

KErrL2CAPIllegalRemoteBehavior

const TIntKErrL2CAPIllegalRemoteBehavior[static]

L2CAP remote broke the L2CAP specification

KErrL2CAPNegotiatedDifferentModesForEachDirection

const TIntKErrL2CAPNegotiatedDifferentModesForEachDirection[static]

L2CAP different channel modes were negotiated for incoming and outgoing direction

KErrL2CAPIncomingSduSegmentationError

const TIntKErrL2CAPIncomingSduSegmentationError[static]

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

KErrL2CAPIncomingSduTooBig

const TIntKErrL2CAPIncomingSduTooBig[static]

L2CAP received SDU size is larger than the negotiated MTU

KErrL2CAPIncomingIFrameTooSmall

const TIntKErrL2CAPIncomingIFrameTooSmall[static]

L2CAP Incoming I-Frame size is too small

KErrL2CAPIncomingIFrameTooBig

const TIntKErrL2CAPIncomingIFrameTooBig[static]

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

KErrL2CAPInvalidIncomingSFrameSize

const TIntKErrL2CAPInvalidIncomingSFrameSize[static]

L2CAP Incoming S-Frame size is incorrect

KErrL2CAPAttemptToSetMinMtuGreaterThanMtu

const TIntKErrL2CAPAttemptToSetMinMtuGreaterThanMtu[static]

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

KErrL2CAPAttemptToSetMinMruGreaterThanMru

const TIntKErrL2CAPAttemptToSetMinMruGreaterThanMru[static]

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

KErrHostResNoMoreResults

const TIntKErrHostResNoMoreResults[static]

Host resolver has no more results error code

KHostResInquiry

const TUintKHostResInquiry[static]

Host resolver inquiry option

KHostResName

const TUintKHostResName[static]

Host resolver name option. This is mutually exclusive with KHostResEir

KHostResIgnoreCache

const TUintKHostResIgnoreCache[static]

A way of ignoring the cache

KHostResCache

const TUintKHostResCache[static]

A way to get CoD from cache

KHostResEir

const TUintKHostResEir[static]

Host resolver Eir option. This is mutually exclusive with KHostResName

KL2CAPEchoRequestIoctl

const TIntKL2CAPEchoRequestIoctl[static]

Echo Request Ioctl name

KL2CAPIncomingMTUIoctl

const TIntKL2CAPIncomingMTUIoctl[static]

Change incoming MTU Ioctl name

KL2CAPOutgoingMTUIoctl

const TIntKL2CAPOutgoingMTUIoctl[static]

Change outgoing MTU Ioctl name

KL2CAPUpdateChannelConfigIoctl

const TIntKL2CAPUpdateChannelConfigIoctl[static]

Change configuration parameters Ioctl name

KL2CAPPretendIncomingSduQFull

const TIntKL2CAPPretendIncomingSduQFull[static]

Pretend incoming SDU Queue is full - internal testing only

Typedef TLMDisconnectACLBuf

typedef TPckgBuf< TLMDisconnectACLIoctl >TLMDisconnectACLBuf

Package for TLMDisconnectACLIoctl structure

KDisconnectOnePhysicalLink

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

Specifes one physical link should be disconnected

KDisconnectAllPhysicalLinks

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

Specifes all physical links should be disconnected

KDisconnectAllPhysicalLinksForPowerOff

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

Specifes all physical links should be disconnected for power off

KLMAddSCOConnIoctl

const TUintKLMAddSCOConnIoctl[static]

Add SCO connnection Ioctl Deprecated

KHCIRemoveSCOConnIoctl

const TUintKHCIRemoveSCOConnIoctl[static]

Remove SCO connection Ioctl Deprecated

KHCIChangePacketTypeIoctl

const TUintKHCIChangePacketTypeIoctl[static]

Change packet types allowed Ioctl Deprecated

KHCIAuthRequestIoctl

const TUintKHCIAuthRequestIoctl[static]

Request authorisation Ioctl Deprecated

KHCIEncryptIoctl

const TUintKHCIEncryptIoctl[static]

Request encryption Ioctl Deprecated

KHCIChangeLinkKeyIoctl

const TUintKHCIChangeLinkKeyIoctl[static]

Change link key Ioctl Deprecated

KHCIMasterLinkKeyIoctl

const TUintKHCIMasterLinkKeyIoctl[static]

Master link key Ioctl Deprecated

KHCIHoldModeIoctl

const TUintKHCIHoldModeIoctl[static]

Enable hold mode Ioctl Deprecated

KHCISniffModeIoctl

const TUintKHCISniffModeIoctl[static]

Enable sniff mode Ioctl Deprecated

KHCIExitSniffModeIoctl

const TUintKHCIExitSniffModeIoctl[static]

Exit sniff mode Ioctl Deprecated

KHCIParkModeIoctl

const TUintKHCIParkModeIoctl[static]

Enable park mode Ioctl Deprecated

KHCIExitParkModeIoctl

const TUintKHCIExitParkModeIoctl[static]

Exit park mode Ioctl Deprecated

KHCIReadPageTimeoutIoctl

const TUintKHCIReadPageTimeoutIoctl[static]

Read page timeout Ioctl Deprecated

KHCIWritePageTimeoutIoctl

const TUintKHCIWritePageTimeoutIoctl[static]

Write page timeout Ioctl Deprecated

KHCIReadScanEnableIoctl

const TUintKHCIReadScanEnableIoctl[static]

Read scan enable Ioctl Deprecated

See also: bt_subscribe.h

KHCIWriteScanEnableIoctl

const TUintKHCIWriteScanEnableIoctl[static]

Write scan enable Ioctl Deprecated

See also: bt_subscribe.h

KHCIReadDeviceClassIoctl

const TUintKHCIReadDeviceClassIoctl[static]

Read device class Ioctl Deprecated

See also: bt_subscribe.h

KHCIWriteDeviceClassIoctl

const TUintKHCIWriteDeviceClassIoctl[static]

Write device class Ioctl Deprecated

See also: bt_subscribe.h

KHCIReadVoiceSettingIoctl

const TUintKHCIReadVoiceSettingIoctl[static]

Read voice settings Ioctl Deprecated

KHCIWriteVoiceSettingIoctl

const TUintKHCIWriteVoiceSettingIoctl[static]

Write voice settings Ioctl Deprecated

KHCIReadHoldModeActivityIoctl

const TUintKHCIReadHoldModeActivityIoctl[static]

Read hold mode activity Ioctl Deprecated

KHCIWriteHoldModeActivityIoctl

const TUintKHCIWriteHoldModeActivityIoctl[static]

Write hold mode activity Ioctl Deprecated

KHCILocalVersionIoctl

const TUintKHCILocalVersionIoctl[static]

Local version Ioctl Deprecated

KHCILocalFeaturesIoctl

const TUintKHCILocalFeaturesIoctl[static]

Local features Ioctl Deprecated

KHCICountryCodeIoctl

const TUintKHCICountryCodeIoctl[static]

Country code Ioctl Deprecated

KHCILocalAddressIoctl

const TUintKHCILocalAddressIoctl[static]

Local address Ioctl Deprecated

See also: bt_subscribe.h

KHCIWriteDiscoverabilityIoctl

const TUintKHCIWriteDiscoverabilityIoctl[static]

Write discoverability Ioctl Deprecated

See also: bt_subscribe.h

KHCIReadDiscoverabilityIoctl

const TUintKHCIReadDiscoverabilityIoctl[static]

Read discoverability Ioctl Deprecated

See also: bt_subscribe.h

KHCIReadAuthenticationEnableIoctl

const TUintKHCIReadAuthenticationEnableIoctl[static]

Read authentification enabled Ioctl Deprecated

KHCIWriteAuthenticationEnableIoctl

const TUintKHCIWriteAuthenticationEnableIoctl[static]

Write authentification enabled Ioctl Deprecated

Typedef THCIScanEnableBuf

typedef TPckgBuf< THCIScanEnableIoctl >THCIScanEnableBuf

Package for THCIScanEnableIoctl structure Deprecated

Typedef TLMAddSCOConnectionBuf

typedef TPckgBuf< TLMAddSCOConnectionIoctl >TLMAddSCOConnectionBuf

Package for TLMAddSCOConnectionIoctl structure Deprecated

Typedef THCISetEncryptionBuf

typedef TPckgBuf< THCISetEncryptionIoctl >THCISetEncryptionBuf

Package for THCISetEncryptionIoctl structure Deprecated

Typedef THCIDeviceClassBuf

typedef TPckgBuf< THCIDeviceClassIoctl >THCIDeviceClassBuf

Package for THCIDeviceClassIoctl structure Deprecated

Typedef THCILocalVersionBuf

typedef TPckgBuf< THCILocalVersionIoctl >THCILocalVersionBuf

Package for THCILocalVersionIoctl structure Deprecated

Typedef TL2CAPPort

typedef TUint16 TL2CAPPort

Definition of a L2CAP port number type

KL2CAPPassiveAutoBind

const TL2CAPPortKL2CAPPassiveAutoBind[static]

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

KRFErrorBase

const TIntKRFErrorBase[static]

RFCOMM base error code.

KErrRfcommSAPUnexpectedEvent

const TIntKErrRfcommSAPUnexpectedEvent[static]

RFCOMM unexpected event error code.

KErrRfcommAlreadyBound

const TIntKErrRfcommAlreadyBound[static]

RFCOMM SAP already bound error code.

KErrRfcommBadAddress

const TIntKErrRfcommBadAddress[static]

RFCOMM bad address error code.

KErrRfcommMTUSize

const TIntKErrRfcommMTUSize[static]

RFCOMM MTU size exceeded error code.

KErrRfcommFrameResponseTimeout

const TIntKErrRfcommFrameResponseTimeout[static]

RFCOMM frame response timeout error code.

KErrRfcommMuxRemoteDisconnect

const TIntKErrRfcommMuxRemoteDisconnect[static]

RFCOMM remote end disconnected error code.

KErrRfcommNotBound

const TIntKErrRfcommNotBound[static]

RFCOMM SAP not bound error code.

KErrRfcommParameterNegotiationFailure

const TIntKErrRfcommParameterNegotiationFailure[static]

RFCOMM parameter negotiation failure error code.

KErrRfcommNotListening

const TIntKErrRfcommNotListening[static]

RFCOMM not listening error code.

KErrRfcommNoMoreServerChannels

const TIntKErrRfcommNoMoreServerChannels[static]

RFCOMM no more server channels available error code.

KErrRfcommMuxChannelErrored

const TIntKErrRfcommMuxChannelErrored[static]

RFCOMM Mux channel errored

KRFCOMMModemStatusCmdIoctl

const TIntKRFCOMMModemStatusCmdIoctl[static]

RFCOMM status command Ioctl

KRFCOMMRemoteLineStatusCmdIoctl

const TIntKRFCOMMRemoteLineStatusCmdIoctl[static]

RFCOMM remote line status command Ioctl

KRFCOMMRemotePortNegCmdIoctl

const TIntKRFCOMMRemotePortNegCmdIoctl[static]

RFCOMM remote port negotiation command Ioctl

KRFCOMMRemotePortNegRequestIoctl

const TIntKRFCOMMRemotePortNegRequestIoctl[static]

RFCOMM remote port negotiation request Ioctl

KRFCOMMConfigChangeIndicationIoctl

const TIntKRFCOMMConfigChangeIndicationIoctl[static]

RFCOMM MSC activity Ioctl

KRFCOMMLocalPortParameter

const TIntKRFCOMMLocalPortParameter[static]

RFCOMM local port parameter option (Get + Set)

KRFCOMMGetAvailableServerChannel

const TIntKRFCOMMGetAvailableServerChannel[static]

RFCOMM Get Available server channel option (Get only) Deprecated

KRFCOMMMaximumSupportedMTU

const TIntKRFCOMMMaximumSupportedMTU[static]

RFCOMM maximum supported option (Get + Set)

KRFCOMMGetDebug1

const TIntKRFCOMMGetDebug1[static]

RFCOMM debug option (Get only)

KRFCOMMGetRemoteModemStatus

const TIntKRFCOMMGetRemoteModemStatus[static]

RFCOMM remote modem status option (Get + Set)

KRFCOMMGetTransmitCredit

const TIntKRFCOMMGetTransmitCredit[static]

RFCOMM get transmit credits option

KRFCOMMGetReceiveCredit

const TIntKRFCOMMGetReceiveCredit[static]

RFCOMM get receive credits option

KRFCOMMGetReUsedCount

const TIntKRFCOMMGetReUsedCount[static]

RFCOMM get number of remote used credits option

KRFCOMMFlowTypeCBFC

const TIntKRFCOMMFlowTypeCBFC[static]

RFCOMM Credit based flow control option (Get + Set)

KRFCOMMErrOnMSC

const TIntKRFCOMMErrOnMSC[static]

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

KRFCOMMLocalModemStatus

const TUintKRFCOMMLocalModemStatus[static]

RFCOMM local modem status option (Get + Set)

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)

KRFCOMMMaximumMTU

const TIntKRFCOMMMaximumMTU[static]

RFCOMM maximum optimal MTU (Get only)

KModemSignalFC

const TUint8KModemSignalFC[static]

RFCOMM FC signalling command mask

KModemSignalRTC

const TUint8KModemSignalRTC[static]

RFCOMM RTC signalling command mask

KModemSignalRTR

const TUint8KModemSignalRTR[static]

RFCOMM RTR signalling command mask

KModemSignalIC

const TUint8KModemSignalIC[static]

RFCOMM IC signalling command mask

KModemSignalDV

const TUint8KModemSignalDV[static]

RFCOMM DV signalling command mask

Typedef TRfcommChannel

typedef TUint8 TRfcommChannel

RFCOMM channel type definition

KMinRfcommServerChannel

const TRfcommChannelKMinRfcommServerChannel[static]

Minimum RFCOMM server channel value

KMaxRfcommServerChannel

const TRfcommChannelKMaxRfcommServerChannel[static]

Maximum RFCOMM server channel value

KRfcommPassiveAutoBind

const TRfcommChannelKRfcommPassiveAutoBind[static]

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

KBTSync64KBit

const TUintKBTSync64KBit[static]

eSCO 64Kbit link utility constant.