Articles Posted by the Author:

  • read()

    read()

    Description Reads a byte from an SMS message. read() inherits from the Stream utility class. Syntax SMS.read() Parameters none Returns int – the first byte of incoming serial data available (or -1 if no data is available) Example See also - GSM_SMS - beginSMS() - ready() - endSMS() - available() - remoteNumber() - write() - […]


  • write()

    write()

    Description Writes a character to a SMS message. Syntax SMS.write(val) Parameters val: a character to send in the message Returns byte – write() will return the number of bytes written, though reading that number is optional Example See also - GSM_SMS - beginSMS() - ready() - endSMS() - available() - remoteNumber() - read() - print() […]


  • print()

    print()

    Description Writes a char array as a SMS message. Syntax SMS.print(message) Parameters message: char array, the message to send Returns int : the number of bytes printed Example See also - GSM_SMS - beginSMS() - ready() - endSMS() - available() - remoteNumber() - read() - write() - peek() - flush() Libraries Reference Home The text […]


  • peek()

    peek()

    Description Returns the next byte (character) of an incoming SMS without 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 SMS.peek() Parameters none Returns int – the first byte available of a SMS […]


  • flush()

    flush()

    Description flush() clears the modem memory of any sent messages once all outgoing characters have been sent. flush() inherits from the Stream utility class. Syntax SMS.flush() Parameters none Returns none Example See also - GSM_SMS - beginSMS() - ready() - endSMS() - available() - remoteNumber() - read() - write() - print() - peek() Libraries Reference […]


  • GSMVoiceCall constructor

    GSMVoiceCall constructor

    Description GSMVoiceCall is the base class for all GSM functions relating to receiving and making voice calls. See also - getVoiceCallStatus() - ready() - voiceCall() - answerCall() - hangCall() - retrieveCallingNumber() 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 […]


  • getVoiceCallStatus()

    getVoiceCallStatus()

    Description Returns status of the voice call. Syntax voice.getVoiceCallStatus() Parameters none Returns char : IDLE_CALL, CALLING, RECEIVINGCALL, TALKING Example See also - getVoiceCallStatus() - ready() - voiceCall() - answerCall() - hangCall() - retrieveCallingNumber() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative […]


  • ready()

    ready()

    Description Reports if the previous voice command has executed successfully Syntax voice.ready() Parameters none Returns int In asynchronous mode, ready() returns 0 if the last command is still executing, 1 if there is success, and >1 in case of an error. In synchronous mode, it returns 1 if it executed successfully, 0 if not. See […]


  • voiceCall()

    voiceCall()

    Description Places a voice call to a specified number. The methods returns different information depending on the GSM connection mode (synchronous or asynchronous). See below for details. Syntax voice.voiceCall(number) Parameters number : char array. The number to call. Returns int In asynchronous mode, voiceCall() returns 0 if last command is still executing, 1 if successful, […]


  • answerCall()

    answerCall()

    Description Accepts an incoming voice call. The method returns are different depending on the modem mode (asynchronous or synchronous), see below for details. Syntax voice.answerCall() Parameters none Returns int In asynchronous mode, answerCall() returns 0 if last command is still executing, 1 if successful, and >1 in case of an error. In synchronous mode, it […]