14 #include "ble_gap_sm.h" 15 #include "ble_gatt_client.h" 37 #define BT_LOG_NONE 0x00000000 38 #define BT_LOG_HCI_CMD 0x00000001 39 #define BT_LOG_HCI_EVT 0x00000002 40 #define BT_LOG_HCI_TXDAT 0x00000004 41 #define BT_LOG_HCI_RXDAT 0x00000008 bt_misc_event_id
MISC Event IDs. IDs that uniquely identify an event.
Definition: bt.h:52
void(* bt_event_handler)(bt_evt_t *)
Event handler Event handler, passed in Bt_Init function.
Definition: bt.h:98
ble_misc_evt_t misc_evt
MISC event structure.
Definition: bt.h:87
Event structure.
Definition: ble_sm.h:165
void BT_Init(bt_event_handler handler)
Initialize BT.
Event structure for BT_MISC_EVENT_INITED.
Definition: bt.h:61
Event for BT Initailized.
Definition: bt.h:54
ble_gatt_evt_t gatt_evt
GATT event structure.
Definition: bt.h:90
void BT_InitEx(bt_event_handler handler, void *cdata, uint32_t log_level)
Initialize BT with controller specific data.
void BT_Log_Enable(uint32_t log_level)
BT log enable/disable.
All event structure.
Definition: bt.h:81
ble_sm_evt_t sm_evt
SM event structure.
Definition: bt.h:89
GATT event structure.
Definition: ble_gatt_client.h:267
ble_gap_evt_t gap_evt
GAP event structure.
Definition: bt.h:88
void BT_Loop(void)
BT main Loop.
bt_init_evt_t inited
BT_MISC_EVENT_INITED event structure.
Definition: bt.h:74
MISC event.
Definition: bt_constants.h:42
GAP event structure.
Definition: ble_gap.h:696
uint32_t evt_id
Event ID.
Definition: bt.h:83
uint32_t BT_Pending_TxCnt(void)
BT Pending TX Data Query how manay data (In bytes) is not send out.
void BT_InitEx2(bt_event_handler handler, void *cdata[], uint8_t count, uint32_t log_level)
Initialize BT with controller specific data.
MISC event structure.
Definition: bt.h:70
void BT_Pause_Tx(bool is_pause)
Pause BT TX data transmit.