GSM AT Command to send SMS

How I can configure Vbscript to deal with GSM AT Command to send SMS
  • SMS is handled the same way any other email is handled. The cell phone provider has a website to accept the SMS message to a cell phone number such as this example:

    888-555-1212@sms.sprint.com

    The message using the AT command is sent to the cellular device (GSM) as the text message, making sure that you format your AT message so that the provider can parse it to the device without extra garbage such as "[no subject]" when you leave the subject line blank; which would be meaningless to your GSM device. I would try sending SMS messages to your own cell phone until you get the exact message that you want the modem to see.

    Use the $SendEmail() function to format and send your message in the format: SendEmail(strSubject, strMessage, strTo), where:

    strSubject
    The subject of the email.
    strMessage
    The message body of the email, up to 255 characters long.
    strTo
    The email address of the intended recipient.

    You must first set up the mail functionality in InduSoft according to the information in the Help Manual (Tech Ref), which is usually used for alarming, but can be used with the $SendEmail() function as well. Sending commands to GSM modems has been used quite often using this functionality in InduSoft.

    There is a sample application on our website called "Multiple Alarm Emails" demonstrating how to set up your app for email functionality. Additionally, the Alarms Training Video (last video in Module 2) at time index 28:45 discusses setup of the email functionality in InduSoft for your application.

    I hope this information is helpful.

    Richard Clark
    InduSoft TMS

  • Depend the application and area where you area. As Richard told, there phone operator that provide service to send SMS messages. Problem is that you cannot received SMS to IWS via that way. On the other hand, you can use GMS modem connected to serial port. Then you can use RxTx driver to send command to serial port. AT commands manual should came with your modem, and also easily found with google. like this way to send message AT+CMGS=”+33146290800”<CR>tank1 level is critical: $tank1_level <ctrl-Z>