Lines Matching refs:hUART
484 if (hSession->hUART->dispatchedPackageIndex == packageIndex) { in PackageProcess()
490 hSession->hUART->dispatchedPackageIndex = packageIndex; in PackageProcess()
502 ResponseUartTrans(hSession->sessionId, ++hSession->hUART->packageIndex, in PackageProcess()
552 ssize_t sendBytes = WriteUartDev(data, length, *hSession->hUART); in SendUARTRaw()
586 if (hSession->serverOrDaemon && !hSession->hUART->resetIO) { in UartSendToHdcStream()
590 hSession->hUART->resetIO = true; in UartSendToHdcStream()
596 hSession->hUART->streamSize += head->dataSize; // this is only for debug, in UartSendToHdcStream()
598 hSession->hUART->streamSize.load()); in UartSendToHdcStream()
915 head->packageIndex = ++hSession->hUART->packageIndex; in SendUARTData()
959 hSession->hUART->streamSize.load()); in ReadDataFromUARTStream()
961 if (nread <= 0 or nread > signed(hSession->hUART->streamSize)) { in ReadDataFromUARTStream()
969 hUARTBase->ResponseUartTrans(hSession->sessionId, ++hSession->hUART->packageIndex, in ReadDataFromUARTStream()
975 hSession->hUART->streamSize -= nread; in ReadDataFromUARTStream()