ohpoc.h 379 B

1234567891011121314151617
  1. #ifndef __OHPOC_H__
  2. #define __OHPOC_H__
  3. #include "stdbool.h"
  4. #define OHPOC_VERSION 2000
  5. #define OHPOC_MODLE "N58"
  6. #define OHPOC_CUST "ZT"
  7. //can not be modify
  8. #define OHPOC_EVENT_BASE (5000+100)
  9. typedef void(*OHPOC_MSG_Callback)(unsigned char *msg, int len);
  10. bool ohpocInit(OHPOC_MSG_Callback msgCallback);
  11. void ohpoc_msg_send(unsigned char *msg, unsigned short len);
  12. #endif