Home
last modified time | relevance | path

Searched refs:sTxHead (Results 1 – 1 of 1) sorted by relevance

/openthread-latest/examples/apps/cli/
Dcli_uart.cpp95 uint16_t sTxHead; variable
215 if (sTxLength > kTxBufferSize - sTxHead) in Send()
217 sSendLength = kTxBufferSize - sTxHead; in Send()
228 otSysDebugUart_write_bytes(reinterpret_cast<uint8_t *>(sTxBuffer + sTxHead), sSendLength); in Send()
230 IgnoreError(otPlatUartSend(reinterpret_cast<uint8_t *>(sTxBuffer + sTxHead), sSendLength)); in Send()
239 sTxHead = (sTxHead + sSendLength) % kTxBufferSize; in SendDoneTask()
264 tail = (sTxHead + sTxLength) % kTxBufferSize; in Output()
307 sTxHead = 0; in CliUartOutput()
314 uint16_t tail = (sTxHead + sTxLength) % kTxBufferSize; in CliUartOutput()
315 uint16_t remaining = (sTxHead > tail ? (sTxHead - tail) : (kTxBufferSize - tail)); in CliUartOutput()
[all …]