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 it has not.

See also

- GSM_SMS
- beginSMS()
- endSMS()
- available()
- remoteNumber()
- read()
- write()
- print()
- peek()
- flush()


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 the public domain.