Home
last modified time | relevance | path

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

/openthread-3.5.0/examples/apps/cli/
Dcli_uart.cpp92 uint16_t sRxLength; variable
158 sRxBuffer[sRxLength] = '\0'; in ReceiveTask()
174 if (sRxLength > 0) in ReceiveTask()
177 sRxBuffer[--sRxLength] = '\0'; in ReceiveTask()
183 if (sRxLength < kRxBufferSize - 1) in ReceiveTask()
186 sRxBuffer[sRxLength++] = static_cast<char>(*aBuf); in ReceiveTask()
200 while (sRxLength > 0 && (sRxBuffer[sRxLength - 1] == '\n' || sRxBuffer[sRxLength - 1] == '\r')) in ProcessCommand()
202 sRxBuffer[--sRxLength] = '\0'; in ProcessCommand()
206 sRxLength = 0; in ProcessCommand()
377 sRxLength = 0; in otAppCliInit()