TBTSyncPackets Class Reference

class TBTSyncPackets

Class to represent a set of synchronous packet types (SCO and eSCO on v1.2). This differs from TBTSyncPacketTypes as it is the interface used by CBluetoothSynchronousLink in order to detect the difference between a pre and post eSCO caller. This is necessary as HV1 packets in the SCO numbering clash with EV5 packets in the sync numbering.

Public Member Functions
TBTSyncPackets ( TBTSyncPacketTypes )
IMPORT_C TBTSyncPacketTypes operator() ()
Public Member Enumerations
enum TSyncPackets {
ESyncPacketsHV1  = 0x10001, ESyncPacketsHV2  = 0x10002, ESyncPacketsHV3  = 0x10004, ESyncPacketsEV3  = 0x20008, ESyncPacketsEV4  = 0x20010, ESyncPacketsEV5  = 0x20020, ESyncAnySCOPacket  = ESyncPacketsHV1 | ESyncPacketsHV2 | ESyncPacketsHV3, ESyncAnyESCOPacket  = ESyncPacketsEV3 | ESyncPacketsEV4 | ESyncPacketsEV5
}
Private Attributes
TUint32 iPacketTypes
TUint32 iPadding1
TUint32 iPadding2

Constructor & Destructor Documentation

TBTSyncPackets(TBTSyncPacketTypes)

IMPORT_C TBTSyncPackets ( TBTSyncPacketTypes aPackets ) [explicit]

Parameters

TBTSyncPacketTypes aPackets

Member Functions Documentation

operator()()

IMPORT_C TBTSyncPacketTypes operator() ( ) const

Member Enumerations Documentation

Enum TSyncPackets

Individual synchronous packet types. TBTSyncPacketTypes

Enumerators

ESyncPacketsHV1 = 0x10001
ESyncPacketsHV2 = 0x10002
ESyncPacketsHV3 = 0x10004
ESyncPacketsEV3 = 0x20008
ESyncPacketsEV4 = 0x20010
ESyncPacketsEV5 = 0x20020
ESyncAnySCOPacket = ESyncPacketsHV1 | ESyncPacketsHV2 | ESyncPacketsHV3
ESyncAnyESCOPacket = ESyncPacketsEV3 | ESyncPacketsEV4 | ESyncPacketsEV5

Member Data Documentation

TUint32 iPacketTypes

TUint32 iPacketTypes [private]

TUint32 iPadding1

TUint32 iPadding1 [private]

TUint32 iPadding2

TUint32 iPadding2 [private]