ReactOS  0.4.15-dev-1397-g19779b3
fbtHciRoundTrip.h
Go to the documentation of this file.
1 #ifndef _ROUND_TRIP_HCI_H_
2 #define _ROUND_TRIP_HCI_H_
3 
4 #include "fbtHciLocal.h"
5 
6 // Complete round trip HCI abstraction
7 // 1. Send Command
8 // 2. Wait for Command status / Command complete
9 // 3. Wait fo event
10 class CHciRoundTrip : public CHciLocal
11 {
12 public:
13 
14  CHciRoundTrip();
15  virtual ~CHciRoundTrip();
16 
17  virtual DWORD QueueEvent(BYTE EventCode, LPVOID pParameters, DWORD dwParameterLength);
18  virtual DWORD WaitForEvent();
19 
21 
22  virtual DWORD ReadBDADDR(BYTE *BDADDR);
23  virtual DWORD ReadClassOfDevice(BYTE *ClassOfDevice);
24  virtual DWORD ReadLocalName(BYTE *Name);
26  USHORT PacketType,
27  BYTE PageScanRepetitionMode,
28  BYTE PageScanMode,
29  USHORT ClockOffset,
30  BYTE AllowRoleSwitch,
32 
33  virtual DWORD Disconnect(USHORT ConnectionHandler, BYTE Reason);
34  virtual DWORD SwitchRole(BYTE BD_ADDR[FBT_HCI_BDADDR_SIZE], BYTE Role);
36  BYTE PageScanRepetitionMode,
37  BYTE PageScanMode,
38  USHORT ClockOffset,
40 
41 protected:
45 
47 
48 };
49 
50 
51 #endif // _ROUND_TRIP_HCI_H_
virtual ~CHciRoundTrip()
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
_In_ NDIS_STATUS EventCode
Definition: ndis.h:4751
#define FBT_HCI_NAME_SIZE
Definition: fbtHciSizes.h:14
virtual DWORD ReadClassOfDevice(BYTE *ClassOfDevice)
virtual DWORD ReadLocalName(BYTE *Name)
virtual DWORD QueueEvent(BYTE EventCode, LPVOID pParameters, DWORD dwParameterLength)
virtual DWORD CreateConnection(BYTE BD_ADDR[FBT_HCI_BDADDR_SIZE], USHORT PacketType, BYTE PageScanRepetitionMode, BYTE PageScanMode, USHORT ClockOffset, BYTE AllowRoleSwitch, USHORT &ConnectionHandle)
virtual DWORD OnEvent(PFBT_HCI_EVENT_HEADER pEvent, DWORD Length)
virtual DWORD SwitchRole(BYTE BD_ADDR[FBT_HCI_BDADDR_SIZE], BYTE Role)
virtual DWORD RemoteNameRequest(BYTE BD_ADDR[FBT_HCI_BDADDR_SIZE], BYTE PageScanRepetitionMode, BYTE PageScanMode, USHORT ClockOffset, BYTE Name[FBT_HCI_NAME_SIZE])
#define FBT_HCI_BDADDR_SIZE
Definition: fbtHciSizes.h:13
virtual DWORD ReadBDADDR(BYTE *BDADDR)
unsigned long DWORD
Definition: ntddk_ex.h:95
HANDLE m_hEventSignal
LPVOID m_pEventParameters
unsigned char BYTE
Definition: xxhash.c:193
unsigned short USHORT
Definition: pedump.c:61
virtual DWORD Disconnect(USHORT ConnectionHandler, BYTE Reason)
_In_ PKSPIN_CONNECT _In_ ACCESS_MASK _Out_ PHANDLE ConnectionHandle
Definition: ks.h:4536
PVOID PVOID PWCHAR PVOID USHORT PULONG Reason
Definition: env.c:45
DWORD m_dwEventParameterLength
virtual DWORD WaitForEvent()