ohpoc.h 1004 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef __OHPOC_H__
  2. #define __OHPOC_H__
  3. #include "lsapi_types.h"
  4. #include "lsapi_event.h"
  5. #define OHPOC_APP_NAME "G380"
  6. //#define OHPOC_APP_NAME "RTL-TEST"
  7. #define OHPOC_VERSION "03001" //外部OCPU 应用维护
  8. #define OHPOC_MODLE "M5700" //作为OPEN时,此值用于FOTA升级标识使用
  9. #define OHPOC_CUST OHPOC_APP_NAME //作为OPEN时,此值用于FOTA升级标识使用
  10. #define OHPOC_POC_PLATFORM "GWSD"
  11. #define CUSTOMER_CODE 0
  12. #define TONEFRE 880
  13. //can not be modify
  14. #define OHPOC_EVENT_BASE (LS_API_EV_BASE+100)
  15. #define OHPOC_EVENT_USB (OHPOC_EVENT_BASE+1)
  16. #define OHPOC_EVENT_KEY_NOR (OHPOC_EVENT_BASE+2)
  17. #define OHPOC_EVENT_MAIN (OHPOC_EVENT_BASE+3)
  18. char *getOhpocVersion(void);
  19. char *getOhpocModle(void);
  20. char *getOhpocCust(void);
  21. //其它可用接口
  22. typedef struct{
  23. unsigned short year;
  24. unsigned char month;
  25. unsigned char day;
  26. unsigned char hour;
  27. unsigned char min;
  28. unsigned char sec;
  29. }MY_CLOCK;
  30. char *ohpocGetICCID(void);
  31. char *ohpocGetIMEI(void);
  32. #endif