KT24-1110_65E-HA-651B/include_lib/btctrler/btcontroller_mode.h

60 lines
2.2 KiB
C
Raw Normal View History

2024-11-10 10:44:17 +00:00
/*********************************************************************************************
* Filename : btcontroller_modules.h
* Description : Lto Macro
* Author : Bingquan
* Email : bingquan_cai@zh-jieli.com
* Last modifiled : 2018-12-19 16:38
* Copyright:(c)JIELI 2011-2017 @ , All Rights Reserved.
*********************************************************************************************/
#ifndef _BTCONTROLLER_MODE_H_
#define _BTCONTROLLER_MODE_H_
/*
ble 使usb口usb口没有其他地方使用
uart0 key
1rf bqb的时候配 BT_BQB
2rf fcc的时候配 BT_FCC
3BT_FRE :2402 ,
4BT_PER,使,
BT_NORMAL
void bredr_set_dut_enble(u8 en,u8 phone )
en 1 :使 bredr dut 使
phone: 1 0
dut测试调用bredr_set_dut_enble使能可以被仪器链接
tws_cancle_all_noconn() ;
user_send_cmd_prepare(USER_CTRL_WRITE_SCAN_ENABLE, 0, NULL);
user_send_cmd_prepare(USER_CTRL_WRITE_CONN_ENABLE, 0, NULL);
5 void bt_fix_fre_api() 2402
6 void ble_fix_fre_api()ble定频测试,,
*/
#define BT_NORMAL 0x01
#define BT_BQB 0x02
#define BT_FCC 0x04
#define BT_FRE 0x10
#define BT_PER 0x20
#define CONFIG_BT_MODE BT_NORMAL
#endif