Home
last modified time | relevance | path

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

/openthread-2.7.6/examples/platforms/simulation/
Duart.c49 static const uint8_t *s_write_buffer; variable
172 s_write_buffer = aBuf; in otPlatUartSend()
217 otEXPECT_ACTION(s_write_buffer != NULL && s_write_length > 0, error = OT_ERROR_INVALID_STATE); in otPlatUartFlush()
219 …while ((count = write(s_out_fd, s_write_buffer, s_write_length)) > 0 && (s_write_length -= count) … in otPlatUartFlush()
221 s_write_buffer += count; in otPlatUartFlush()
227 s_write_buffer = NULL; in otPlatUartFlush()
287 rval = write(s_out_fd, s_write_buffer, s_write_length); in platformUartProcess()
291 s_write_buffer += (uint16_t)rval; in platformUartProcess()