48 #ifndef __THINGY_BLE_H__ 49 #define __THINGY_BLE_H__ 53 #include "thingy_config.h" 60 thingy_ble_evt_connected,
61 thingy_ble_evt_disconnected,
62 thingy_ble_evt_timeout
74 typedef void (*m_ble_evt_handler_t)(
m_ble_evt_t * p_evt);
79 typedef uint32_t (*m_ble_service_init_cb_t)(
bool flash_reinit);
85 m_ble_service_init_cb_t init_cb;
93 m_ble_evt_handler_t evt_handler;
uint32_t m_ble_init(m_ble_init_t *p_params)
Function for initializing the BLE handling module..
m_ble_evt_type_t
BLE event types.
Definition: m_ble.h:58
BLE service handle structure.
Definition: m_ble.h:83
uint32_t m_ble_stop(void)
Function for stopping the BLE handling module.
BLE event structure.
Definition: m_ble.h:67
uint32_t m_ble_start(void)
Function for starting the BLE handling module.
void(* m_ble_service_evt_cb_t)(ble_evt_t *p_ble_evt)
BLE service callback definitions.
Definition: m_ble.h:78
Initialization parameters.
Definition: m_ble.h:91