* Function avdt_scb_event * Description State machine event handling function for scb * Returns Nothing.
* Function avdt_scb_to_hdl * Description Given a pointer to an scb, return its handle (or seid). * Returns Index of scb.
* Function avdt_ad_type_to_tcid * Description Derives the TCID from the channel type and SCB. * Returns TCID value.
* Function avdt_scb_clr_vars * Description This function initializes certain SCB variables. * Returns Nothing.
* Function avdt_ad_tc_tbl_by_type * Description This function retrieves the transport channel table entry * for a particular channel. * Returns Pointer to transport channel table entry.
* Function avdt_ad_write_req * Description This function is called by a CCB or SCB to send data to a * transport channel. It looks up the LCID of the channel * based on the type, CCB, and SCB (if present). Then it * passes the data to L2CA_DataWrite(). * Returns AVDT_AD_SUCCESS, if data accepted, else FALSE * AVDT_AD_CONGESTED, if data accepted and the channel is congested * AVDT_AD_FAILED, if error
* Function avdt_ad_open_req * Description This function is called by a CCB or SCB to open a transport * channel. This function allocates and initializes a * transport channel table entry. The channel can be opened * in two roles: as an initiator or acceptor. When opened * as an initiator the function will start an L2CAP connection. * When opened as an acceptor the function simply configures * the table entry to listen for an incoming channel. * Returns Nothing.
* Function avdt_scb_gen_ssrc * Description This function generates a SSRC number unique to the stream. * Returns SSRC value.
* Function avdt_ad_close_req * Description This function is called by a CCB or SCB to close a * transport channel. The function looks up the LCID for the * channel and calls L2CA_DisconnectReq(). * Returns Nothing.
* Function avdt_scb_dealloc * Description Deallocate a stream control block. * Returns void.
* Function avdt_scb_hdl_setconfig_rej * Description This function marks the SCB as not in use and calls the * application callback with an open confirm indicating failure. * Returns Nothing.
* Function avdt_scb_hdl_tc_close * Description This function is called when the transport channel is * closed. It marks the SCB as not in use and * initializes certain SCB parameters. It then sends * an AVDT_CCB_UL_CLOSE_EVT to the CCB if the SCB * initiated the close. It then checks to see if the SCB * is to be removed. If it is it deallocates the SCB. Finally, * it calls the application callback with a close indication. * Returns Nothing.
* Function avdt_scb_snd_close_req * Description This function sends a close command message. * Returns Nothing.
* Function avdt_scb_rej_in_use * Description This function sends a reject message to the peer indicating * the stream is in use. * Returns Nothing.
* Function avdt_scb_rej_not_in_use * Description This function sends a reject message to the peer indicating * the stream is in use. * Returns Nothing.
* Function avdt_scb_send_delay_report_cmd * Description This function is to initiate the delay reporting command. * Returns Nothing.
* Function avdt_scb_hdl_abort_cmd * Description This function sends the SCB an AVDT_SCB_API_ABORT_RSP_EVT * to initiate sending of an abort response message. * Returns Nothing.
* Function avdt_scb_hdl_abort_rsp * Description This function is an empty function; it serves as a * placeholder for a conformance API action function. * Returns Nothing.
* Function avdt_scb_hdl_close_cmd * Description This function sends the SCB an AVDT_SCB_API_CLOSE_RSP_EVT * to initiate sending of a close response message. * Returns Nothing.
* Function avdt_scb_hdl_close_rsp * Description This function sets the close_code variable to the error * code returned in the close response. * Returns Nothing.
* Function avdt_scb_hdl_getconfig_cmd * Description This function retrieves the configuration parameters of * the SCB and sends the SCB an AVDT_SCB_API_GETCONFIG_RSP_EVT * to initiate sending of a get configuration response message. * Returns Nothing.
* Function avdt_scb_hdl_getconfig_rsp * Description This function is an empty function; it serves as a * placeholder for a conformance API action function. * Returns Nothing.
* Function avdt_scb_hdl_open_cmd * Description This function sends the SCB an AVDT_SCB_API_OPEN_RSP_EVT * to initiate sending of an open response message. * Returns Nothing.
* Function avdt_scb_hdl_open_rej * Description This function calls the application callback function * indicating the open request has failed. It initializes * certain SCB variables and sends a AVDT_CCB_UL_CLOSE_EVT * to the CCB. * Returns Nothing.
* Function avdt_scb_hdl_open_rsp * Description This function calls avdt_ad_open_req() to initiate * connection of the transport channel for this stream. * Returns Nothing.
* Function avdt_scb_hdl_pkt * Description * Returns Nothing.
* Function avdt_scb_drop_pkt * Description Drop an incoming media packet. This function is called if * a media packet is received in any state besides streaming. * Returns Nothing.
* Function avdt_scb_hdl_reconfig_cmd * Description This function calls the application callback function * with a reconfiguration indication. * Returns Nothing.
* Function avdt_scb_hdl_reconfig_rsp * Description This function calls the application callback function * with a reconfiguration confirm. * Returns Nothing.
* Function avdt_scb_hdl_security_cmd * Description This function calls the application callback with a * security indication. * Returns Nothing.
* Function avdt_scb_hdl_security_rsp * Description This function calls the application callback with a * security confirm. * Returns Nothing.
* Function avdt_scb_hdl_setconfig_cmd * Description This function marks the SCB as in use and copies the * configuration and peer SEID to the SCB. It then calls * the application callback with a configuration indication. * Returns Nothing.
* Function avdt_scb_hdl_setconfig_rsp * Description This function sends the SCB an AVDT_SCB_API_OPEN_REQ_EVT * to initiate sending of an open command message. * Returns Nothing.
* Function avdt_scb_hdl_start_cmd * Description This function calls the application callback with a * start indication. * Returns Nothing.
* Function avdt_scb_hdl_start_rsp * Description This function calls the application callback with a * start confirm. * Returns Nothing.
* Function avdt_scb_hdl_suspend_cmd * Description This function calls the application callback with a suspend * indication. * Returns Nothing.
* Function avdt_scb_hdl_suspend_rsp * Description This function calls the application callback with a suspend * confirm. * Returns Nothing.
* Function avdt_scb_snd_delay_rpt_req * Description This function calls the application callback with a delay * report. * Returns Nothing.
* Function avdt_scb_hdl_delay_rpt_rsp * Description This function calls the application callback with a delay * report. * Returns Nothing.
* Function avdt_scb_hdl_tc_open * Description This function is called when the transport channel is * opened while in the opening state. It calls the * application callback with an open indication or open * confirm depending on who initiated the open procedure. * Returns Nothing.
* Function avdt_scb_hdl_tc_close_sto * Description This function is called when a channel is closed in OPEN * state. Check the channel type and process accordingly. * Returns Nothing.
* Function avdt_scb_hdl_tc_open_sto * Description This function is called when the transport channel is * opened while in the opening state. It calls the * application callback with an open indication or open * confirm depending on who initiated the open procedure. * Returns Nothing.
* Function avdt_scb_hdl_write_req * Description This function calls one of the two versions of building functions * for case with and without fragmentation * Returns Nothing.
* Function avdt_scb_snd_abort_req * Description This function sends an abort command message. * Returns Nothing.
* Function avdt_scb_snd_abort_rsp * Description This function sends an abort response message. * Returns Nothing.
* Function avdt_scb_snd_stream_close * Description This function sends a close command message. * Returns Nothing.
* Function avdt_scb_snd_close_rsp * Description This function sends a close response message. * Returns Nothing.
* Function avdt_scb_snd_getconfig_req * Description This function sends a get configuration command message. * Returns Nothing.
* Function avdt_scb_snd_getconfig_rsp * Description This function sends a get configuration response message. * Returns Nothing.
* Function avdt_scb_snd_open_req * Description This function sends an open command message. * Returns Nothing.
* Function avdt_scb_snd_open_rsp * Description This function sends an open response message. It also * calls avdt_ad_open_req() to accept a transport channel * connection. * Returns Nothing.
* Function avdt_scb_snd_reconfig_req * Description This function stores the configuration parameters in the * SCB and sends a reconfiguration command message. * Returns Nothing.
* Function avdt_scb_snd_reconfig_rsp * Description This function stores the configuration parameters in the * SCB and sends a reconfiguration response message. * Returns Nothing.
* Function avdt_scb_snd_security_req * Description This function sends a security command message. * Returns Nothing.
* Function avdt_scb_snd_security_rsp * Description This function sends a security response message. * Returns Nothing.
* Function avdt_scb_snd_setconfig_req * Description This function marks the SCB as in use and copies the * configuration parameters to the SCB. Then the function * sends a set configuration command message and initiates * opening of the signaling channel. * Returns Nothing.
* Function avdt_scb_snd_setconfig_rej * Description This function marks the SCB as not in use and sends a * set configuration reject message. * Returns Nothing.
* Function avdt_scb_snd_setconfig_rsp * Description This function copies the requested configuration into the * current configuration and sends a set configuration * response message. * Returns Nothing.
* Function avdt_scb_snd_tc_close * Description This function calls avdt_ad_close_req() to close the * transport channel for this SCB. * Returns Nothing.
* Function avdt_scb_cb_err * Description This function calls the application callback function * indicating an error. * Returns Nothing.
* Function avdt_scb_cong_state * Description This function sets the congestion state of the SCB media * transport channel. * Returns Nothing.
* Function avdt_scb_rej_state * Description This function sends a reject message to the peer indicating * incorrect state for the received command message. * Returns Nothing.
* Function avdt_scb_set_remove * Description This function marks an SCB to be removed. * Returns Nothing.
* Function avdt_scb_free_pkt * Description This function frees the media packet passed in. * Returns Nothing.
* Function avdt_scb_chk_snd_pkt * Description This function checks if the SCB is congested, and if not * congested it sends a stored media packet, if any. After it * sends the packet it calls the application callback function * with a write confirm. * Returns Nothing.
* Function avdt_scb_clr_pkt * Description This function frees the media packet stored in the SCB. * Returns Nothing.
* Function avdt_scb_tc_timer * Description This function is called to start a timer when the peer * initiates closing of the stream. The timer verifies that * the peer disconnects the transport channel. * Returns Nothing.
* Function avdt_scb_queue_frags * Description This function breaks media payload into fragments * and put the fragments in the given queue. * Returns Nothing.
Function avdt_scb_hdl_delay_rpt_tout Description The timer triggers the sending of AVDT open_req. This function is theoretically not called. Returns Nothing.
* Function avdt_scb_init_open_req * Description This function sends the SCB an AVDT_SCB_API_OPEN_REQ_EVT * to initiate sending of an open command message. * Returns Nothing.
* Function avdt_scb_hdl_report * Description * Returns Nothing.
* Function avdt_scb_hdl_pkt_frag * Description * Returns Nothing.
* Function avdt_scb_hdl_write_req_frag * Description This function builds a new fragments of media packet from * the passed in buffers and stores them in the SCB. * Returns Nothing.
* Function avdt_scb_hdl_pkt_no_frag * Description * Returns Nothing.
* Function avdt_scb_hdl_write_req_no_frag * Description This function frees the media packet currently stored in * the SCB, if any. Then it builds a new media packet from * with the passed in buffer and stores it in the SCB. * Returns Nothing.