* Function rfc_port_closed * Description The function is called when port is released based on the * event received from the lower layer, typically L2CAP * connection down, DISC, or DM frame. * Returns void
* Function rfc_port_timer_start * Description Start RFC Timer
* Function port_rfc_closed * Description This function when RFCOMM side of port is closed
* Function rfc_port_timer_stop * Description Stop RFC Timer
* Function port_flow_control_peer * Description Send flow control messages to the peer for both enabling * and disabling flow control, for both credit-based and * TS 07.10 flow control mechanisms. * Returns nothing
* Function rfc_port_sm_execute * Description This function sends port events through the state * machine. * Returns void
* Function port_flow_control_user * Description Check the current user flow control and if necessary return * events to be send to the user based on the user's specified * flow control type. * Returns event mask to be returned to the application
* Function port_release_port * Description Release port infor control block. * Returns Pointer to the PORT or NULL if not found
* Function port_get_signal_changes * Description Check modem signals that has been changed * Returns event mask to be returned to the application
* Function port_start_control * Description This function is called in the BTU_TASK context to * send control information * Returns void
* Function port_rfc_send_tx_data * Description This function is when forward data can be sent to the peer
* Function port_start_close * Description This function is called in the BTU_TASK context to * release DLC * Returns void
* Function port_set_defaults * Description Set defualt port parameters
* Function port_select_mtu * Description Select MTU which will best serve connection from our * point of view. * If our device is 1.2 or lower we calculate how many DH5s * fit into 1 RFCOMM buffer.
* Function port_get_credits * Description Set initial values for credits. * Adjust max number of rx credits based on negotiated MTU. * Check max allowed num of bytes, max allowed num buffers, * should be less then 255
* Function rfc_port_timer_free * Description Stop and free RFC Timer
* Function rfc_inc_credit * Description The function is called when a credit is received in a UIH * frame. It increments the TX credit count, and if data * flow had halted, it restarts it. * Returns void
* Function rfc_dec_credit * Description The function is called when a UIH frame of user data is * sent. It decrements the credit count. If credit count * Reaches zero, peer_fc is set. * Returns void
* Function port_open_continue * Description This function is called after security manager completes * required security checks. * Returns void
* Function port_start_par_neg * Description This function is called in the BTU_TASK context to * send configuration information * Returns void
* Function rfc_port_sm_term_wait_sec_check * Description This function handles events for the port in the * WAIT_SEC_CHECK state. SABME has been received from the * peer and Security Manager verifes BD_ADDR, before we can * send ESTABLISH_IND to the Port entity * Returns void
* Function rfc_port_sm_orig_wait_sec_check * Description This function handles events for the port in the * ORIG_WAIT_SEC_CHECK state. RFCOMM is waiting for Security * manager to finish before sending SABME to the peer * Returns void
* Function rfc_port_sm_sabme_wait_ua * Description This function handles events when SABME on the DLC was * sent and SM is waiting for UA or DM. * Returns void
* Function rfc_port_sm_opened * Description This function handles events for the port in the OPENED * state * Returns void
* Function rfc_port_sm_state_closed * Description This function handles events when the port is in * CLOSED state. This state exists when port is * being initially established. * Returns void
* Function rfc_port_uplink_data * Description This function handles uplink information data frame.
* Function rfc_port_sm_disc_wait_ua * Description This function handles events when DISC on the DLC was * sent and SM is waiting for UA or DM. * Returns void