123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #ifndef __OHPOC_H__
- #define __OHPOC_H__
- #include "lsapi_types.h"
- #include "lsapi_event.h"
- #define OHPOC_APP_NAME "D29V"
- //#define OHPOC_APP_NAME "RTL-TEST"
- #define OHPOC_VERSION "03012" //外部OCPU 应用维护
- #define OHPOC_MODLE "M5700" //作为OPEN时,此值用于FOTA升级标识使用
- #define OHPOC_CUST OHPOC_APP_NAME //作为OPEN时,此值用于FOTA升级标识使用
- #define OHPOC_POC_PLATFORM "ZZD"
- #define CUSTOMER_CODE 1
- #define APP_IP "47.102.100.67"
- #define APP_PROT 12301
- #define ZZD_ID "123456"
- #define ZZD_PWD "123456"
- #define ZZD_IP "0.0.0.0"
- #define TONEFRE 880
- #define USE_LEFT_MOVING
- //#define DEVELOP_MODE
- //can not be modify
- #define OHPOC_EVENT_BASE (LS_API_EV_BASE+100)
- #define OHPOC_EVENT_USB (OHPOC_EVENT_BASE+1)
- #define OHPOC_EVENT_KEY_NOR (OHPOC_EVENT_BASE+2)
- #define OHPOC_EVENT_MAIN (OHPOC_EVENT_BASE+3)
- #define OHPOC_EVENT_ENCODE (OHPOC_EVENT_BASE+4)
- #define OHPOC_EVENT_BLERING (OHPOC_EVENT_BASE+5)
- #define OHPOC_EVENT_UART1_RNE (OHPOC_EVENT_BASE+6)
- char *getOhpocVersion(void);
- char *getOhpocModle(void);
- char *getOhpocCust(void);
- //鍏跺畠鍙敤鎺ュ彛
- typedef struct{
- unsigned short year;
- unsigned char month;
- unsigned char day;
- unsigned char hour;
- unsigned char min;
- unsigned char sec;
- unsigned char week;
- }MY_CLOCK;
- MY_CLOCK My_Clock;
- char *ohpocGetIMEI(void);
- void ohpocGetClock(MY_CLOCK *myclock);
- #endif
|