Lines Matching full:state
21 * This file contains the GATT client main functions and state machine.
40 /* state machine action enumeration list */
111 /* state table information */
113 #define BTA_GATTC_NEXT_STATE 1 /* position of next state */
114 #define BTA_GATTC_NUM_COLS 2 /* number of columns in state tables */
116 /* state table for idle state */
119 /* Event Action 1 Next state */
148 /* state table for wait for open state */
151 /* Event Action 1 Next state */
180 /* state table for open state */
183 /* Event Action 1 Next state */
212 /* state table for discover state */
215 /* Event Action 1 Next state */
243 /* type for state table */
246 /* state table */
273 ** Description State machine event handling function for GATTC
285 tBTA_GATTC_STATE in_state = p_clcb->state;
287 APPL_TRACE_DEBUG4("bta_gattc_sm_execute: State 0x%02x [%s], Event 0x%x[%s]", in_state,
294 /* look up the state table for the current state */
295 state_table = bta_gattc_st_tbl[p_clcb->state];
299 /* set next state */
300 p_clcb->state = state_table[event][BTA_GATTC_NEXT_STATE];
316 if (in_state != p_clcb->state)
318 APPL_TRACE_DEBUG3("GATTC State Change: [%s] -> [%s] after Event [%s]",
320 gattc_state_code(p_clcb->state),
481 return "unknown GATTC state code";