Home
last modified time | relevance | path

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

/openthread-latest/examples/platforms/simulation/
Duart.c51 static const uint8_t *s_write_buffer; variable
168 s_write_buffer = aBuf; in otPlatUartSend()
192 otEXPECT_ACTION(s_write_buffer != NULL && s_write_length > 0, error = OT_ERROR_INVALID_STATE); in otPlatUartFlush()
194 …while ((count = write(s_out_fd, s_write_buffer, s_write_length)) > 0 && (s_write_length -= count) … in otPlatUartFlush()
196 s_write_buffer += count; in otPlatUartFlush()
202 s_write_buffer = NULL; in otPlatUartFlush()
262 rval = write(s_out_fd, s_write_buffer, s_write_length); in platformUartProcess()
266 s_write_buffer += (uint16_t)rval; in platformUartProcess()