MCPcopy Create free account
hub / github.com/SmingHub/Sming / setTimeout

Method setTimeout

Sming/Wiring/Stream.h:47–50  ·  view source on GitHub ↗

* @brief Set maximum milliseconds to wait for stream data, default is 1 second */

Source from the content-addressed store, hash-verified

45 * @brief Set maximum milliseconds to wait for stream data, default is 1 second
46 */
47 void setTimeout(unsigned long timeout)
48 {
49 receiveTimeout = timeout;
50 }
51
52 /**
53 * @brief Read data from the stream until the target string is found

Callers 1

executeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected