12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #ifndef __POC_H__
- #define __POC_H__
- #define POC_GROUP_USER_NAME_LEN 36
- #define POC_ALL_USERS_NUM 5
- #define POC_ALL_GROUPS_NUM 5
- #pragma pack(push)
- #pragma pack(1)
- typedef struct{
- unsigned long ID;
- char status;
- char name[POC_GROUP_USER_NAME_LEN];
- }SUT_POC_USER;
- typedef struct{
- unsigned long ID;
- unsigned short usernum;
- char name[POC_GROUP_USER_NAME_LEN];
- unsigned char status;
- }SUT_POC_GROUP;
- typedef struct{
- unsigned char danHuStatus;//是�处�于�呼状�
- unsigned char logined;//是�已登�
- unsigned char firstLogin;//是�第一次登�
- unsigned char spk;//是�有人在说�
- unsigned char mic;//本机是�在说�
- unsigned char TTS;
- unsigned char TONE;
- unsigned char beep;
- unsigned char statusChaned;//UI说�状�是���
- unsigned char loginResult;
- SUT_POC_USER LocalUser;
- SUT_POC_GROUP LocalGroup;
- char CallName[POC_GROUP_USER_NAME_LEN];
- SUT_POC_USER AllUsers[POC_ALL_USERS_NUM];
- SUT_POC_GROUP AllGroups[POC_ALL_GROUPS_NUM];
- unsigned char handleIndex;
- unsigned char ListFillIndex;
- unsigned int ListCurOnlineNum;
- unsigned char ListUpdate;
- unsigned char ListType;
- unsigned char ListGetOneFlag;
- unsigned char ExceptionReadNum;
- unsigned char ListDetailValid;//是�有群组/�员明细回�
- unsigned char PocLineOffReason;
- }POC_DEF;
- #pragma pack(pop)
- extern POC_DEF sutPocStatus;
- void pocDataInit(void);
- void pocCmdHandler(unsigned char *msg, int len);
- void pocProCtl(int dly);
- #endif
|