#define _BT_HCI_H
/* HCI Command OGF */
-#define HCI_LINK_CTRL_OGF 0x01
-#define HCI_LINK_POLICY_OGF 0x02
-#define HCI_HC_BB_OGF 0x03
-#define HCI_INFO_PARAM_OGF 0x04
+#define HCI_LINK_CTRL_OGF 0x01
+#define HCI_LINK_POLICY_OGF 0x02
+#define HCI_HC_BB_OGF 0x03
+#define HCI_INFO_PARAM_OGF 0x04
/* HCI Command OCF */
#define HCI_DISCONN_OCF 0x06
#define EHCILL_WAKE_UP_IND 0x32
#define EHCILL_WAKE_UP_ACK 0x33
+#define BT_PIN "4312"
+
void bt_hci_init(void);
void bt_hci_cmd(const uint8_t OGF, const uint8_t OCF, const uint8_t data_len, const void *data);
void bt_acl_send(const uint16_t handle, const uint8_t PB, const uint8_t BC, const uint16_t channel, const uint16_t len, const void *dat);