Nordic Semiconductor nRF5 AirFuel SDK
version 2.2.0
|
Go to the source code of this file.
Macros | |
#define | APP_TIMER_PRESCALER 0 |
#define | APP_TIMER_OP_QUEUE_SIZE 19 |
#define | PTU_SM_CURRENT_STATE() ptu_sm_execute((ptu_sm_signal_type_t)NULL, NULL) |
Typedefs | |
typedef void(* | ptu_sm_handler_t) (ptu_sm_signal_type_t signal) |
typedef void(* | app_sm_evt_handler_t) (ptu_sm_signal_type_t signal, const ptu_sm_state_vars_t *p_state_vars) |
Functions | |
General API functions | |
void | ptu_init (app_sm_evt_handler_t sm_evt_handler) |
Initialize PTU. This function must be called before any other PTU function can be called. More... | |
void | ptu_on_ble_evt (ble_evt_t *p_ble_evt) |
Dispatches a BLE stack event to PTU. More... | |
void | ptu_start (void) |
Start ptu profile. Here "start" means that profile can start generating events through ptu_evt_handler(). | |