======send_sms====== WMPRO, WMMINI FW >= 1.1094 WMMEGA FW >= 2.1094 Send an SMS through a USB cellular dongle ====Description==== int send_sms ( string $number , string $message ) This function attempts to send an SMS using a connect cellular dongle. This assumes that the dongle has already been recognized by [[hardware:wattmons|Wattmon]] and that it has established a CDC connection. This will disconnect any Internet session (TCP/IP or otherwise), send the SMS and then restart the dongle. ====Parameters==== $number: Valid phone number $message: Message to be sent as SMS ====Return Values==== * Integer 1 for success and 0 for error ====Example==== ===Send an sms===