Initialize PTU. This function must be called before any other PTU function can be called.
344 APP_ERROR_CHECK(err_code);
347 APP_ERROR_CHECK(err_code);
350 APP_ERROR_CHECK(err_code);
355 APP_ERROR_CHECK(err_code);
358 APP_ERROR_CHECK(err_code);
361 APP_ERROR_CHECK(err_code);
static void m_services_init(void)
Initialize Client Service.
#define PTU_MS_FROM_BEACON_STOP_TO_ACTIVATE_DISTANT_LIST
uint32_t ptu_cm_init(ptu_sm_handler_t sm_handler)
Initialize connection manager.
uint32_t ptu_sensors_init(ptu_sm_handler_t sm_handler)
Initialize PTU Sensors. This function must be called before any other PTU Sensors function can be cal...
void ptu_beacons_init(void)
Initialize beacons handling.
static void m_timers_init(void)
Initialize timers.
uint32_t ptu_dlh_init(ptu_dlh_init_t const *p_init)
Check if device with provided address is in the distant list.
void ptu_reg_init(void)
Initialize registry database.
static void m_ptu_sm_execute(ptu_sm_signal_type_t signal)
Used when executing state machine events.
uint32_t ptu_latching_fault_init(ptu_sm_handler_t sm_handler)
Initialize latching fault module.
uint32_t tmux_init(void)
Initialize the PTU's test multiplexer.
uint32_t ptu_power_sharing_init(ptu_sm_handler_t sm_handler)
Initialize power sharing module.
static app_sm_evt_handler_t m_app_sm_evt_handler