WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

messageWaiting

Test if a message has been received.
This will return 0 if there is no message waiting, otherwise it is the SIM slot message index that should be passed into readMessage() to read the contents of the message.
Syntax
DroneCell. messageWaiting()
Where DroneCell is the name you have given to the device in Project Designer.
Parameters
None
Returns
uint8_t
Note
Having read the message you will probably need to delete it. Failure to do so will mean that the SIM card will eventually become full.

 

 

Valid XHTML 1.0 Transitional