⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hciinfoparmcmdproc.h

📁 蓝牙协议HCI层指令发送,主要用于测试HCI以下的代码及RF部分测试.
💻 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 + -