Home | History | Annotate | Download | only in gatt

Lines Matching refs:ch_state

227   tGATT_CH_STATE ch_state;
233 ch_state = gatt_get_ch_state(p_tcb);
234 if (ch_state != GATT_CH_CLOSING) {
236 if (ch_state == GATT_CH_OPEN) {
245 if ((ch_state == GATT_CH_OPEN) || (ch_state == GATT_CH_CFG))
656 "gatt_l2c_connect_cfm_cback result: %d ch_state: %d, lcid:0x%x", result,
1161 * Description This function set the ch_state in tcb
1166 void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state) {
1168 GATT_TRACE_DEBUG("gatt_set_ch_state: old=%d new=%d", p_tcb->ch_state,
1169 ch_state);
1170 p_tcb->ch_state = ch_state;
1178 * Description This function get the ch_state in tcb
1184 tGATT_CH_STATE ch_state = GATT_CH_CLOSE;
1186 GATT_TRACE_DEBUG("gatt_get_ch_state: ch_state=%d", p_tcb->ch_state);
1187 ch_state = p_tcb->ch_state;
1189 return ch_state;