40 lines
1.1 KiB
C
40 lines
1.1 KiB
C
/*********************************************************************************************
|
|
* 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
|
|
|
|
|