modemTask.h 844 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef __MODEM_TASK_H__
  2. #define __MODEM_TASK_H__
  3. #include "pt.h"
  4. typedef enum
  5. {
  6. CHINA_TELECOM,//µçÐÅ
  7. CHINA_MOBILE,//Òƶ¯
  8. CHINA_UNICOM,//ÁªÍ¨
  9. CHINA_NONE//ÎÞ
  10. }YUNYINGSHANG_DEF;
  11. extern YUNYINGSHANG_DEF thisYunYingShang;
  12. extern unsigned char g_ucModemTaskEn;
  13. extern int g_iCSQ;
  14. extern char csqSendFlag;
  15. extern unsigned char modemInitReady;
  16. extern unsigned char modemInitStatus;
  17. extern char CardStatue;
  18. extern unsigned char SIMSelect;
  19. extern unsigned int TTSPlayTick;
  20. extern signed char Chargeing;
  21. void ModemLedCtl(void);
  22. void ModemATProcess(void);
  23. PT_THREAD (ptModemInitTask(struct pt *pt));
  24. void InfoTick(void);
  25. void SpeakTTSVoice(void);
  26. void InternalHeadSet(char type);
  27. void chekPipGip(char *src,char type);
  28. //char FindContentByChar( char *src,char c, char index);
  29. char *FindContentByChar( char *src,char c, char index,char *dest);
  30. #endif