Release 0.3.1

=============

Enhancements
~~~~~~~~~~~~

* added helper UARTService::writeString() to simplify writing of strings.

Bugfixes
~~~~~~~~

none.
This commit is contained in:
Rohit Grover 2015-03-27 08:14:32 +00:00
parent c936446c42
commit 1d21e85a06

View file

@ -127,6 +127,15 @@ public:
return origLength;
}
/**
* Helper function to write out strings.
* @param str The received string.
* @return Amount of characters appended to the rxCharacteristic.
*/
size_t writeString(const char *str) {
return write(str, strlen(str));
}
/**
* Override for Stream::_putc()
* @param c