Arduino Function: SMS.ready

Description

Gets the status if the last GSM_SMS command.

Syntax

SMS.ready()

Returns

 Int

Note

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.


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc