Home | History | Annotate | Download | only in rfcomm

Lines Matching refs:state

21  *  This file contains state machine and action routines for multiplexer
60 ** Description This function sends multiplexor events through the state
68 switch (p_mcb->state)
107 ** IDLE state. This state exists when connection is being
131 p_mcb->state = RFC_MX_STATE_WAIT_CONN_CNF;
138 RFCOMM_TRACE_ERROR2 ("Mx error state %d event %d", p_mcb->state, event);
148 p_mcb->state = RFC_MX_STATE_CONFIGURE;
166 RFCOMM_TRACE_EVENT2 ("RFCOMM MX ignored - evt:%d in state:%d", event, p_mcb->state);
186 RFCOMM_TRACE_ERROR2 ("Mx error state %d event %d", p_mcb->state, event);
198 p_mcb->state = RFC_MX_STATE_IDLE;
203 p_mcb->state = RFC_MX_STATE_CONFIGURE;
208 p_mcb->state = RFC_MX_STATE_IDLE;
213 p_mcb->state = RFC_MX_STATE_IDLE;
222 RFCOMM_TRACE_DEBUG2 ("RFCOMM MX retry as acceptor in collision case - evt:%d in state:%d", event, p_mcb->state);
250 RFCOMM_TRACE_EVENT2 ("RFCOMM MX ignored - evt:%d in state:%d", event, p_mcb->state);
259 ** configuration state.
272 RFCOMM_TRACE_ERROR2 ("Mx error state %d event %d", p_mcb->state, event);
284 p_mcb->state = RFC_MX_STATE_IDLE;
289 p_mcb->state = RFC_MX_STATE_IDLE;
295 RFCOMM_TRACE_EVENT2 ("RFCOMM MX ignored - evt:%d in state:%d", event, p_mcb->state);
316 RFCOMM_TRACE_ERROR2 ("Mx error state %d event %d", p_mcb->state, event);
331 p_mcb->state = RFC_MX_STATE_IDLE;
338 p_mcb->state = RFC_MX_STATE_CONNECTED;
351 p_mcb->state = RFC_MX_STATE_IDLE;
357 RFCOMM_TRACE_EVENT2 ("RFCOMM MX ignored - evt:%d in state:%d", event, p_mcb->state);
376 p_mcb->state = RFC_MX_STATE_IDLE;
389 p_mcb->state = RFC_MX_STATE_CONNECTED;
409 p_mcb->state = RFC_MX_STATE_CONNECTED;
417 p_mcb->state = RFC_MX_STATE_IDLE;
423 RFCOMM_TRACE_EVENT2 ("RFCOMM MX ignored - evt:%d in state:%d", event, p_mcb->state);
432 ** in the CONNECTED state
446 p_mcb->state = RFC_MX_STATE_DISC_WAIT_UA;
451 p_mcb->state = RFC_MX_STATE_IDLE;
467 RFCOMM_TRACE_EVENT2 ("RFCOMM MX ignored - evt:%d in state:%d", event, p_mcb->state);
515 p_mcb->state = RFC_MX_STATE_WAIT_CONN_CNF;
535 p_mcb->state = RFC_MX_STATE_IDLE;
545 RFCOMM_TRACE_EVENT2 ("RFCOMM MX ignored - evt:%d in state:%d", event, p_mcb->state);
606 if ((p_mcb->state == RFC_MX_STATE_CONFIGURE) && p_mcb->peer_cfg_rcvd)
610 p_mcb->state = RFC_MX_STATE_SABME_WAIT_UA;
616 p_mcb->state = RFC_MX_STATE_WAIT_SABME;
649 if ((p_mcb->state == RFC_MX_STATE_CONFIGURE) && p_mcb->local_cfg_sent)
653 p_mcb->state = RFC_MX_STATE_SABME_WAIT_UA;
659 p_mcb->state = RFC_MX_STATE_WAIT_SABME;