Articles Posted in the " " Category

  • endWrite()

    endWrite()

    Description Stops writing data to a server Syntax client.endWrite() Parameters none Returns none See also - GSMClient - ready() - connect() - beginWrite() - write() - connected() - read() - available() - peek() - flush() - stop() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is […]


  • write()

    write()

    Description Write data to the server the client is connected to. Syntax client.write(data) client.write(buffer) client.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 […]


  • beginWrite()

    beginWrite()

    Description Tells the client to start writing to the server it is connected to. Syntax client.beginWrite() Parameters none Returns none See also - GSMClient - ready() - connect() - write() - endWrite() - connected() - read() - available() - peek() - flush() - stop() Libraries Reference Home The text of the 86Duino reference is a […]


  • connect()

    connect()

    Description Connects to a specified IP address and port. The return value indicates success or failure. Syntax client.connect(ip, port) Parameters ip: the IP address that the client will connect to (array of 4 bytes) port: the port that the client will connect to (int) Returns boolean : Returns true if the connection succeeds, false if […]


  • ready()

    ready()

    Description Gets the status of the last command Syntax client.ready() Parameters none Returns In asynchronous mode, ready() returns 0 if the last command is still executing, 1 if it was successful, and >1 if there is an error. In synchronous mode, it returns 1 if the previous successfully executed, and 0 if it has not. […]


  • Client

    Client

    Description Client is the base class for all GPRS client based calls. It is not called directly, but invoked whenever you use a function that relies on it. See also - ready() - connect() - beginWrite() - write() - endWrite() - connected() - read() - available() - peek() - flush() - stop() Libraries Reference Home […]


  • GPRS constructor

    GPRS constructor

    Description GPRS is the base class for all GPRS functions, such as internet client and server behaviors. See also - attachGPRS() 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 the reference are released into […]


  • attachGPRS()

    attachGPRS()

    Description Connects to the specified Access Point Name (APN) to initiate GPRS communication. Every cellular provider has an Access Point Name (APN) that serves as a bridge between the cellular network and the internet. Sometimes, there is a username and password associated with the connection point. For example, the Bluevia APN is bluevia.movistar.es, but it […]


  • GSM_SMS constructor

    GSM_SMS constructor

    Description GSM_SMS is the base class for all GSM functions relating to receiving and sending SMS messages. See also - beginSMS() - ready() - endSMS() - available() - remoteNumber() - read() - write() - print() - peek() - flush() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, […]


  • beginSMS()

    beginSMS()

    Description Identifies the telephone number to send an SMS message to. Syntax SMS.beginSMS(number) Parameters number : char array, the phone number to send the SMS to Returns int In asynchronous mode, beginSMS() returns 0 if the last command is still executing, 1 if success, and >1 if there is an error. In synchronous mode, it […]