aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Stream.h
AgeCommit message (Collapse)Author
2012-05-16Adding readString() and readStringUntil() to Stream (Adrian McEwen).David A. Mellis
This isn't necessarily a particularly efficient implementation (it allocates memory one character at a time and so may lead to fragmentation) but it seems to work. http://code.google.com/p/arduino/issues/detail?id=454
2011-11-19readBytes() and readBytesUntil() handle zero bytes and return # of bytes read.David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=586
2011-10-29Protecting the version of parseInt() and parseFloat(). (Paul Stoffregen)David A. Mellis
This should allow us more flexibility in determining how to handle these functions later. For example, in specifying that initial characters shouldn't be skipped. http://code.google.com/p/arduino/issues/detail?id=698
2011-10-02Fixing warnings in Stream (Paul Stoffregen)David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=208
2011-09-09Don't consume trailing char in parseInt() and parseFloat (Paul Stoffregen).David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=624
2011-08-17A few API changes to new Stream parsing functions.David A. Mellis
Renamed readChars() -> readBytes(), readCharsUntil() -> readBytesUntil(). Changed timeouts to milliseconds from seconds; default from 5 to 1 seconds. Removed readCharsBetween().
2011-08-17Integrating Stream searching & parsing (Michael Margolis)David A. Mellis
This from Michael's TextFinder library, incorporated into the Stream class: find(), findUntil(), parseInt(), parseFloat(), readChars(), readCharsUntil(), readCharsBetween(), setTimeout().
2010-11-20SD File object implements Stream.David A. Mellis
Added peak() and available() using a single byte buffer. Added flush().
2010-08-11Making Client inherit from Stream, which unforunately means taking peek() ↵David A. Mellis
out of Stream for now, since there's no immediate implementation for Client.
2010-08-02changing available() to return an int (because the Ethernet Client class or ↵David A. Mellis
another stream might need more than 255 bytes).
2010-07-04Adding a peek() function to Stream and HardwareSerial (Serial).David A. Mellis
2010-05-28Adding a basic Stream interface and modifying HardwareSerial to inherit from it.David A. Mellis