When the UART transport initializes, HCI_OpenConnection calls
SetupComm(hFile,&dcb) with dcb.XonLim == 3000, dcb.XoffLim == 9000.
In the serial MDD layer this call resolves to ApplyDCB
where the following check is performed ( this code was
not present in CE 5.0 ):
if (!(pDCB->XoffLim< pSerialHead->RxBufferInfo.Length &&
pDCB->XonLim< pSerialHead->RxBufferInfo.Length - pDCB->XoffLim
)) {
return FALSE;
}
Since pSerialHead->RxBufferInfo.Length will typically default to
RX_BUFFER_SIZE
( i.e. 2048 ) HCI_OpenConnection will return FALSE.