bt_sock.h File Reference

_LIT ( KRFCOMMDesC, "RFCOMM" )

_LIT(KRFCOMMDesC,
"RFCOMM"
)

Descriptor name for RFCOMM

_LIT ( KL2CAPDesC, "L2CAP" )

_LIT(KL2CAPDesC,
"L2CAP"
)

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

Enum TBTOptions

BT options.

EnumeratorValueDescription
KBTSetNoSecurityRequired0x997

Set No security required for Security Mode 4

KBTRegisterCodService0x998

Set a CoD Service bit(s)

KBTSecurityDeviceOverride0x999

Override device security

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

_LIT8 ( KDisconnectOnePhysicalLink, "1" )

_LIT8(KDisconnectOnePhysicalLink,
"1"
)

Specifes one physical link should be disconnected

_LIT8 ( KDisconnectAllPhysicalLinks, "A" )

_LIT8(KDisconnectAllPhysicalLinks,
"A"
)

Specifes all physical links should be disconnected

_LIT8 ( KDisconnectAllPhysicalLinksForPowerOff, "P" )

_LIT8(KDisconnectAllPhysicalLinksForPowerOff,
"P"
)

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

Enum THCIScanEnableIoctl

Enumerations for the four possible scan enable modes. Use Inquiry scan for discoverability and Page scan for connectability.

Use with KHCIReadScanEnableIoctl and KHCIWriteScanEnableIoctl. Deprecated

See also: bt_subscribe.h

EnumeratorValueDescription
EHCINoScansEnabled0x00

No scans enabled.

EHCIInquiryScanOnly

Inquiry scan only.

EHCIPageScanOnly

Page scan only.

EHCIInquiryAndPageScan

Both inquiry and page scan enabled.

Typedef THCIScanEnableBuf

typedef TPckgBuf< THCIScanEnableIoctl >THCIScanEnableBuf

Package for THCIScanEnableIoctl structure Deprecated

Typedef TLMAddSCOConnectionBuf

typedef TPckgBuf< TLMAddSCOConnectionIoctl >TLMAddSCOConnectionBuf

Package for DeprecatedTLMAddSCOConnectionIoctl structure

Typedef THCISetEncryptionBuf

typedef TPckgBuf< THCISetEncryptionIoctl >THCISetEncryptionBuf

Package for DeprecatedTHCISetEncryptionIoctl structure

Typedef THCIDeviceClassBuf

typedef TPckgBuf< THCIDeviceClassIoctl >THCIDeviceClassBuf

Package for DeprecatedTHCIDeviceClassIoctl structure

Typedef THCILocalVersionBuf

typedef TPckgBuf< THCILocalVersionIoctl >THCILocalVersionBuf

Package for DeprecatedTHCILocalVersionIoctl structure

Enum TBTL2CAPOptions

L2CAP Get / Set Options.

EnumeratorValueDescription
KL2CAPOutboundMTUForBestPerformance

Get the outbound MTU size taking into account both the negotiated MTU size and best use of underlying packet sizes. For example: If the default outgoing MTU of 672 has been negotiated for a L2CAP channel that is in Retransmission or Flow control mode then this GetOpt will return an outgoing MTU of 668 bytes. This allows a maximally sized SDU (which due to this adjustment will be 668 bytes) to be sent in two DH5 packets. KL2CAPOutboundMTUForBestPerformance may also be used to set the current negotiated (or to be negotiated) outbound MTU size. Note that the outbound MTU size returned when using KL2CAPOutboundMTUForBestPerformance with a GetOpt may not be the same as the outbound MTU size previously set when using KL2CAPOutboundMTUForBestPerformance with a SetOpt.

KL2CAPGetOutboundMTUKL2CAPOutboundMTUForBestPerformance

This is the legacy value for setting getting \ setting the outbound MTU size and behaves in the same way as KL2CAPOutboundMTUForBestPerformance.

See also: KL2CAPOutboundMTUForBestPerformance

KL2CAPGetDebug1

Debug Command

KL2CAPInboundMTU

Get / Set the current inbound MTU size

KL2CAPRTXTimer

Change the extended L2CAP command retransmission timeout

KL2CAPERTXTimer

Change the L2CAP command retransmission timeout

KL2CAPGetMaxOutboundMTU

Get the max outbound MTU supported by the stack

KL2CAPGetMaxInboundMTU

Get the max inbound MTU supported by the stack

KL2CAPUpdateChannelConfig

Get and Set the current configuration parameters

KL2CAPNegotiatedOutboundMTU

Get / Set the current negotiated (or to be negotiated) outbound MTU size

KL2CAPTestConfigure
KL2CAPDebugFlush
KL2CAPVersion1_2
KL2CAPHeapAlloc
KL2CAPDataPlaneConfig
KL2CAPOutboundMTUForBestPerformanceWithRestriction

This is similar to KL2CAPOutboundMTUForBestPerformance except that the caller can specify a restriction that the returned MTU shall not exceed. This is useful for layers above L2CAP that still want an optimal MTU but have their own restrictions on packet size.

KL2CAPLocalPSM

Return local PSM of the socket (only works before the socket is accepted, stack internal use only)

KL2CAPNegotiatedChannelMode

Get the negotiated L2CAP channel mode

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

NONSHARABLE_CLASS ( TL2CAPSockAddr )

NONSHARABLE_CLASS(TL2CAPSockAddr)

L2CAP Socket Address.

Use this class to specify a local or remote L2CAP connection end-point, that is Device Address and PSM/CID. When unconnected, the Port() specifies the PSM, once connected it refers to the CID.

See also: TBTSockAddr

NONSHARABLE_CLASS ( TInquirySockAddr )

NONSHARABLE_CLASS(TInquirySockAddr)

Socket address class used for inquiries.

Used to specify the inquiry request, and then filled with information about remote devices discovered through the inquiry process.

Use the BTAddr() method to extract the device address to connect to.

Note: Usage of RHostResolver class for Bluetooth protocol.

The RHostResolver class is a generic interface to host name resolution services, such as DNS, that may be provided by particular protocol modules.

The points to remember when using RHostResolver::GetByAddress(), RHostResolver::GetByName(), or RHostResolver::Next() with Bluetooth protocol are:

1) If you operate on one instance of RHostResolver you can perform only one request by calling either RHostResolver::GetByAddress() or RHostResolver::GetByName(). If these functions are called again and if there is more than one possible response for a given host name then that will be returned (The host resolving process will not start from the beginning). It is exactly as if the RHostResolve::Next() method was called.

2) In order to start resolving new hosts from the beginning using the same instance of RHostResolver, the instance must be closed and reopened again.

3) In order to perform several RHostResolver requests they should be issued on separate instances of RHostResolver (many RHostResolver instances might exist and perform requests at the same time).

4) The KHostResIgnoreCache flag is only valid when issuing RHostResolver::GetByAddress() or RHostResolver::GetByName() request for the first time.

5) As an RHostResolver is only intended to be used once, it is recommended that it be closed as soon as it is finished with as the semantics of Cancel merely indicates that one client server request should be cancelled.

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

Enum TRPNParameterMask

Remote port negotiation parameter masks

EnumeratorValueDescription
EPMBitRate0x0001

Remote port negotiation parameter masks for bit rate

EPMDataBits0x0002

Remote port negotiation parameter masks for data bits

EPMStopBit0x0004

Remote port negotiation parameter masks for stop bit

EPMParity0x0008

Remote port negotiation parameter masks for parity

EPMParityType0x0010

Remote port negotiation parameter masks for parity type

EPMXOnChar0x0020

Remote port negotiation parameter masks for on character

EPMXOffChar0x0040

Remote port negotiation parameter masks for off character

EPMXOnOffInput0x0100

Remote port negotiation parameter masks for XOn/Off input

EPMXOnOffOutput0x0200

Remote port negotiation parameter masks for XOn/Off output

EPMRTRInput0x0400

Remote port negotiation parameter masks for read to receive input

EPMRTROutput0x0800

Remote port negotiation parameter masks for read to receive output

EPMRTCInput0x1000

Remote port negotiation parameter masks for RTC input

EPMRTCOutput0x2000

Remote port negotiation parameter masks for RTC output

Enum TRPNFlowCtrlMask

Remote port negotiation flow control masks

EnumeratorValueDescription
EFCXOnOffInput0x01

Remote port negotiation flow control masks for XOn/Off input

EFCXOnOffOutput0x02

Remote port negotiation flow control masks for XOn/Off output

EFCRTRInput0x04

Remote port negotiation flow control masks for ready to receive input

EFCRTROutput0x08

Remote port negotiation flow control masks for ready to receive output

EFCRTCInput0x10

Remote port negotiation flow control masks for RTC input

EFCRTCOutput0x20

Remote port negotiation flow control masks for RTC output

Enum TRPNValidityMask

Remote port negotiation validity masks

EnumeratorValueDescription
EVMBitRate0x01

Remote port negotiation validity masks for bit rate

EVMDataBits0x02

Remote port negotiation validity masks for data bits

EVMStopBit0x04

Remote port negotiation validity masks for stop bit

EVMParity0x08

Remote port negotiation validity masks for parity

EVMFlowCtrl0x10

Remote port negotiation validity masks for flow control

EVMXOnChar0x20

Remote port negotiation validity masks for XOn charater

EVMXOffChar0x40

Remote port negotiation validity masks for XOff charater

NONSHARABLE_CLASS ( TRfcommRemotePortParams )

NONSHARABLE_CLASS(TRfcommRemotePortParams)

RF COMM remote port parameters.

NONSHARABLE_CLASS ( TRfcommRPNTransaction )

NONSHARABLE_CLASS(TRfcommRPNTransaction)

RF COMM IO control structs.

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.

NONSHARABLE_CLASS ( TRfcommSockAddr )

NONSHARABLE_CLASS(TRfcommSockAddr)

Defines the format of an Rfcomm address.

This class uses the TSockAddr data area to hold the address so that it can be passed through the ESOCK boundary. Assumes that the remote RFCOMM instance is always bound to PSM 3 on L2CAP, so there is no way of specifying another remote PSM.

See also: TBTSockAddr

NONSHARABLE_CLASS ( RBTPhysicalLinkAdapter )

NONSHARABLE_CLASS(RBTPhysicalLinkAdapter)

Class to enable modification of a physical link:

Modifications may be requested or prevented (blocked). Whilst a modification is being prevented, any request to perform that modification by this or any other RBTPhysicalLinkAdapter client will be ignored. If a low power mode is being used on the physical link, a call to prevent that low power mode will, if possible, cause the physical link to exit that low power mode. An arbitration between all RBTPhysicalLinkAdapter clients will then occur to decide whether the physical link should remain active or enter another low power mode. (If all low power modes are prevented then that arbitration will result in the physical link remaining active.)

Methods to prevent modifications begin 'Prevent...'

Methods to cancel the prevention of modification begin 'Allow...'

Requests for low power mode modifications, and notification of modifications take the form of continuously repeated requests which can be switched on or switched off.

Only one low power mode requester may active on a single RBTPhysicalLinkAdapter client at a time. If several RBTPhysicalLinkAdapter clients have differing low power mode requests active at a given moment then the priority will be: Hold Sniff Park

Methods to perform these requests start 'Activate...'

Methods to cancel these requests start 'Cancel...'

NONSHARABLE_CLASS ( CBluetoothPhysicalLinkMetrics )

NONSHARABLE_CLASS(CBluetoothPhysicalLinkMetrics)

Class to subscribe to physical link metrics

NONSHARABLE_CLASS ( CBluetoothSocket )

NONSHARABLE_CLASS(CBluetoothSocket)

This allows Bluetooth ACL socket-based services to be run.

It allows all user-plane data flow to occur, plus control-plane Bluetooth baseband modification capabilities.

For a more detailed description of RBTBaseband functionality see the class and function documentation for RBTPhysicalLinkAdapter.

This class doesn't provide the functionality to directly activate Active mode (this is implementated in class RBTPhysicalLinkAdapter.)

See also: RBTPhysicalLinkAdapter::ActivateActiveRequester() Explicit Active mode requests are made automatically when using the Automatic Sniff Requester utility provided by this class. CBluetoothSocket::SetAutomaticSniffModeRBTPhysicalLinkAdapter

KBTSync64KBit

const TUintKBTSync64KBit[static]

eSCO 64Kbit link utility constant.

NONSHARABLE_CLASS ( CBluetoothSynchronousLink )

NONSHARABLE_CLASS(CBluetoothSynchronousLink)

Provides Bluetooth SCO functionality.

This allows Bluetooth SCO (synchronous) link Connect, Disconnect, Send and Receive.

NONSHARABLE_CLASS ( CBluetoothPhysicalLinks )

NONSHARABLE_CLASS(CBluetoothPhysicalLinks)

This is used to enumerate members of piconet, and attach and remove members thereof

It may also be used for non-service dependent reads and writes.