ohpoc.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #ifndef __OHPOC_H__
  2. #define __OHPOC_H__
  3. #include "lsapi_types.h"
  4. #include "lsapi_event.h"
  5. #define OHPOC_APP_NAME "MN101"
  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 "ZZD"
  11. #define CUSTOMER_CODE 0
  12. #define ZZD_ID "123456"
  13. #define ZZD_PWD "123456"
  14. #define ZZD_IP "0.0.0.0"
  15. #define TONEFRE 880
  16. //can not be modify
  17. #define OHPOC_EVENT_BASE (LS_API_EV_BASE+100)
  18. #define OHPOC_EVENT_USB (OHPOC_EVENT_BASE+1)
  19. #define OHPOC_EVENT_KEY_NOR (OHPOC_EVENT_BASE+2)
  20. #define OHPOC_EVENT_MAIN (OHPOC_EVENT_BASE+3)
  21. #define OHPOC_EVENT_ENCODE (OHPOC_EVENT_BASE+4)
  22. char *getOhpocVersion(void);
  23. char *getOhpocModle(void);
  24. char *getOhpocCust(void);
  25. //鍏跺畠鍙敤鎺ュ彛
  26. typedef struct{
  27. unsigned short year;
  28. unsigned char month;
  29. unsigned char day;
  30. unsigned char hour;
  31. unsigned char min;
  32. unsigned char sec;
  33. }MY_CLOCK;
  34. MY_CLOCK My_Clock;
  35. char *ohpocGetIMEI(void);
  36. void ohpocGetClock(MY_CLOCK *myclock);
  37. #endif