»
Symbian OS v9.3 »
Symbian OS reference »
C++ component reference »
Bluetooth BLUETOOTH_USER »
bt_sock.h Global variables
bt_sock.h Global variables
const TLitC< sizeof(L"RFCOMM")/2 KRFCOMMDesC;
Description
Descriptor name for RFCOMM
const TLitC< sizeof(L"L2CAP")/2 KL2CAPDesC;
Description
Descriptor name for L2CAP
const TUint KBTAddrFamily;
Description
BT Address Family
const TUint KBTLinkManager;
Description
Protocol Number for Link Manager
const TUint KL2CAP;
Description
Protocol Number for L2CAP
const TUint KRFCOMM;
Description
Protocol Number for RFCOMM
const TUint KSDP;
Description
Protocol Number for SDP
const TUint KAVCTP;
Description
Protocol Number for AVCTP
const TInt KTCIL2CAP;
Description
Protocol Number for TCI L2CAP
const TInt KBTMajor;
Description
BT version number for major version
const TInt KBTMinor;
Description
BT version number for minor version
const TInt KBTBuild;
Description
BT version number for build version
const TUint KSolBtBlog;
Description
Logging socket option
const TUint KSolBtHCI;
Description
HCI socket option
const TUint KSolBtLM;
Description
Link Manager socket option
const TUint KSolBtL2CAP;
Description
L2CAP socket option
const TUint KSolBtRFCOMM;
Description
RFCOMM socket option
const TUint KSolBtAVCTP;
Description
AVCTP socket option
const TUint KSolBtACL;
Description
ACL socket option
const TUint KSolBtAVDTPSignalling;
Description
Decimal Value: 4118.
const TUint KSolBtAVDTPMedia;
Description
Decimal Value: 4119.
const TUint KSolBtAVDTPReporting;
Description
Decimal Value: 4120.
const TUint KSolBtAVDTPRecovery;
Description
Decimal Value: 4121.
const TUint KSolBtAVDTPInternal;
Description
Decimal Value: 4128.
const TUint KSolBtLMProxy;
Description
Link Manager Proxy socket option
const TUint KSolBtSAPBase;
Description
CBluetoothSAP handles SetOpt first
const TUint8 KSCOListenQueSize;
Description
Length of SCO listening queue
const TUint16 KL2MinMTU;
Description
BT Spec defined min. supported MTU size
const TUint16 KMaxPSM;
Description
Max L2CAP PSM value
const TUint16 KMinUserPSM;
Description
This is the minimum user PSM. Smaller PSM values are possible but are reserved for use by the Bluetooth stack only.
const TUint16 KMinPSM;
Description
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;
Description
BT ESK error code
const TInt KLinkManagerErrBase;
Description
Link manager base error value
KErrInsufficientBasebandResources
const TInt KErrInsufficientBasebandResources;
Description
Insufficient baseband resources error value
KErrProxyWriteNotAvailable
const TInt KErrProxyWriteNotAvailable;
Description
Proxy write not available error value
KErrReflexiveBluetoothLink
const TInt KErrReflexiveBluetoothLink;
Description
Reflexive BT link error value
const TInt KErrPendingPhysicalLink;
Description
Physical link connection already pending when trying to connect the physical link
const TInt KL2CAPErrBase;
Description
Base error value for L2CAP error codes
const TInt KErrBadAddress;
Description
L2CAP Bad address error code
const TInt KErrSAPUnexpectedEvent;
Description
L2CAP unexpected SAP event error code
const TInt KErrBadPacketReceived;
Description
L2CAP bad packet received error code
const TInt KErrL2CAPBadResponse;
Description
L2CAP bad response error code
const TInt KErrHCIConnectFailed;
Description
L2CAP HCI connection failed error code
const TInt KErrHCILinkDisconnection;
Description
L2CAP HCI link disconnection error code
const TInt KErrSAPNotConnected;
Description
L2CAP SAP not connected error code
const TInt KErrConfigBadParams;
Description
L2CAP bad configuration parameters error code
const TInt KErrConfigRejected;
Description
L2CAP configuration rejected error code
const TInt KErrConfigUnknownOptions;
Description
L2CAP unknown configuration options error code
const TInt KErrL2PeerDisconnected;
Description
L2CAP peer disconnected error code
KErrL2CAPAccessRequestDenied
const TInt KErrL2CAPAccessRequestDenied;
Description
L2CAP access request denied error code
const TInt KErrL2CAPRequestTimeout;
Description
L2CAP request timeout error code
KErrL2PeerRejectedCommand
const TInt KErrL2PeerRejectedCommand;
Description
L2CAP peer rejected command error code
const TInt KErrHostResNameTooLong;
Description
L2CAP host resolver name too long error code
const TInt KErrL2CAPNoMorePSMs;
Description
L2CAP no more PSMs error code
KErrL2CAPMaxTransmitExceeded
const TInt KErrL2CAPMaxTransmitExceeded;
Description
L2CAP in reliable mode: the maximum L2Cap retransmissions have been made and channel will disconnect error code
KErrL2CAPDataControllerDetached
const TInt KErrL2CAPDataControllerDetached;
Description
L2CAP problems (e.g. no memory) whilst sending data error code
KErrL2CAPConfigAlreadyInProgress
const TInt KErrL2CAPConfigAlreadyInProgress;
Description
L2CAP attempt to alter config whilst configuration is in progress error code
const TInt KErrL2CAPNoFreeCID;
Description
L2CAP no more channel IDs available error code
const TInt KErrHostResNoMoreResults;
Description
Host resolver has no more results error code
const TUint KHostResInquiry;
Description
Host resolver inquiry option
const TUint KHostResName;
Description
Host resolver name option
const TUint KHostResIgnoreCache;
Description
A way of ignoring the cache
const TUint KHostResCache;
Description
A way to get CoD from cache
const TInt KL2CAPEchoRequestIoctl;
Description
Echo Request Ioctl name
const TInt KL2CAPIncomingMTUIoctl;
Description
Change incoming MTU Ioctl name
const TInt KL2CAPOutgoingMTUIoctl;
Description
Change outgoing MTU Ioctl name
KL2CAPUpdateChannelConfigIoctl
const TInt KL2CAPUpdateChannelConfigIoctl;
Description
Change conguration parameters Ioctl name
KDefaultBasebandConnectionTimeout
const TUint KDefaultBasebandConnectionTimeout;
Description
Default baseband connection timeout (10 seconds)
KDisconnectOnePhysicalLink
const TLitC8< sizeof("1") KDisconnectOnePhysicalLink;
Description
Specifes one physical link should be disconnected
KDisconnectAllPhysicalLinks
const TLitC8< sizeof("A") KDisconnectAllPhysicalLinks;
Description
Specifes all physical links should be disconnected
const TUint KLMAddSCOConnIoctl;
Description
Add SCO connnection Ioctl
const TUint KHCIRemoveSCOConnIoctl;
Description
Remove SCO connection Ioctl
KHCIChangePacketTypeIoctl
const TUint KHCIChangePacketTypeIoctl;
Description
Change packet types allowed Ioctl
const TUint KHCIAuthRequestIoctl;
Description
Request authorisation Ioctl
const TUint KHCIEncryptIoctl;
Description
Request encryption Ioctl
const TUint KHCIChangeLinkKeyIoctl;
Description
Change link key Ioctl
const TUint KHCIMasterLinkKeyIoctl;
Description
Master link key Ioctl
const TUint KHCIHoldModeIoctl;
Description
Enable hold mode Ioctl
const TUint KHCISniffModeIoctl;
Description
Enable sniff mode Ioctl
const TUint KHCIExitSniffModeIoctl;
Description
Exit sniff mode Ioctl
const TUint KHCIParkModeIoctl;
Description
Enable park mode Ioctl
const TUint KHCIExitParkModeIoctl;
Description
Exit park mode Ioctl
const TUint KHCIReadPageTimeoutIoctl;
Description
Read page timeout Ioctl
KHCIWritePageTimeoutIoctl
const TUint KHCIWritePageTimeoutIoctl;
Description
Write page timeout Ioctl
const TUint KHCIReadScanEnableIoctl;
Description
Read scan enable Ioctl
const TUint KHCIWriteScanEnableIoctl;
Description
Write scan enable Ioctl
const TUint KHCIReadDeviceClassIoctl;
Description
Read device class Ioctl
KHCIWriteDeviceClassIoctl
const TUint KHCIWriteDeviceClassIoctl;
Description
Write device class Ioctl
KHCIReadVoiceSettingIoctl
const TUint KHCIReadVoiceSettingIoctl;
Description
Read voice settings Ioctl
KHCIWriteVoiceSettingIoctl
const TUint KHCIWriteVoiceSettingIoctl;
Description
Write voice settings Ioctl
KHCIReadHoldModeActivityIoctl
const TUint KHCIReadHoldModeActivityIoctl;
Description
Read hold mode activity Ioctl
KHCIWriteHoldModeActivityIoctl
const TUint KHCIWriteHoldModeActivityIoctl;
Description
Write hold mode activity Ioctl
const TUint KHCILocalVersionIoctl;
Description
Local version Ioctl
const TUint KHCILocalFeaturesIoctl;
Description
Local features Ioctl
const TUint KHCICountryCodeIoctl;
Description
Country code Ioctl
const TUint KHCILocalAddressIoctl;
Description
Local address Ioctl
KHCIWriteDiscoverabilityIoctl
const TUint KHCIWriteDiscoverabilityIoctl;
Description
Write discoverability Ioctl
KHCIReadDiscoverabilityIoctl
const TUint KHCIReadDiscoverabilityIoctl;
Description
Read discoverability Ioctl
KHCIReadAuthenticationEnableIoctl
const TUint KHCIReadAuthenticationEnableIoctl;
Description
Read authentification enabled Ioctl
KHCIWriteAuthenticationEnableIoctl
const TUint KHCIWriteAuthenticationEnableIoctl;
Description
Write authentification enabled Ioctl
const TL2CAPPort KL2CAPPassiveAutoBind;
Description
PSM out of the valid range used for passive auto bind operation
const TInt KRFErrorBase;
Description
RFCOMM base error code.
KErrRfcommSAPUnexpectedEvent
const TInt KErrRfcommSAPUnexpectedEvent;
Description
RFCOMM unexpected event error code.
const TInt KErrRfcommAlreadyBound;
Description
RFCOMM SAP already bound error code.
const TInt KErrRfcommBadAddress;
Description
RFCOMM bad address error code.
const TInt KErrRfcommMTUSize;
Description
RFCOMM MTU size exceeded error code.
KErrRfcommFrameResponseTimeout
const TInt KErrRfcommFrameResponseTimeout;
Description
RFCOMM frame response timeout error code.
KErrRfcommMuxRemoteDisconnect
const TInt KErrRfcommMuxRemoteDisconnect;
Description
RFCOMM remote end disconnected error code.
const TInt KErrRfcommNotBound;
Description
RFCOMM SAP not bound error code.
KErrRfcommParameterNegotiationFailure
const TInt KErrRfcommParameterNegotiationFailure;
Description
RFCOMM parameter negotiation failure error code.
const TInt KErrRfcommNotListening;
Description
RFCOMM not listening error code.
KErrRfcommNoMoreServerChannels
const TInt KErrRfcommNoMoreServerChannels;
Description
RFCOMM no more server channels available error code.
KRFCOMMModemStatusCmdIoctl
const TInt KRFCOMMModemStatusCmdIoctl;
Description
RFCOMM status command Ioctl
KRFCOMMRemoteLineStatusCmdIoctl
const TInt KRFCOMMRemoteLineStatusCmdIoctl;
Description
RFCOMM remote line status command Ioctl
KRFCOMMRemotePortNegCmdIoctl
const TInt KRFCOMMRemotePortNegCmdIoctl;
Description
RFCOMM remote port negotiation command Ioctl
KRFCOMMRemotePortNegRequestIoctl
const TInt KRFCOMMRemotePortNegRequestIoctl;
Description
RFCOMM remote port negotiation request Ioctl
KRFCOMMConfigChangeIndicationIoctl
const TInt KRFCOMMConfigChangeIndicationIoctl;
Description
RFCOMM MSC activity Ioctl
KRFCOMMLocalPortParameter
const TInt KRFCOMMLocalPortParameter;
Description
RFCOMM local port parameter option (Get + Set)
KRFCOMMGetAvailableServerChannel
const TInt KRFCOMMGetAvailableServerChannel;
Description
RFCOMM Get Available server channel option (Get only)
KRFCOMMMaximumSupportedMTU
const TInt KRFCOMMMaximumSupportedMTU;
Description
RFCOMM maximum supported option (Get + Set)
const TInt KRFCOMMGetDebug1;
Description
RFCOMM debug option (Get only)
KRFCOMMGetRemoteModemStatus
const TInt KRFCOMMGetRemoteModemStatus;
Description
RFCOMM remote modem status option (Get + Set)
const TInt KRFCOMMGetTransmitCredit;
Description
RFCOMM get transmit credits option
const TInt KRFCOMMGetReceiveCredit;
Description
RFCOMM get receive credits option
const TInt KRFCOMMGetReUsedCount;
Description
RFCOMM get number of remote used credits option
const TInt KRFCOMMFlowTypeCBFC;
Description
RFCOMM Credit based flow control option (Get + Set)
const TInt KRFCOMMErrOnMSC;
Description
RFCOMM set the value of MSC signals that will cause a disconnect error to be generated
const TUint KRFCOMMLocalModemStatus;
Description
RFCOMM local modem status option (Get + Set)
KRFCOMMForgiveCBFCOverflow
const TUint KRFCOMMForgiveCBFCOverflow;
Description
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 TUint8 KModemSignalFC;
Description
RFCOMM FC signalling command mask
const TUint8 KModemSignalRTC;
Description
RFCOMM RTC signalling command mask
const TUint8 KModemSignalRTR;
Description
RFCOMM RTR signalling command mask
const TUint8 KModemSignalIC;
Description
RFCOMM IC signalling command mask
const TUint8 KModemSignalDV;
Description
RFCOMM DV signalling command mask
const TRfcommChannel KMinRfcommServerChannel;
Description
Minimum RFCOMM server channel value
const TRfcommChannel KMaxRfcommServerChannel;
Description
Maximum RFCOMM server channel value
const TRfcommChannel KRfcommPassiveAutoBind;
Description
Channel value out of the valid range used for passive auto bind.
const TUint KBTSync64KBit;
Description
eSCO 64Kbit link utility constant.