Lines Matching refs:GATT_CH_OPEN
200 if (gatt_get_ch_state(p_tcb) != GATT_CH_OPEN) in gatt_connect()
209 if (gatt_get_ch_state(p_tcb) == GATT_CH_OPEN) { in gatt_connect()
243 if (ch_state == GATT_CH_OPEN) { in gatt_disconnect()
253 if ((ch_state == GATT_CH_OPEN) || (ch_state == GATT_CH_CFG)) in gatt_disconnect()
358 if (st == GATT_CH_OPEN && p_tcb->app_hold_link.empty() && in gatt_act_connect()
430 gatt_set_ch_state(p_tcb, GATT_CH_OPEN); in gatt_le_connect_cback()
448 gatt_set_ch_state(p_tcb, GATT_CH_OPEN); in gatt_le_connect_cback()
554 if (gatt_get_ch_state(p_tcb) < GATT_CH_OPEN) { in gatt_le_data_ind()
678 gatt_set_ch_state(p_tcb, GATT_CH_OPEN); in gatt_l2cif_config_cfm_cback()
721 gatt_set_ch_state(p_tcb, GATT_CH_OPEN); in gatt_l2cif_config_ind_cback()
786 if (p_tcb && gatt_get_ch_state(p_tcb) == GATT_CH_OPEN) { in gatt_l2cif_data_ind_cback()