1 /* 2 * hci.h 3 * 4 * Created by Matthias Ringwald on 4/29/09. 5 * 6 */ 7 8 #pragma once 9 10 #include "hci_transport.h" 11 12 typedef enum { 13 HCI_POWER_OFF = 0, 14 HCI_POWER_ON 15 } HCI_POWER_MODE; 16 17 // set up HCI 18 void hci_init(hci_transport_t *transport, void *config); 19 20 // power control 21 int hci_power_control(HCI_POWER_MODE mode); 22 23 // run the hci daemon loop 24 void hci_run(); 25 26