1 /*
2  * Copyright (c) 2006-2021, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author         Notes
8  * 2020-11-29     bigmagic       first version
9  */
10 #ifndef __DRV_BT_H__
11 #define __DRV_BT_H__
12 
13 #define     BT_HCI_COMMAND_PKT          (0x01)
14 #define     BT_OGF_HOST_CONTROL         (0x03)
15 #define     BT_OGF_LE_CONTROL           (0x08)
16 #define     BT_OGF_VENDOR               (0x3f)
17 #define     BT_COMMAND_SET_BDADDR       (0x01)
18 #define     BT_COMMAND_RESET_CHIP       (0x03)
19 #define     BT_COMMAND_SET_BAUD         (0x18)
20 #define     BT_COMMAND_LOAD_FIRMWARE    (0x2e)
21 #define     BT_HCI_ACL_PKT              (0x02)
22 #define     BT_HCI_EVENT_PKT            (0x04)
23 #define     BT_COMMAND_COMPLETE_CODE    (0x0e)
24 #define     BT_CONNECT_COMPLETE_CODE    (0x0f)
25 #define     BT_LL_SCAN_ACTIVE           (0x01)
26 #define     BT_LL_ADV_NONCONN_IND       (0x03)
27 
28 #endif
29