Home
last modified time | relevance | path

Searched refs:p_handlers (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/core/
Dbtc_sm.c38 btc_sm_handler_t *p_handlers; member
70 btc_sm_handle_t btc_sm_init(const btc_sm_handler_t *p_handlers, btc_sm_state_t initial_state) in btc_sm_init() argument
74 if (p_handlers == NULL) { in btc_sm_init()
81 p_cb->p_handlers = (btc_sm_handler_t *)p_handlers; in btc_sm_init()
84 p_cb->p_handlers[initial_state](BTC_SM_ENTER_EVT, NULL); in btc_sm_init()
153 if (p_cb->p_handlers[p_cb->state](event, data) == FALSE) { in btc_sm_dispatch()
184 if (p_cb->p_handlers[p_cb->state](BTC_SM_EXIT_EVT, NULL) == FALSE) { in btc_sm_change_state()
192 if (p_cb->p_handlers[p_cb->state](BTC_SM_ENTER_EVT, NULL) == FALSE) { in btc_sm_change_state()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/include/btc/
Dbtc_sm.h64 btc_sm_handle_t btc_sm_init(const btc_sm_handler_t *p_handlers,