This commit is contained in:
huxi
2025-12-03 11:12:34 +08:00
parent c23ae4f24c
commit bc195654bf
8163 changed files with 3799544 additions and 92 deletions
@@ -0,0 +1,39 @@
/*********************************************************************************************
* Filename : le_counter.h
* Description :
* Author : Bingquan
* Email : bingquan_cai@zh-jieli.com
* Last modifiled : 2017-01-17 15:17
* Copyright:(c)JIELI 2011-2016 @ , All Rights Reserved.
*********************************************************************************************/
#ifndef __LE_COMMON_H_
#define __LE_COMMON_H_
#include "typedef.h"
#include <stdint.h>
#include "btstack/bluetooth.h"
#include "app_config.h"
#include "btstack/le/le_common_define.h"
//--------------------------------------------
#define LE_DEBUG_PRINT_EN 0 // log switch
//--------------------------------------------
/*毫秒 转换到 0.625ms 单位*/
#define ADV_SCAN_MS(_ms) ((_ms) * 8 / 5)
extern void bt_ble_init(void);
extern void bt_ble_exit(void);
extern void le_hogp_set_icon(u16 class_type);
extern void le_hogp_set_ReportMap(u8 *map, u16 size);
extern void ble_module_enable(u8 en);
#endif