예제 #1
0
void
dmx512::Usart1::writeBlocking(const uint8_t *data, std::size_t length)
{
	while (length-- != 0) {
		writeBlocking(*data++);
	}
}
예제 #2
0
void SerialPort::writeString(const char* string)
	{
	writeBlocking(strlen(string),string);
	}
예제 #3
0
 std::auto_ptr<protocol::ClientMessage> Connection::sendAndReceive(protocol::ClientMessage &clientMessage) {
     writeBlocking(clientMessage);
     return readBlocking();
 }