btlib.h 641 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * @file
  3. * @author chipsea
  4. * @brief
  5. * @version 0.1
  6. * @date 2020-11-30
  7. * @copyright Copyright (c) 2020, CHIPSEA Co., Ltd.
  8. * @note
  9. */
  10. #ifndef __BT_LIB_H
  11. #define __BT_LIB_H
  12. #include "hci.h"
  13. #include "hci_tl.h"
  14. #include "ll.h"
  15. #include "ll_def.h"
  16. void init_config(void);
  17. void hal_rom_boot_init(void);
  18. void HalEnterProgrammingMode(void);
  19. int8 LL_GetCurrentRSSI(void);
  20. void LL_GetCurrentPduDle(uint8_t connId, ll_pdu_length_ctrl_t* ppdu);
  21. void LOG_BTLIB_DATA_TIME(void);
  22. void BtlibGetVersion(uint8_t* version_major, uint8_t* version_minor);
  23. void LoadEncryptCode(unsigned char* pflash, int size, unsigned char* run_addr);
  24. #endif