Lines Matching refs:uartHandle
96 if (uartHandle >= 0) { in WatcherTimerCallBack()
127 int ret = Base::CloseFd(uartHandle); in CloseUartDevice()
139 if ((uartHandle = open(devPath.c_str(), O_RDWR | O_NOCTTY | O_NDELAY)) < 0) { in OpenUartDevice()
145 fcntl(uartHandle, F_SETFD, FD_CLOEXEC); in OpenUartDevice()
146 int flag = fcntl(uartHandle, F_GETFL); in OpenUartDevice()
148 fcntl(uartHandle, F_SETFL, flag); in OpenUartDevice()
150 if (SetSerial(uartHandle, DEFAULT_BAUD_RATE_VALUE, UART_BIT2, 'N', 1) != RET_SUCCESS) { in OpenUartDevice()
157 WRITE_LOG(LOG_DEBUG, "OpenUartdevice SerialHandle:%d fail.", uartHandle); in OpenUartDevice()
241 deamonUart.devUartHandle = uartHandle; in DeamonReadThread()
316 if (isAlive and !hSession->isDead and uartHandle >= 0 and !hSession->hUART->resetIO) { in IsSendReady()
323 } else if (uartHandle < 0) { in IsSendReady()