Lines Matching defs:ch_state
182 tGATT_CH_STATE ch_state;
188 if ( (ch_state = gatt_get_ch_state(p_tcb)) != GATT_CH_CLOSING )
192 if (ch_state == GATT_CH_OPEN)
566 GATT_TRACE_DEBUG3("gatt_l2c_connect_cfm_cback result: %d ch_state: %d, lcid:0x%x", result, gatt_get_ch_state(p_tcb), p_tcb->att_lcid);
1096 ** Description This function set the ch_state in tcb
1101 void gatt_set_ch_state(tGATT_TCB *p_tcb, tGATT_CH_STATE ch_state)
1105 GATT_TRACE_DEBUG2 ("gatt_set_ch_state: old=%d new=%d", p_tcb->ch_state, ch_state);
1106 p_tcb->ch_state = ch_state;
1114 ** Description This function get the ch_state in tcb
1121 tGATT_CH_STATE ch_state = GATT_CH_CLOSE;
1124 GATT_TRACE_DEBUG1 ("gatt_get_ch_state: ch_state=%d", p_tcb->ch_state);
1125 ch_state = p_tcb->ch_state;
1127 return ch_state;