Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <bttypes.h>

Typedef THCIConnHandle

typedef TUint16 THCIConnHandle;

Description

Typedef to represent a HCI connection handle.

[Top]


Typedef TBTLinkModeSet

typedef TUint32 TBTLinkModeSet;

Description

Typedef to represent a union of TBTLinkMode values.

[Top]


Typedef TBTSCOPackets

typedef TUint16 TBTSCOPackets;

Description

Typedef to represent a set of SCO packet types.

[Top]


Typedef TBTACLPackets

typedef TUint16 TBTACLPackets;

Description

Typedef to represent a set of ACL packet types.

[Top]


Typedef TBTSyncPacketTypes

typedef TUint32 TBTSyncPacketTypes;

Description

Typedef to represent a set of synchronous packet types (SCO and eSCO on v1.2).

[Top]


Typedef TBTLinkKey

typedef TPckgBuf<TLinkKeyV10> TBTLinkKey;

Description

Typedef'ed TPckgBufTPckgBuf of the class TLinkKeyV10TLinkKeyV10.

[Top]


Typedef TBTPinCode

typedef TPckgBuf<TPINCodeV10> TBTPinCode;

Description

Typedef'ed TPckgBufTPckgBuf of the class TPINCodeV10TPINCodeV10.

[Top]


Typedef TBTBasebandEvent

typedef TPckgBuf<TBTBasebandEventNotification> TBTBasebandEvent;

Description

Typedef'ed pckgbuf of the class TBTBasebandEventNotificationTBTBasebandEventNotification.

[Top]


Typedef TL2CapConfigPkg

typedef TPckgBuf<TL2CapConfig> TL2CapConfigPkg;

Description

Typedef to represent a L2CAP Config object.

[Top]


Enum TBTBasebandRole

TBTBasebandRole

Description

Bluetooth SIG specified values for specification of (piconet) role.

EMaster

Master role

ESlave

Slave role

ERoleUnknown

Unknown role

[Top]


Enum TBTLinkMode

TBTLinkMode

Description

Bluetooth SIG specified values for indicating link modes.

EActiveMode

Active mode

EHoldMode

Hold mode

ESniffMode

Sniff mode

EParkMode

Park mode

EScatterMode

Scatter mode

[Top]


Enum TBTLinkModeCombinations

TBTLinkModeCombinations

Description

Bitmask values to help request combinations of link modes.

EAnyLowPowerMode

Any low power mode

[Top]


Enum TBTPacketType

TBTPacketType

Description

Bluetooth SIG specified values for indicating packet types.

DM1, DH1, DM3, DH3, DM5, DH5 are ACL packet types HV1, HV2, HV3 are SCO (synchronous link) packet types

EPacketsDM1

DM1 ACL packet type

EPacketsDH1

DH1 ACL packet type

EPacketsDM3

DM3 ACL packet type

EPacketsDH3

DH3 ACL packet type

EPacketsDM5

DM5 ACL packet type

EPacketsDH5

DH5 ACL packet type

EPackets2_DH1

2-DH1 ACL packet type

EPackets3_DH1

3-DH1 ACL packet type

EPackets2_DH3

2-DH3 ACL packet type

EPackets3_DH3

3-DH3 ACL packet type

EPackets2_DH5

2-DH5 ACL packet type

EPackets3_DH5

3-DH5 ACL packet type

EPacketsHV1

HV1 SCO packet type

EPacketsHV2

HV2 SCO packet type

EPacketsHV3

HV3 SCO packet type

[Top]


Enum TBTPacketTypeCombinations

TBTPacketTypeCombinations

Description

Bitmask values to help request combinations of packets.

EAnyACLPacket

Any ACL packet

EAnyNonEdrACLPacket

Any Non-EDR ACL packet

EAnySCOPacket

Any SCO packet

EAnyPacket

Any packet

[Top]


Enum TBTeSCORetransmissionTypes

TBTeSCORetransmissionTypes

Description

eSCO links can have different retransmission options, optimised for link usage, power or reliability.

See also:

EeSCORetransmitNone

EeSCORetransmitPower

EeSCORetransmitReliability

EeSCORetransmitDontCare

[Top]


Enum TBTSupportedFeatures

TBTSupportedFeatures

Description

Bluetooth SIG specified values indicating whether a device is physically able to support a baseband (or link manager protocol) feature

ESupportedThreeSlotPackets

Three slot packets are supported

ESupportedFiveSlotPackets

Five slot packets are supported

ESupportedEncryption

Encryption is supported

ESupportedSlotOffset

Slot offset is supported

ESupportedTimingAccuracy

Timing accuracy is supported

ESupportedSwitch

Role switch is supported

ESupportedHoldMode

Hold mode is supported

ESupportedSniffMode

Sniff mode is supported

ESupportedParkMode

Park mode is supported

ESupportedRSSI

Receive signal strength indication is supported

ESupportedChannelQualityDrivenDataRate

Channel quality driven data rate is supported

ESupportedSCOLink

SCO links are supported

ESupportedHV2Packets

HV2 packets are supported

ESupportedHV3Packets

HV3 packets are supported

ESupportedu_lawLog

SCO u-law encoding is supported

ESupportedA_lawLog

SCO A-law encoding is supported

ESupportedCVSD

SCO Continuously variable slope delta modulation is supported

ESupportedPagingScheme

Paging scheme is supported

ESupportedPowerControl

Power control is supported

ESupportedTransparentSCOData

Transparent SCO data is supported

ESupportedFlowControlLagBit0

Flow control lag bit 0 is supported

ESupportedFlowControlLagBit1

Flow control lag bit 1 is supported

ESupportedFlowControlLagBit2

Flow control lag bit 2 is supported

[Top]


Enum TBTPhysicalLinkStateNotifier

TBTPhysicalLinkStateNotifier

Description

Bitmask values for notifying/requesting notification of the state of a physical link.

These values have a two fold purpose: 1) They can be used along with TBTPhysicalLinkStateNotifierCombinations to specify a set of baseband change events for which notification is desired. 2) They can be used to notify the state of a physical link or a subset of that state. For example if only mode change events are being monitored, then at each mode change event only the bit reperesenting the new mode will be returned, however if the whole link state is required, then a combination of bit values indicating that state will be returned.

THESE BIT VALUES MUST ONLY BE USED WHEN REQUESTING NOTIFICATION, OR WHEN PARSING THE RESULTS OF A NOTIFICATION. All other baseband state activities should use one of the appropriate Bluetooth SIG specified enums

ENotifyMaster

Master

ENotifySlave

Slave

ENotifyActiveMode

Active mode

ENotifySniffMode

Sniff mode

ENotifyParkMode

Park mode

ENotifyHoldMode

Hold mode

ENotifyMaxSlots1

Max slots 1

ENotifyMaxSlots3

Max slots 3

ENotifyMaxSlots5

Max slots 5

ENotifyPacketsDM1

Packets DM1

ENotifyPacketsDH1

Packets DH1

ENotifyPacketsDM3

Packets DM3

ENotifyPacketsDH3

Packets DH3

ENotifyPacketsDM5

Packets DM5

ENotifyPacketsDH5

Packets DH5

ENotifyPacketsHV1

HV1

ENotifyPacketsHV2

HV2

ENotifyPacketsHV3

HV3

ENotifyAuthenticationComplete

Authentication Complete

ENotifyEncryptionChangeOn

Encryption Change On

ENotifyEncryptionChangeOff

Encryption Change Off

ENotifyPhysicalLinkUp

Physical Link Up

ENotifyPhysicalLinkDown

Physical Link Down

ENotifyPhysicalLinkError

Physical Link Error

ENotifySynchronousLinkUp

Synchronous Link Up

ENotifySynchronousLinkDown

Synchronous Link Down

ENotifySynchronousLinkError

Synchronous Link Error

ENotifySCOLinkUp

ENotifySCOLinkDown

ENotifySCOLinkError

[Top]


Enum TBTPhysicalLinkStateNotifierCombinations

TBTPhysicalLinkStateNotifierCombinations

Description

Bitmask values to help request notification of the state of a physical link.

See also:

ENotifyAnyRole

ENotifyAnyLowPowerMode

ENotifyAnyPowerMode

ENotifyAnyMaxSlots

ENotifyAnyACLPacketType

ENotifyAnySCOPacketType

ENotifyAnyPacketType

ENotifyAnyPhysicalLinkState

[Top]


Enum TBTLinkKeyType

TBTLinkKeyType

Description

The type of a link key with a remote device

ELinkKeyCombination

this key has been generated with pairing with pre-v2.1 Bluetooth devices.

ELinkKeyUnauthenticatedUpgradable

this key hasn't yet been tried with MITM protection

ELinkKeyUnauthenticatedNonUpgradable

this key tried MITM protection; remote device incapable

ELinkKeyAuthenticated

this key authenticated with MITM protection

ELinkKeyDebug

this key has been generated when in simple pairing debug mode


bttypes.h Global variables

[Top]


KMinESCOLatency

const TInt KMinESCOLatency=4;

Description

Minimum eSCO connection latency in milliseconds. Attempts to specify less than this will be silently increased to this level.

[Top]


KSCOvsSyncHVOffset

Interface status: deprecated

const TInt KSCOvsSyncHVOffset=5;

Description

This constant is no longer needed to translate the SCO mapping of HV packet types to Synchronous because CBluetoothSynchronousLink::SetupConnection(const TBTDevAddr &,const TUint16) adjusts aPacketTypes internally on behalf of clients.

[Top]


KESCOBandwidthDontCare

const TUint32 KESCOBandwidthDontCare=KMaxTUint32;

Description

eSCO unspecified bandwidth. This value can only be used by the accepting side of an eSCO link, to allow any bandwidth to be specified by the initiator. Otherwise both sides of the link must agree on the same bandwidth.

See also:

[Top]


KSdpUUIDMaxLength

const TInt KSdpUUIDMaxLength=16;

Description

The maximum length of an SDP UUID.

[Top]


KBTDevAddrSize

const TInt KBTDevAddrSize=0x06;

Description

The size of a bluetooth device address in bytes.

[Top]


KBTMaxDevAddrSize

const TInt KBTMaxDevAddrSize=KBTDevAddrSize;

Description

The size of a bluetooth device address in bytes.

[Top]


KHCILinkKeySize

const TUint8 KHCILinkKeySize=16;

Description

The size of a link key, in bytes.

[Top]


KHCIPINCodeSize

const TUint8 KHCIPINCodeSize=16;

Description

The size of a pin code, in bytes.

[Top]


KGIAC

const TUint KGIAC=0x9e8b33;

Description

General Unlimited Inquiry Access Code

[Top]


KLIAC

const TUint KLIAC=0x9e8b00;

Description

Limited Inquiry Access Code