gsmSendFlashSMS (Function) |
Top Previous Next |
This function sends a so-called Flash/Alert SMS message over the GSM network. A Flash SMS message will appear on the receiver's mobile phone as an instant pop-up message that will not require entering a menu etc. to read. Not all mobile phones support Flash SMS messages.
Note: gsmSendFlashSMS is not designed for use with the RTCU Communication Hub.
Input: phonenumber : STRING (max length is 20, excluding " " and "-") Number to send the SMS message to (if "9999" is used, the message will be sent to a connected PC - either through a cable connection or via an active data connection).
In case the device is not connected to the GSM network, the return value will be 1.
message : STRING The actual message to send (maximum of 70 characters).
Returns: INT
Declaration: FUNCTION gsmSendFlashSMS : INT;
Example: INCLUDE rtcu.inc |