Age | Commit message (Collapse) | Author |
|
|
|
Stream::parseInt & Stream::parseFloat previously had protected
overloads which allowed skipping a custom character. This commit
brings this feature to the public interface.
To keep the public API simpler, the single paramter overload remains
protected. However its functionality is available in the public
interface using the two parameter overload.
|
|
Its default is SKIP_ALL which reflects previous versions.
However SKIP_NONE, and SKIP_WHITESPACE can refine this behaviour.
A parameter used in the protected overloads of parseInt/Float has been
changed from `skipChar` to `ignore`.
|
|
prefixed by an '.' character. Previously the preceeding zero must be
present: '0.'
|
|
|
|
let's not expose it until the API is not accepted
widely by the dev mailing list
|
|
PR #2696 without timeout-related changes
|
|
The new functions just call their char* equivalents, but this allows
reading bytes into a buffer of uint8_t as well as chars.
|
|
private.
This allows better optimization on classes that extends Stream without losing
timeout capabilities.
|
|
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
|
|
http://code.google.com/p/arduino/issues/detail?id=586
|
|
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
|
|
http://code.google.com/p/arduino/issues/detail?id=208
|
|
http://code.google.com/p/arduino/issues/detail?id=624
|
|
Renamed readChars() -> readBytes(), readCharsUntil() -> readBytesUntil().
Changed timeouts to milliseconds from seconds; default from 5 to 1 seconds.
Removed readCharsBetween().
|
|
This from Michael's TextFinder library, incorporated into the Stream class: find(), findUntil(), parseInt(), parseFloat(), readChars(), readCharsUntil(), readCharsBetween(), setTimeout().
|
|
Added peak() and available() using a single byte buffer.
Added flush().
|
|
out of Stream for now, since there's no immediate implementation for Client.
|
|
another stream might need more than 255 bytes).
|
|
|
|
|