Articles Posted by the Author:

  • 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 […]


  • ready()

    ready()

    Description Gets the status of the last GSM SMS command. Syntax SMS.ready() Parameters none Returns int 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 […]


  • endSMS()

    endSMS()

    Description Tells the modem that the SMS message is complete and sends it. Syntax SMS.endSMS() Parameters none Returns int In asynchronous mode, endSMS() returns 0 if it is still executing, 1 if successful, and >1 if there is an error. In synchronous mode, it returns 1 if the previous successfully executed, and 0 if it […]


  • available()

    available()

    Description Checks to see if there is a SMS messages on the SIM card to be read, and reports back the number of characters in the message. Syntax SMS.available() Parameters none Returns int : the number of characters in the message Example See also - GSM_SMS - beginSMS() - ready() - endSMS() - remoteNumber() - […]


  • remoteNumber()

    remoteNumber()

    Description Retrieves the phone number an from an incoming SMS message and stores it in a named array. Syntax SMS.remoteNumber(number, size) Parameters number : char array, a named array that will hold the sender’s number size : int, the size of the array Returns int In asynchronous mode, remoteNumber() returns 0 if the last command […]