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 TUint KBTAddrFamily

BT Address Family

const TUint KBTLinkManager

const TUint KBTLinkManager

Protocol Number for Link Manager

const TUint KL2CAP

const TUint KL2CAP

Protocol Number for L2CAP

const TUint KRFCOMM

const TUint KRFCOMM

Protocol Number for RFCOMM

const TUint KSDP

const TUint KSDP

Protocol Number for SDP

const TUint KAVCTP

const TUint KAVCTP

Protocol Number for AVCTP

const TInt KTCIL2CAP

const TInt KTCIL2CAP

Protocol Number for TCI L2CAP

const TInt KBTMajor

const TInt KBTMajor

BT version number for major version

const TInt KBTMinor

const TInt KBTMinor

BT version number for minor version

const TInt KBTBuild

const TInt KBTBuild

BT version number for build version

const TUint8 KSCOListenQueSize

const TUint8 KSCOListenQueSize [static]

Length of SCO listening queue

const TUint16 KL2MinMTU

const TUint16 KL2MinMTU [static]

BT Spec defined min. supported MTU size

const TUint16 KMaxPSM

const TUint16 KMaxPSM [static]

Max L2CAP PSM value

const TUint16 KMinUserPSM

const TUint16 KMinUserPSM [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 TUint16 KMinPSM [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 TInt KErrBtEskError [static]

BT ESK error code

Typedef TBTServiceSecurityPerDeviceBuf

typedef TPckgBuf < TBTServiceSecurityPerDevice > TBTServiceSecurityPerDeviceBuf

Package definition for securty settings

const TInt KLinkManagerErrBase

const TInt KLinkManagerErrBase [static]

Link manager base error value

const TInt KErrInsufficientBasebandResources

const TInt KErrInsufficientBasebandResources [static]

Insufficient baseband resources error value

const TInt KErrProxyWriteNotAvailable

const TInt KErrProxyWriteNotAvailable [static]

Proxy write not available error value

const TInt KErrReflexiveBluetoothLink

const TInt KErrReflexiveBluetoothLink [static]

Reflexive BT link error value

const TInt KErrPendingPhysicalLink

const TInt KErrPendingPhysicalLink [static]

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

const TInt KErrRemoteDeviceIndicatedNoBonding

const TInt KErrRemoteDeviceIndicatedNoBonding [static]

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

const TInt KL2CAPErrBase

const TInt KL2CAPErrBase [static]

Base error value for L2CAP error codes

const TInt KErrBadAddress

const TInt KErrBadAddress [static]

L2CAP Bad address error code

const TInt KErrSAPUnexpectedEvent

const TInt KErrSAPUnexpectedEvent [static]

L2CAP unexpected SAP event error code

const TInt KErrBadPacketReceived

const TInt KErrBadPacketReceived [static]

L2CAP bad packet received error code

const TInt KErrL2CAPBadResponse

const TInt KErrL2CAPBadResponse [static]

L2CAP bad response error code

const TInt KErrHCIConnectFailed

const TInt KErrHCIConnectFailed [static]

L2CAP HCI connection failed error code

const TInt KErrHCILinkDisconnection

const TInt KErrHCILinkDisconnection [static]

L2CAP HCI link disconnection error code

const TInt KErrSAPNotConnected

const TInt KErrSAPNotConnected [static]

L2CAP SAP not connected error code

const TInt KErrConfigBadParams

const TInt KErrConfigBadParams [static]

L2CAP bad configuration parameters error code

const TInt KErrConfigRejected

const TInt KErrConfigRejected [static]

L2CAP configuration rejected error code

const TInt KErrConfigUnknownOptions

const TInt KErrConfigUnknownOptions [static]

L2CAP unknown configuration options error code

const TInt KErrL2PeerDisconnected

const TInt KErrL2PeerDisconnected [static]

L2CAP peer disconnected error code

const TInt KErrL2CAPAccessRequestDenied

const TInt KErrL2CAPAccessRequestDenied [static]

L2CAP access request denied error code

const TInt KErrL2CAPRequestTimeout

const TInt KErrL2CAPRequestTimeout [static]

L2CAP request timeout error code

const TInt KErrL2PeerRejectedCommand

const TInt KErrL2PeerRejectedCommand [static]

L2CAP peer rejected command error code

const TInt KErrHostResNameTooLong

const TInt KErrHostResNameTooLong [static]

L2CAP host resolver name too long error code

const TInt KErrL2CAPNoMorePSMs

const TInt KErrL2CAPNoMorePSMs [static]

L2CAP no more PSMs error code

const TInt KErrL2CAPMaxTransmitExceeded

const TInt KErrL2CAPMaxTransmitExceeded [static]

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

const TInt KErrL2CAPDataControllerDetached

const TInt KErrL2CAPDataControllerDetached [static]

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

const TInt KErrL2CAPConfigPending

const TInt KErrL2CAPConfigPending [static]

L2CAP configuration is in progress error code

const TInt KErrL2CAPConfigAlreadyInProgress

const TInt KErrL2CAPConfigAlreadyInProgress [static]

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

const TInt KErrL2CAPNoFreeCID

const TInt KErrL2CAPNoFreeCID [static]

L2CAP no more channel IDs available error code

const TInt KErrL2CAPPeerDoesNotSupportRequestedChannelMode

const TInt KErrL2CAPPeerDoesNotSupportRequestedChannelMode [static]

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

const TInt KErrL2CAPInvalidPacketSequenceNumber

const TInt KErrL2CAPInvalidPacketSequenceNumber [static]

L2CAP packet with an invalid sequence number was received

const TInt KErrL2CAPInvalidAcknowledgementNumber

const TInt KErrL2CAPInvalidAcknowledgementNumber [static]

L2CAP invalid acknowledgment number was received

const TInt KErrL2CAPIllegalRemoteBehavior

const TInt KErrL2CAPIllegalRemoteBehavior [static]

L2CAP remote broke the L2CAP specification

const TInt KErrL2CAPNegotiatedDifferentModesForEachDirection

const TInt KErrL2CAPNegotiatedDifferentModesForEachDirection [static]

L2CAP different channel modes were negotiated for incoming and outgoing direction

const TInt KErrL2CAPIncomingSduSegmentationError

const TInt KErrL2CAPIncomingSduSegmentationError [static]

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

const TInt KErrL2CAPIncomingSduTooBig

const TInt KErrL2CAPIncomingSduTooBig [static]

L2CAP received SDU size is larger than the negotiated MTU

const TInt KErrL2CAPIncomingIFrameTooSmall

const TInt KErrL2CAPIncomingIFrameTooSmall [static]

L2CAP Incoming I-Frame size is too small

const TInt KErrL2CAPIncomingIFrameTooBig

const TInt KErrL2CAPIncomingIFrameTooBig [static]

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

const TInt KErrL2CAPInvalidIncomingSFrameSize

const TInt KErrL2CAPInvalidIncomingSFrameSize [static]

L2CAP Incoming S-Frame size is incorrect

const TInt KErrL2CAPAttemptToSetMinMtuGreaterThanMtu

const TInt KErrL2CAPAttemptToSetMinMtuGreaterThanMtu [static]

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

const TInt KErrL2CAPAttemptToSetMinMruGreaterThanMru

const TInt KErrL2CAPAttemptToSetMinMruGreaterThanMru [static]

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

const TInt KErrHostResNoMoreResults

const TInt KErrHostResNoMoreResults [static]

Host resolver has no more results error code

const TUint KHostResInquiry

const TUint KHostResInquiry [static]

Host resolver inquiry option

const TUint KHostResName

const TUint KHostResName [static]

Host resolver name option. This is mutually exclusive with KHostResEir

const TUint KHostResIgnoreCache

const TUint KHostResIgnoreCache [static]

A way of ignoring the cache

const TUint KHostResCache

const TUint KHostResCache [static]

A way to get CoD from cache

const TUint KHostResEir

const TUint KHostResEir [static]

Host resolver Eir option. This is mutually exclusive with KHostResName

const TInt KL2CAPEchoRequestIoctl

const TInt KL2CAPEchoRequestIoctl [static]

Echo Request Ioctl name

const TInt KL2CAPIncomingMTUIoctl

const TInt KL2CAPIncomingMTUIoctl [static]

Change incoming MTU Ioctl name

const TInt KL2CAPOutgoingMTUIoctl

const TInt KL2CAPOutgoingMTUIoctl [static]

Change outgoing MTU Ioctl name

const TInt KL2CAPUpdateChannelConfigIoctl

const TInt KL2CAPUpdateChannelConfigIoctl [static]

Change configuration parameters Ioctl name

const TInt KL2CAPPretendIncomingSduQFull

const TInt KL2CAPPretendIncomingSduQFull [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 TUint KLMAddSCOConnIoctl [static]

Add SCO connnection Ioctl

const TUint KHCIRemoveSCOConnIoctl

const TUint KHCIRemoveSCOConnIoctl [static]

Remove SCO connection Ioctl

const TUint KHCIChangePacketTypeIoctl

const TUint KHCIChangePacketTypeIoctl [static]

Change packet types allowed Ioctl

const TUint KHCIAuthRequestIoctl

const TUint KHCIAuthRequestIoctl [static]

Request authorisation Ioctl

const TUint KHCIEncryptIoctl

const TUint KHCIEncryptIoctl [static]

Request encryption Ioctl

const TUint KHCIChangeLinkKeyIoctl

const TUint KHCIChangeLinkKeyIoctl [static]

Change link key Ioctl

const TUint KHCIMasterLinkKeyIoctl

const TUint KHCIMasterLinkKeyIoctl [static]

Master link key Ioctl

const TUint KHCIHoldModeIoctl

const TUint KHCIHoldModeIoctl [static]

Enable hold mode Ioctl

const TUint KHCISniffModeIoctl

const TUint KHCISniffModeIoctl [static]

Enable sniff mode Ioctl

const TUint KHCIExitSniffModeIoctl

const TUint KHCIExitSniffModeIoctl [static]

Exit sniff mode Ioctl

const TUint KHCIParkModeIoctl

const TUint KHCIParkModeIoctl [static]

Enable park mode Ioctl

const TUint KHCIExitParkModeIoctl

const TUint KHCIExitParkModeIoctl [static]

Exit park mode Ioctl

const TUint KHCIReadPageTimeoutIoctl

const TUint KHCIReadPageTimeoutIoctl [static]

Read page timeout Ioctl

const TUint KHCIWritePageTimeoutIoctl

const TUint KHCIWritePageTimeoutIoctl [static]

Write page timeout Ioctl

const TUint KHCIReadScanEnableIoctl

const TUint KHCIReadScanEnableIoctl [static]

Read scan enable Ioctl bt_subscribe.h

const TUint KHCIWriteScanEnableIoctl

const TUint KHCIWriteScanEnableIoctl [static]

Write scan enable Ioctl bt_subscribe.h

const TUint KHCIReadDeviceClassIoctl

const TUint KHCIReadDeviceClassIoctl [static]

Read device class Ioctl bt_subscribe.h

const TUint KHCIWriteDeviceClassIoctl

const TUint KHCIWriteDeviceClassIoctl [static]

Write device class Ioctl bt_subscribe.h

const TUint KHCIReadVoiceSettingIoctl

const TUint KHCIReadVoiceSettingIoctl [static]

Read voice settings Ioctl

const TUint KHCIWriteVoiceSettingIoctl

const TUint KHCIWriteVoiceSettingIoctl [static]

Write voice settings Ioctl

const TUint KHCIReadHoldModeActivityIoctl

const TUint KHCIReadHoldModeActivityIoctl [static]

Read hold mode activity Ioctl

const TUint KHCIWriteHoldModeActivityIoctl

const TUint KHCIWriteHoldModeActivityIoctl [static]

Write hold mode activity Ioctl

const TUint KHCILocalVersionIoctl

const TUint KHCILocalVersionIoctl [static]

Local version Ioctl

const TUint KHCILocalFeaturesIoctl

const TUint KHCILocalFeaturesIoctl [static]

Local features Ioctl

const TUint KHCICountryCodeIoctl

const TUint KHCICountryCodeIoctl [static]

Country code Ioctl

const TUint KHCILocalAddressIoctl

const TUint KHCILocalAddressIoctl [static]

Local address Ioctl bt_subscribe.h

const TUint KHCIWriteDiscoverabilityIoctl

const TUint KHCIWriteDiscoverabilityIoctl [static]

Write discoverability Ioctl bt_subscribe.h

const TUint KHCIReadDiscoverabilityIoctl

const TUint KHCIReadDiscoverabilityIoctl [static]

Read discoverability Ioctl bt_subscribe.h

const TUint KHCIReadAuthenticationEnableIoctl

const TUint KHCIReadAuthenticationEnableIoctl [static]

Read authentification enabled Ioctl

const TUint KHCIWriteAuthenticationEnableIoctl

const TUint KHCIWriteAuthenticationEnableIoctl [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 TL2CAPPort KL2CAPPassiveAutoBind [static]

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

const TInt KRFErrorBase

const TInt KRFErrorBase [static]

RFCOMM base error code.

const TInt KErrRfcommSAPUnexpectedEvent

const TInt KErrRfcommSAPUnexpectedEvent [static]

RFCOMM unexpected event error code.

const TInt KErrRfcommAlreadyBound

const TInt KErrRfcommAlreadyBound [static]

RFCOMM SAP already bound error code.

const TInt KErrRfcommBadAddress

const TInt KErrRfcommBadAddress [static]

RFCOMM bad address error code.

const TInt KErrRfcommMTUSize

const TInt KErrRfcommMTUSize [static]

RFCOMM MTU size exceeded error code.

const TInt KErrRfcommFrameResponseTimeout

const TInt KErrRfcommFrameResponseTimeout [static]

RFCOMM frame response timeout error code.

const TInt KErrRfcommMuxRemoteDisconnect

const TInt KErrRfcommMuxRemoteDisconnect [static]

RFCOMM remote end disconnected error code.

const TInt KErrRfcommNotBound

const TInt KErrRfcommNotBound [static]

RFCOMM SAP not bound error code.

const TInt KErrRfcommParameterNegotiationFailure

const TInt KErrRfcommParameterNegotiationFailure [static]

RFCOMM parameter negotiation failure error code.

const TInt KErrRfcommNotListening

const TInt KErrRfcommNotListening [static]

RFCOMM not listening error code.

const TInt KErrRfcommNoMoreServerChannels

const TInt KErrRfcommNoMoreServerChannels [static]

RFCOMM no more server channels available error code.

const TInt KErrRfcommMuxChannelErrored

const TInt KErrRfcommMuxChannelErrored [static]

RFCOMM Mux channel errored

const TInt KRFCOMMModemStatusCmdIoctl

const TInt KRFCOMMModemStatusCmdIoctl [static]

RFCOMM status command Ioctl

const TInt KRFCOMMRemoteLineStatusCmdIoctl

const TInt KRFCOMMRemoteLineStatusCmdIoctl [static]

RFCOMM remote line status command Ioctl

const TInt KRFCOMMRemotePortNegCmdIoctl

const TInt KRFCOMMRemotePortNegCmdIoctl [static]

RFCOMM remote port negotiation command Ioctl

const TInt KRFCOMMRemotePortNegRequestIoctl

const TInt KRFCOMMRemotePortNegRequestIoctl [static]

RFCOMM remote port negotiation request Ioctl

const TInt KRFCOMMConfigChangeIndicationIoctl

const TInt KRFCOMMConfigChangeIndicationIoctl [static]

RFCOMM MSC activity Ioctl

const TInt KRFCOMMLocalPortParameter

const TInt KRFCOMMLocalPortParameter [static]

RFCOMM local port parameter option (Get + Set)

const TInt KRFCOMMGetAvailableServerChannel

const TInt KRFCOMMGetAvailableServerChannel [static]

RFCOMM Get Available server channel option (Get only)

const TInt KRFCOMMMaximumSupportedMTU

const TInt KRFCOMMMaximumSupportedMTU [static]

RFCOMM maximum supported option (Get + Set)

const TInt KRFCOMMGetDebug1

const TInt KRFCOMMGetDebug1 [static]

RFCOMM debug option (Get only)

const TInt KRFCOMMGetRemoteModemStatus

const TInt KRFCOMMGetRemoteModemStatus [static]

RFCOMM remote modem status option (Get + Set)

const TInt KRFCOMMGetTransmitCredit

const TInt KRFCOMMGetTransmitCredit [static]

RFCOMM get transmit credits option

const TInt KRFCOMMGetReceiveCredit

const TInt KRFCOMMGetReceiveCredit [static]

RFCOMM get receive credits option

const TInt KRFCOMMGetReUsedCount

const TInt KRFCOMMGetReUsedCount [static]

RFCOMM get number of remote used credits option

const TInt KRFCOMMFlowTypeCBFC

const TInt KRFCOMMFlowTypeCBFC [static]

RFCOMM Credit based flow control option (Get + Set)

const TInt KRFCOMMErrOnMSC

const TInt KRFCOMMErrOnMSC [static]

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

const TUint KRFCOMMLocalModemStatus

const TUint KRFCOMMLocalModemStatus [static]

RFCOMM local modem status option (Get + Set)

const TUint KRFCOMMForgiveCBFCOverflow

const TUint KRFCOMMForgiveCBFCOverflow [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 TInt KRFCOMMMaximumMTU [static]

RFCOMM maximum optimal MTU (Get only)

const TUint8 KModemSignalFC

const TUint8 KModemSignalFC [static]

RFCOMM FC signalling command mask

const TUint8 KModemSignalRTC

const TUint8 KModemSignalRTC [static]

RFCOMM RTC signalling command mask

const TUint8 KModemSignalRTR

const TUint8 KModemSignalRTR [static]

RFCOMM RTR signalling command mask

const TUint8 KModemSignalIC

const TUint8 KModemSignalIC [static]

RFCOMM IC signalling command mask

const TUint8 KModemSignalDV

const TUint8 KModemSignalDV [static]

RFCOMM DV signalling command mask

Typedef TRfcommChannel

typedef TUint8 TRfcommChannel

RFCOMM channel type definition

const TRfcommChannel KMinRfcommServerChannel

const TRfcommChannel KMinRfcommServerChannel [static]

Minimum RFCOMM server channel value

const TRfcommChannel KMaxRfcommServerChannel

const TRfcommChannel KMaxRfcommServerChannel [static]

Maximum RFCOMM server channel value

const TRfcommChannel KRfcommPassiveAutoBind

const TRfcommChannel KRfcommPassiveAutoBind [static]

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

const TUint KBTSync64KBit

const TUint KBTSync64KBit [static]

eSCO 64Kbit link utility constant.