|
| #define | MAX_MESSAGES |
| |
| #define | MSG_DATA_LEN 48 /* Maximum size of message payload */ |
| |
| #define | MSG_LEN 64 /* Size of a message */ |
| |
| #define | CMPID 0 /* Loader message process ID */ |
| |
| #define | CEPID 64 /* Firmware message process ID */ |
| |
| #define | IS_CM_MESSAGE(mesg, tx, cx, dx) |
| |
| #define | IS_CE_MESSAGE(mesg, tx, cx, dx) |
| |
| #define | cmReqType1 1 |
| |
| #define | cmReqType2 2 |
| |
| #define | cmRspType0 0 |
| |
| #define | cmRspType1 1 |
| |
| #define | cmRspType2 2 |
| |
| #define | cmRspType5 5 |
| |
| #define | cmReqClass0 0 |
| |
| #define | cmRspClass0 0 |
| |
| #define | cmReqHWConfig 1 /* 1,0,1 */ |
| |
| #define | cmReqMsgLpbk 2 /* 1,0,2 */ |
| |
| #define | cmReqVersion 3 /* 1,0,3 */ |
| |
| #define | cmReqLoadProc 1 /* 2,0,1 */ |
| |
| #define | cmReqStartProc 2 /* 2,0,2 */ |
| |
| #define | cmReqReadMem 6 /* 2,0,6 */ |
| |
| #define | cmRspHWConfig cmReqHWConfig |
| |
| #define | cmRspMsgLpbk cmReqMsgLpbk |
| |
| #define | cmRspVersion cmReqVersion |
| |
| #define | cmRspLoadProc cmReqLoadProc |
| |
| #define | cmRspStartProc cmReqStartProc |
| |
| #define | cmRspReadMem cmReqReadMem |
| |
| #define | cmRspMiscEngineUp 1 /* 5,0,1 */ |
| |
| #define | cmRspInvalid 0 /* 0,0,0 */ |
| |
| #define | ceReqTypePhy 1 |
| |
| #define | ceReqTypeLnk 2 |
| |
| #define | ceReqTypeCall 3 |
| |
| #define | ceReqTypeStat 1 |
| |
| #define | ceRspTypeErr 0 |
| |
| #define | ceRspTypePhy ceReqTypePhy |
| |
| #define | ceRspTypeLnk ceReqTypeLnk |
| |
| #define | ceRspTypeCall ceReqTypeCall |
| |
| #define | ceRspTypeStat ceReqTypeStat |
| |
| #define | ceReqClass0 0 |
| |
| #define | ceReqClass1 1 |
| |
| #define | ceReqClass2 2 |
| |
| #define | ceReqClass3 3 |
| |
| #define | ceRspClass0 ceReqClass0 |
| |
| #define | ceRspClass1 ceReqClass1 |
| |
| #define | ceRspClass2 ceReqClass2 |
| |
| #define | ceRspClass3 ceReqClass3 |
| |
| #define | ceReqPhyProcInfo 1 /* 1,0,1 */ |
| |
| #define | ceReqPhyConnect 1 /* 1,1,1 */ |
| |
| #define | ceReqPhyDisconnect 2 /* 1,1,2 */ |
| |
| #define | ceReqPhySetParams 3 /* 1,1,3 (P) */ |
| |
| #define | ceReqPhyGetParams 4 /* 1,1,4 (P) */ |
| |
| #define | ceReqPhyStatus 1 /* 1,2,1 */ |
| |
| #define | ceReqPhyAcfaStatus 2 /* 1,2,2 (P) */ |
| |
| #define | ceReqPhyChCallState 3 /* 1,2,3 (P) */ |
| |
| #define | ceReqPhyChServState 4 /* 1,2,4 (P) */ |
| |
| #define | ceReqPhyRLoopBack 1 /* 1,3,1 */ |
| |
| #define | ceRspPhyProcInfo ceReqPhyProcInfo |
| |
| #define | ceRspPhyConnect ceReqPhyConnect |
| |
| #define | ceRspPhyDisconnect ceReqPhyDisconnect |
| |
| #define | ceRspPhySetParams ceReqPhySetParams |
| |
| #define | ceRspPhyGetParams ceReqPhyGetParams |
| |
| #define | ceRspPhyStatus ceReqPhyStatus |
| |
| #define | ceRspPhyAcfaStatus ceReqPhyAcfaStatus |
| |
| #define | ceRspPhyChCallState ceReqPhyChCallState |
| |
| #define | ceRspPhyChServState ceReqPhyChServState |
| |
| #define | ceRspPhyRLoopBack ceReqphyRLoopBack |
| |
| #define | ceReqLnkSetParam 1 /* 2,0,1 */ |
| |
| #define | ceReqLnkGetParam 2 /* 2,0,2 */ |
| |
| #define | ceReqLnkGetStats 3 /* 2,0,3 */ |
| |
| #define | ceReqLnkWrite 1 /* 2,1,1 */ |
| |
| #define | ceReqLnkRead 2 /* 2,1,2 */ |
| |
| #define | ceReqLnkFlush 3 /* 2,1,3 */ |
| |
| #define | ceReqLnkWrBufTrc 4 /* 2,1,4 */ |
| |
| #define | ceReqLnkRdBufTrc 5 /* 2,1,5 */ |
| |
| #define | ceRspLnkSetParam ceReqLnkSetParam |
| |
| #define | ceRspLnkGetParam ceReqLnkGetParam |
| |
| #define | ceRspLnkGetStats ceReqLnkGetStats |
| |
| #define | ceRspLnkWrite ceReqLnkWrite |
| |
| #define | ceRspLnkRead ceReqLnkRead |
| |
| #define | ceRspLnkFlush ceReqLnkFlush |
| |
| #define | ceRspLnkWrBufTrc ceReqLnkWrBufTrc |
| |
| #define | ceRspLnkRdBufTrc ceReqLnkRdBufTrc |
| |
| #define | ceReqCallSetSwitchType 1 /* 3,0,1 */ |
| |
| #define | ceReqCallGetSwitchType 2 /* 3,0,2 */ |
| |
| #define | ceReqCallSetFrameFormat 3 /* 3,0,3 */ |
| |
| #define | ceReqCallGetFrameFormat 4 /* 3,0,4 */ |
| |
| #define | ceReqCallSetCallType 5 /* 3,0,5 */ |
| |
| #define | ceReqCallGetCallType 6 /* 3,0,6 */ |
| |
| #define | ceReqCallSetSPID 7 /* 3,0,7 (!P) */ |
| |
| #define | ceReqCallGetSPID 8 /* 3,0,8 (!P) */ |
| |
| #define | ceReqCallSetMyNumber 9 /* 3,0,9 (!P) */ |
| |
| #define | ceReqCallGetMyNumber 10 /* 3,0,10 (!P) */ |
| |
| #define | ceRspCallSetSwitchType ceReqCallSetSwitchType |
| |
| #define | ceRspCallGetSwitchType ceReqCallSetSwitchType |
| |
| #define | ceRspCallSetFrameFormat ceReqCallSetFrameFormat |
| |
| #define | ceRspCallGetFrameFormat ceReqCallGetFrameFormat |
| |
| #define | ceRspCallSetCallType ceReqCallSetCallType |
| |
| #define | ceRspCallGetCallType ceReqCallGetCallType |
| |
| #define | ceRspCallSetSPID ceReqCallSetSPID |
| |
| #define | ceRspCallGetSPID ceReqCallGetSPID |
| |
| #define | ceRspCallSetMyNumber ceReqCallSetMyNumber |
| |
| #define | ceRspCallGetMyNumber ceReqCallGetMyNumber |
| |
| #define | ceRspStatAcfaStatus 2 |
| |
| #define | ceRspStat |
| |
| #define | ceRspErrError 0 /* 0,0,0 */ |
| |
| #define | CALLTYPE_64K 0 |
| |
| #define | CALLTYPE_56K 1 |
| |
| #define | CALLTYPE_SPEECH 2 |
| |
| #define | CALLTYPE_31KHZ 3 |
| |