Description GSMModem is the base class for calls that have specific diagnostic functionality with the modem. It is not called directly, but invoked whenever you use a function that relies on it. See also - begin() - getIMEI() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and […]
Description Retrieves the modem’s IMEI number. Call this after GSMModem.begin(). Syntax modem.getIMEI() Parameters none Returns String : the modem’s IMEI number Example See also - begin() 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 samples in […]
Description Tells the server to stop listening for incoming connections. Syntax server.stop() Parameters none Returns none See also - GSMServer - ready() - beginWrite() - write() - endWrite() - read() - available() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons […]
Description Listens for incoming clients Syntax server.available() Parameters none Returns int : the number of connected clients See also - GSMServer - ready() - beginWrite() - write() - endWrite() - read() - stop() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative […]
Description Read the next byte received from an attached client (after the last call to read()). read() inherits from the Stream utility class. Syntax server.read() Parameters none Returns int – The next byte (or character), or -1 if none is available. See also - GSMServer - ready() - beginWrite() - write() - endWrite() - available() […]
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 Write data to all the clients connected to a server. Syntax server.write(data) server.write(buffer) server.write(buffer, size) Parameters data: the value to write (byte or char) buffer: an array of data (byte or char) to write size: size of the buffer to write (byte) Returns byte – write() returns the number of bytes written. It is […]
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() - […]