host/stream_comm.c
/** Send one byte to the communication stream. There is no way for this
  * function to indicate a write error. This is intentional; it
  * makes program flow simpler (no need to put checks everywhere). As a
  * consequence, this function should only return if the byte was sent
  * free of write errors.
  *
  * See streamGetOneByte() for some justification about why write errors
  * aren't indicated by a return value.
  * \param one_byte The byte to send.
  */
Send one byte to the communication stream. There is no way for this
function to indicate a write error. This is intentional; it
makes program flow simpler (no need to put checks everywhere). As a
consequence, this function should only return if the byte was sent
free of write errors.

See streamGetOneByte() for some justification about why write errors
aren't indicated by a return value.
\param one_byte The byte to send.
Send one byte to the communication stream . There is no way for this function to indicate a write error . This is intentional ; it makes program flow simpler ( no need to put checks everywhere ) . As a consequence this function should only return if the byte was sent free of write errors . See streamGetOneByte () for some justification about why write errors aren ' t indicated by a return value . \ param one_byte The byte to send .
void streamPutOneByte(uint8_t one_byte)
{
	printf(" %02x", (int)one_byte);
	if (is_test_stream)
		writeResponseByte(one_byte);
}
void streamPutOneByte ( uint8_t one_byte ) { printf ( " " , ( int ) one_byte ) ; if ( is_test_stream ) writeResponseByte ( one_byte ) ; }
Send one byte to the communication stream.
Send one byte to the communication stream .