]> git.karo-electronics.de Git - oswald.git/blobdiff - metawatch/bt_hci.h
Starting to get rid of borrowed code (LcdDisplay, Fonts), integrate
[oswald.git] / metawatch / bt_hci.h
index deecc91c70ca2cc1d1ee5b3159dc92997befaed8..7a0f99adb02916d923c5123e56b3657f89ce47e9 100644 (file)
@@ -2,10 +2,10 @@
 #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
@@ -83,6 +83,8 @@
 #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);