Description Tells the server to stop writing to connected clients. Syntax server.endWrite() Parameters none Returns none See also - GSMServer - ready() - beginWrite() - write() - read() - available() - stop() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons […]
Description Begins writing to connected clients. Syntax server.beginWrite() Parameters none Returns none See also - GSMServer - ready() - write() - endWrite() - read() - available() - stop() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code […]
Description Get last command status to the server Syntax server.ready() Parameters none Returns int – 0 if last command is still executing, 1 if success, >1 if an error. See also - GSMServer - beginWrite() - write() - endWrite() - read() - available() - stop() Libraries Reference Home The text of the 86Duino reference is […]
Description Server is the base class for all GPRS server based calls. It is not called directly, but invoked whenever you use a function that relies on it. Syntax GSMServer server(port); Parameters port: int, the port the server will accept connections on. The default web port is 80. See also - ready() - beginWrite() - […]
Description Disconnects from the server Syntax client.stop() Parameters none Returns none Example See also - GSMClient - ready() - connect() - beginWrite() - write() - endWrite() - connected() - read() - available() - peek() - flush() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed […]
Description Discards any bytes that have been written to the client but not yet read. flush() inherits from the Stream utility class. Syntax client.flush() Parameters none Returns none See also - GSMClient - ready() - connect() - beginWrite() - write() - endWrite() - connected() - read() - available() - peek() - stop() Libraries Reference Home […]
Description Returns the next byte (character) of an incoming message removing it from the message. That is, successive calls to peek() will return the same character, as will the next call to read(). peek() inherits from the Stream utility class. Syntax client.peek() Parameters none Returns int – the next byte in an incoming message. See […]
Description Returns the number of bytes available for reading (that is, the amount of data that has been written to the client by the server it is connected to). available() inherits from the Stream utility class. Syntax client.available() Parameters none Returns The number of bytes available. Example See also - GSMClient - ready() - connect() […]
Description Read the next byte received from the server the client is connected to (after the last call to read()). read() inherits from the Stream utility class. Syntax client.read() Parameters none Returns int – The next byte (or character), or -1 if none is available. Example See also - GSMClient - ready() - connect() - […]
Description Returns whether or not the client is connected. A client is considered connected if the connection has been closed but there is still unread data. Syntax client.connected() Parameters none Returns boolean – Returns true if the client is connected, false if not. Example See also - GSMClient - ready() - connect() - beginWrite() - […]