BTM_WriteScoData() function
* Function BTM_WriteScoData * Description This function write SCO data to a specified instance. The data * to be written p_buf needs to carry an offset of * HCI_SCO_PREAMBLE_SIZE bytes, and the data length can not * exceed BTM_SCO_DATA_SIZE_MAX bytes, whose default value is set * to 60 and is configurable. Data longer than the maximum bytes * will be truncated. * Returns BTM_SUCCESS: data write is successful * BTM_ILLEGAL_VALUE: SCO data contains illegal offset value. * BTM_SCO_BAD_LENGTH: SCO data length exceeds the max SCO packet * size. * BTM_NO_RESOURCES: no resources. * BTM_UNKNOWN_ADDR: unknown SCO connection handle, or SCO is not * routed via HCI. * BTM_ERR_PROCESSING: transmit queue overflow
![]()
tBTM_STATUS BTM_WriteScoData (UINT16 sco_inx, BT_HDR *p_buf)
BTM_WriteScoData() calls 2 functions:
![]()
BTM_WriteScoData()
BTM_WriteScoData() reads 3 variables:
![]()
BTM_WriteScoData()