bsp_iodm.h 759 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef _BSP_IODM_H
  2. #define _BSP_IODM_H
  3. //返回结果
  4. #define IODM_RESULT_OK 0x00
  5. #define IODM_RESULT_FAIL 0x01
  6. #define IODM_RESULT_COMPLETE 0x02
  7. #define IODM_RESULT_NO_RSP 0xFF
  8. #define IODM_HARDWARE_VER "\x01\x00"
  9. #define IODM_SOFTWARE_VER "\x01\x00"
  10. #define RST_FLAG_MAGIC_VALUE 0x5c //复位标志值
  11. void iodm_reveice_data_deal(vh_packet_t *packet,u8 entrance);
  12. void bt_save_qr_addr(u8 *addr);
  13. bool bt_get_qr_addr(u8 *addr);
  14. bool iodm_reflash_bt_name(void);
  15. bool iodm_save_bt_new_name(char *name,u8 len);
  16. u8 vhouse_custom_test(vh_packet_t *packet,u8* cmd_rsp_param_len);
  17. void bt_spp_iodm_event(void);
  18. bool iodm_get_bt_name(u8 *buf);
  19. void iodm_init(void);
  20. #endif