1234567891011121314151617 |
- #ifndef __OHPOC_H__
- #define __OHPOC_H__
- #include "stdbool.h"
- #define OHPOC_VERSION 2000
- #define OHPOC_MODLE "N58"
- #define OHPOC_CUST "ZT"
- //can not be modify
- #define OHPOC_EVENT_BASE (5000+100)
- typedef void(*OHPOC_MSG_Callback)(unsigned char *msg, int len);
- bool ohpocInit(OHPOC_MSG_Callback msgCallback);
- void ohpoc_msg_send(unsigned char *msg, unsigned short len);
- #endif
|