Lines Matching refs:con_state
42 uint8_t con_state; member
288 p_ccb->con_state = GAP_CCB_STATE_LISTENING; in GAP_ConnOpen()
296 p_ccb->con_state = GAP_CCB_STATE_CONN_SETUP; in GAP_ConnOpen()
344 if (p_ccb->con_state != GAP_CCB_STATE_LISTENING) in GAP_ConnClose()
436 if (p_ccb->con_state == GAP_CCB_STATE_CONNECTED) { in GAP_GetRxQueueCnt()
527 if (p_ccb->con_state != GAP_CCB_STATE_CONNECTED) { in GAP_ConnWriteData()
567 if (p_ccb->con_state == GAP_CCB_STATE_CONNECTED) in GAP_ConnReconfig()
625 if ((p_ccb) && (p_ccb->con_state > GAP_CCB_STATE_LISTENING)) { in GAP_ConnGetRemoteAddr()
690 if ((p_ccb->con_state == GAP_CCB_STATE_CONNECTED) && (sdu_sent == 0xFFFF)) { in gap_tx_complete_ind()
724 if ((p_ccb->con_state == GAP_CCB_STATE_LISTENING) && (p_ccb->psm == psm) && in gap_connect_ind()
742 p_ccb->con_state = GAP_CCB_STATE_CFG_SETUP; in gap_connect_ind()
789 p_ccb->con_state = GAP_CCB_STATE_CONNECTED; in gap_checks_con_flags()
811 p_ccb->con_state, p_ccb->con_flags, res); in gap_sec_check_complete()
812 if (p_ccb->con_state == GAP_CCB_STATE_IDLE) return; in gap_sec_check_complete()
851 (p_ccb->con_state == GAP_CCB_STATE_CONN_SETUP)) { in gap_connect_cfm()
853 p_ccb->con_state = GAP_CCB_STATE_CFG_SETUP; in gap_connect_cfm()
999 if (p_ccb->con_state == GAP_CCB_STATE_CONNECTED) { in gap_data_ind()
1055 if ((p_ccb->con_state != GAP_CCB_STATE_IDLE) && in gap_find_ccb_by_cid()
1081 if (p_ccb->con_state != GAP_CCB_STATE_IDLE) return (p_ccb); in gap_find_ccb_by_handle()
1103 if (p_ccb->con_state == GAP_CCB_STATE_IDLE) { in gap_allocate_ccb()
1142 p_ccb->con_state = GAP_CCB_STATE_IDLE; in gap_release_ccb()
1147 if ((p_ccb_local->con_state != GAP_CCB_STATE_IDLE) && in gap_release_ccb()