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

📄 dbg_mail.h

📁 SITEL的2.4G无线分机CVM的客户端PP参考程序
💻 H
📖 第 1 页 / 共 2 页
字号:

   // Test primitiver
  // Test primitiver, not part of the official interface.
  TEST_MAC_BURST_FIG31_REQ=0xf700,
  TEST_MAC_BURST_FIG31_CFM,
  TEST_MAC_TOGGLE_REQ,
  TEST_MAC_TOGGLE_CFM,
  TEST_MAC_BUILD_IDLE_SLOT_REQ,
  TEST_MAC_BUILD_IDLE_SLOT_CFM,
  TEST_MAC_ACTIVATE_REQ,
  TEST_MAC_ACTIVATE_CFM,
  TEST_MAC_DEACTIVATE_REQ,
  TEST_MAC_DEACTIVATE_CFM,

  TEST_GET_COMPILATION_TIME_REQ,
  TEST_GET_COMPILATION_TIME_CFM,

   TEST_SET_ENROLL_BIT_REQ,
   TEST_SET_ENROLL_BIT_CFM,
   TEST_CLEAR_ENROLL_BIT_REQ,
   TEST_CLEAR_ENROLL_BIT_CFM,

   TEST_ISAC_TEST_REQ=0xf800,
   TEST_ISAC_TEST_CFM=0xf801,

   TEST_CMD_REQ=0xf8fe,
   TEST_CMD_CFM=0xf8ff,

   TEST_COMMUNICATION_PING_PONG=0xff00,

   NUMBER_OF_PRIMITIVES
} ENUM16(DebugPrimitiveType);


typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
} recSendMailP0Type;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bParm1;
} recSendMailP1Type;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bParm1;
   uint8               bParm2;
} recSendMailP2Type;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bParm1;
   uint8               bParm2;
   uint8               bParm3;
} recSendMailP3Type;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bParm1;
   uint8               bParm2;
   uint8               bParm3;
   uint8               bParm4;
} recSendMailP4Type;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bParm1;
   uint8               bParm2;
   uint8               bParm3;
   uint8               bParm4;
   uint8               bParm5;
} recSendMailP5Type;

typedef struct
{
  DebugPrimitiveType   PrimitiveIdentifier;
  uint8                bData[20];
} recDataType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bProgramId;
   uint8               bTaskId;
   uint16              wAdress;
   uint8               bNumberOfBytes;
   uint8               bData[50];
} recEepromWriteDataReqType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bProgramId;
   uint8               bTaskId;
   uint16              wAdress;
   uint8               bNumberOfBytes;
} recEepromReadDataReqType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint16              wAdress;
   uint8               bNumberOfBytes;
   uint8               bData[50];
} recEepromReadDataCfmType;

/**********************************************************************/

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bProgramId;
   uint8               bTaskId;
   uint8               bDownloadData[256];
} recMailTraceDownloadOptionsReqType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bTraceCounter;
   uint8               bSender;
   uint8               bReciever;
   uint16              wLength;
   uint8               bData[1];
} recMailTraceMailIndType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bTraceCounter;
   uint8               bTaskId;
   uint16              bTimerId;
   uint16              wTimer;
} recMailTraceStartTimerIndType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bTraceCounter;
   uint8               bTaskId;
   uint16              bTimerId;
} recMailTraceStopTimerIndType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8 bTaskId;
   uint8 bLength;
   uint8 bData[1];
} recMailTraceCommentIndType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bTraceCounter;
   uint8               bChannel;
   uint8               bFrameNumber;
   uint8               bMultiFrameNumber[3];
   uint8               bCrc;
   uint8               bRssi;
   uint8               bData[6];
} recATraceMailIndType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bTraceCounter;
   uint8               bChannel;
   uint8               bFrameNumber;
   uint8               bMultiFrameNumber[3];
   uint8               bCrc;
   uint8               bRssi;
   uint8               bAfieldData[6];
   uint8               bBfieldData[32];
} recATraceBfieldMailIndType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bTraceCounter;
   uint8               bChannel;
   uint8               bFrameNumber;
   uint8               bMultiFrameNumber[3];
   uint8               bCrc;
   uint8               bRssi;
   uint8               bAfieldData[6];
   uint8               bBfieldData[80];
   uint8               bCrc2;
} recATraceBfieldDoubleMailIndType;

/**********************************************************************/

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bProgramId;
   uint8               bTaskId;
   uint8               bLength;
   uint8               bMask;
} recBmcTraceStartReqType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bTraceCounter;
   uint8               bTraceData[1];
} recBmcTraceMailIndType;

/**********************************************************************/

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bTestedTask;
   uint8               bModulTstProgramId;
   uint8               bNumberOfInterfaces;
   uint8               bInterfaces[1];
} recModulTstStartType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bLength;
   DebugPrimitiveType  LogPrimitive;
   uint8               bData[50];
} recModulTstMailType;


/**********************************************************************/

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint32              lAdress;
   uint8               bNumberOfBytes;
   uint8               bData[1];
} recMemoryWriteReqType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bProgramId;
   uint8               bTaskId;
   uint32              lAdress;
   uint8               bNumberOfBytes;
} recMemoryReadReqType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint32              lAdress;
   uint8               bNumberOfBytes;
   uint8               bData[50];
} recMemoryReadCfmType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bProgramId;
   uint8               bTaskId;
   uint32              lAdress;
   uint32              lLength;
   uint8               bValue;
} recMemoryMemsetReqType;



typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8 bTaskId;
   uint8 bLength;
   uint8 bData[1];
} recPrintfIndType;

#define TEST_SW_VERSION_SIZE 42

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               swVerBankA[TEST_SW_VERSION_SIZE];
   uint8               swVerBankB[TEST_SW_VERSION_SIZE];
} TestSwVersionCfmType;

typedef struct                             //Mailstruct for MAC_SEARCH_REQ
{                                          //APP -> MAC
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bProgramId;
   uint8               bTaskId;
   uint8               bWantedParkArr[5];
   uint8               bWantedPli;
}recTestPpMacStartReqType;

typedef struct
{
   DebugPrimitiveType PrimitiveIdentifier;
   uint8              bFreqSlot;
   uint8              bRfpiArr[5];
} recTestPpMacStartCfmType;


typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bProgramId;
   uint8               bTaskId;
} recGetCompilationTimeReqType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8 bTaskId;
   uint8 bDateArr[11];
   uint8 bTimeArr[8];
} recGetCompilationTimeCfmType;

typedef struct
{
   DebugPrimitiveType  PrimitiveIdentifier;
   uint8               bProgramId;
   uint8               bTaskId;
   uint8               bAntenna;   // 0 = PP, 1 = FP1, 2 = FP2
} recSetAntennaReqType;


typedef union
{
   DebugPrimitiveType  PrimitiveIdentifier;

   recSendMailP0Type              recSendMailP0;
   recSendMailP1Type              recSendMailP1;
   recSendMailP2Type              recSendMailP2;
   recSendMailP3Type              recSendMailP3;

   recDataType                    recData;

   // debug.
   recEepromWriteDataReqType          recEepromWriteDataReq;
   recEepromReadDataReqType           recEepromReadReqData;
   recEepromReadDataCfmType           recEepromReadDataCfm;
   recMailTraceDownloadOptionsReqType recMailTraceDownloadOptionsReq;
   recMailTraceMailIndType            recMailTraceMailInd;
   recMailTraceStartTimerIndType      recMailTraceStartTimerInd;
   recMailTraceStopTimerIndType       recMailTraceStopTimerInd;
   recMailTraceCommentIndType         recMailTraceCommentInd;
   recModulTstStartType               recModulTstStart;
   recModulTstMailType                recModulTstMail;
   recMemoryWriteReqType              recMemoryWriteReq;
   recMemoryReadReqType               recMemoryReadReq;
   recMemoryReadCfmType               recMemoryReadCfm;
   recATraceMailIndType               recATraceMailInd;
   recATraceBfieldMailIndType         recATraceBfieldMailInd;
   recATraceBfieldDoubleMailIndType   recATraceBfieldDoubleMailInd;
   recBmcTraceStartReqType            recBmcTraceStartReq;
   recBmcTraceMailIndType             recBmcTraceMailInd;
   recPrintfIndType                   recPrintfInd;
   TestSwVersionCfmType               TestSwVersionCfm;
   recTestPpMacStartReqType           recTestPpMacStartReq;
   recTestPpMacStartCfmType           recTestPpMacStartCfm;
   recGetCompilationTimeReqType       recGetCompilationTimeReq;
   recGetCompilationTimeCfmType       recGetCompilationTimeCfm;
   recSetAntennaReqType               recSetAntennaReq;
} DebugMailType;




#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -