PORT_ReadData() function
* Function PORT_ReadData * Description Normally application will call this function after receiving * PORT_EVT_RXCHAR event. * Parameters: handle - Handle returned in the RFCOMM_CreateConnection * callback. * p_data - Data area * max_len - Byte count requested * p_len - Byte count received
![]()
int PORT_ReadData (UINT16 handle, char *p_data, UINT16 max_len, UINT16 *p_len)![]()
if (PORT_ReadData(p_scb->conn_handle, buf, BTA_AG_RFC_READ_MAX, &len) != PORT_SUCCESS) {![]()
while (PORT_ReadData(bta_hf_client_cb.scb.conn_handle, buf, BTA_HF_CLIENT_RFC_READ_MAX, &len) == PORT_SUCCESS) {![]()
if (PORT_ReadData(rc->p_pcb->port_handle, (char *)rc->p_data, rc->len, &evt_data.len) ==
PORT_ReadData() is called by 3 functions and calls 9 functions:
![]()
PORT_ReadData()
PORT_ReadData() reads 14 variables and writes 3 variables:
![]()
PORT_ReadData()