?? hciinfoparmcmdproc.h
字號:
//--------------------------------------------------------------- %FILH_BEG% --
//
// Project: $$ProjectName
//
// File name: HCIInfoParmCmdProc.h
//
// Author:
// Description:
//
// Revision History:
// $Log: $
//
// Rev 1.00 15 July 2000 Initial release
//
//
// Copyright (c) TelenComm Corporation 2000 - All rights reserved
//--------------------------------------------------------------- %FILH_END%
#ifndef HCI_INFO_PARM_CMD_H
#define HCI_INFO_PARM_CMD_H
//------------------------------------------------------------------------------
//
// Includes
//
//------------------------------------------------------------------------------
#include "HCIBaseCmdProc.h"
//------------------------------------------------------------------------------
//
// Types
//
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//
// Class Declarations
//
//------------------------------------------------------------------------------
class CHCIInfoParmProcessor: public virtual CHCIBaseCmdProcessor
{
private:
public:
CHCIInfoParmProcessor(){}
virtual tCmdParseStatus ParseHCICmdType(CHCI_CmdPacket& HCI_CmdPacket) = 0;
static uint8 NoOperationCommand(CHCI_CmdPacket& HCI_CmdPacket);
//struct tagHCIInfoParamFuncs
//{
static uint8 ReadLocalVersionInformation(CHCI_CmdPacket& HCI_CmdPacket);
static uint8 ReadLocalSupportedFeatures(CHCI_CmdPacket& HCI_CmdPacket);
static uint8 ReadBufferSize(CHCI_CmdPacket& HCI_CmdPacket);
static uint8 ReadCountryCode(CHCI_CmdPacket& HCI_CmdPacket);
static uint8 ReadBdAddr(CHCI_CmdPacket& HCI_CmdPacket);
//}HCIInfoParamFuncs;
static uint8 NoOperationCommandCmdRetParamProcFunc(char* pRetParams);
//struct tagHCIInfoParamFuncs
//{
static uint8 ReadLocalVersionInformationCmdRetParamProcFunc(char* pRetParams);
static uint8 ReadLocalSupportedFeaturesCmdRetParamProcFunc(char* pRetParams);
static uint8 ReadBufferSizeCmdRetParamProcFunc(char* pRetParams);
static uint8 ReadCountryCodeCmdRetParamProcFunc(char* pRetParams);
static uint8 ReadBdAddrCmdRetParamProcFunc(char* pRetParams);
static uint8 HCITestCmdType();
static tHCICommandTableItem HCICmdTable[];
//protected:
uint32 static s_NoOfCmds;
};
//------------------------------------------------------------------------------
//
// Macros
//
//------------------------------------------------------------------------------
// HCI Command Information Parameter Table
#define DECLARE_NO_OF_INFO_PARM_COMMANDS uint32 CHCIInfoParmProcessor::s_NoOfCmds = sizeof(CHCIInfoParmProcessor::HCICmdTable) / sizeof (CHCIBaseCmdProcessor::tHCICommandTableItem);
#define BEGIN_HCI_INFO_PARM_COMMAND_TABLE() struct CHCIBaseCmdProcessor::tHCICommandTableItem CHCIInfoParmProcessor::HCICmdTable[] = {
#define END_HCI_INFO_PARM_COMMAND_TABLE() }; DECLARE_NO_OF_INFO_PARM_COMMANDS;
#endif HCI_INFO_PARM_CMD_H
//------------------------------------------------------------------------------
// End of HCIInfoParmCmdProc.h
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -