Lines Matching refs:hUART
482 if (hSession->hUART->dispatchedPackageIndex == packageIndex) { in PackageProcess()
488 hSession->hUART->dispatchedPackageIndex = packageIndex; in PackageProcess()
500 ResponseUartTrans(hSession->sessionId, ++hSession->hUART->packageIndex, in PackageProcess()
550 ssize_t sendBytes = WriteUartDev(data, length, *hSession->hUART); in SendUARTRaw()
584 if (hSession->serverOrDaemon && !hSession->hUART->resetIO) { in UartSendToHdcStream()
588 hSession->hUART->resetIO = true; in UartSendToHdcStream()
594 hSession->hUART->streamSize += head->dataSize; // this is only for debug, in UartSendToHdcStream()
596 hSession->hUART->streamSize.load()); in UartSendToHdcStream()
913 head->packageIndex = ++hSession->hUART->packageIndex; in SendUARTData()
957 hSession->hUART->streamSize.load()); in ReadDataFromUARTStream()
959 if (nread <= 0 or nread > signed(hSession->hUART->streamSize)) { in ReadDataFromUARTStream()
967 hUARTBase->ResponseUartTrans(hSession->sessionId, ++hSession->hUART->packageIndex, in ReadDataFromUARTStream()
973 hSession->hUART->streamSize -= nread; in ReadDataFromUARTStream()