Using a GSM Modem to Set Up SMS Text Messaging
Before You Begin
This Help/FACTS describes the process of setting up one-way SMS text messaging using the following:
- A Multitech wireless multi-modem GPRS, model MTCBA-G-F4. This type of modem uses a Subscriber Identity Module (SIM) card instead of a phone line.
- A device, such as a cell phone, Blackberry, or PDA, that accepts text messages.
- Robot/ALERT version 5.43, or higher.
Part 1: Create a Modem Type Communication Job
Do the following to create a communication job for the modem:
- Start Robot/ALERT and select 6, System Setup Menu, 2, Maintain Communication Jobs, and press function key 6 to create a communication job.
- When the Communication Job panel displays, you can use the default values to define your job except for the items shown below.
- Press Enter and function key 3 when you are finished.
|
Communication Job Description: Enter a description for the job (optional). Resource Name: Specify the resource the modem will use (press function key 4 for a list of the available resources on your system). Modem Initialization String: Specify a new value for the modem initialization string. In this example, we used the string ATTE0M1S0=10. |
Use Robot/GUIDE to Create a Vendor
Do the following to create a vendor for the modem:
- From the Robot/ALERT Administration Menu, select 3, Directory Menu, 1, Vendor Maintenance Menu, and 1, Create Vendor Using Robot/GUIDE.
- When the Robot/GUIDE Automated Vendor Setup panel displays, enter the information to create your vendor.
- Press Enter and select a protocol from the Robot/GUIDE Automated Vendor Setup panel.
- Press Enter and enter the modem phone number.
- Press Enter twice to continue and to create the device. On the Device panel enter information to describe the device that will receive the text messages.
- Press function key 3, select option 2, Maintain Existing Vendors, locate your vendor and use option 1, Select, to edit the vendor information from the Maintain Vendor panel.
- Select option 2, Advanced Information to edit the other vendor information from the Maintain Vendor panel. When you are finished, press Enter to save your changes.
|
|
Vendor Name: Enter the name of the vendor. Vendor Description: Enter a description of the vendor (optional). Country Code: Press function key 4 to prompt the country code and select All Countries. Service Type: Specify the Service Type as Two-way (2). Note: You must specify two-way even though Robot/ALERT currently only supports one-way. |
|
|
Enter a 1 in the Opt column select the SMS2ENH285 SMS 2-way enhanced protocol for CSSID 285. |
|
|
Enter the phone number for the modem. Note: In our tests, we used the number of the Service Center for our text message device. |
|
|
Description: Enter the name of the device, a description (optional), and the name of the department to which the device is assigned (optional). Phone Number: Enter the phone number for the cell phone or device that will receive the message. |
|
|
Line Speed: Change the Line Speed (baud rate) to 1200 and press Enter. |
|
|
Parity: Change the Parity to NONE. No. of Data Bits per Character: Change the No. of Data Bits per Character value to 8. |
Part 3: Configure Your SMS Vendor
Before you configure your SMS vendor, be sure the following items are true:
- The Robot/ALERT library, RBTALRLIB, is in your library list.
- The communication job you created earlier must be inactive (INACT).
- The controller (CTL), device (DEV), and line (LIN) that you specified must be varied off.
Do the following to configure your SMS vendor using a Robot/ALERT command:
- From a System i command line, enter the Robot/ALERT command RBACFGSMS and press function key 4.
- When the Configure SMS 2-Way terminal (RBACFGSMS) panel displays, enter the correct values.
- Press Enter when you are finished.
|
|
Communication Job Name: Enter the name of the communication job you created. Vendor Name: Enter the name of the vendor you created. Configure: Enter 1 to configure the vendor and press Enter. If the command runs successfully, you will see a confirmation message. |
Part 4: Acknowledge the Message
Currently, Robot/ALERT supports one-way SMS text messaging only. Because we must specify a two-way protocol, the message will repeat. There are many ways you can acknowledge the message to prevent it from repeating. Two of these methods are described below.
Using the Send Message Command (RBASNDMSG)
If you use the Robot/ALERT RBASNDMSG command to send the message, change the value in the Response Required field to *NO to prevent the message from repeating.
|
|
Response Required: Change the value of the Response Required field to *No. |
Using the Acknowledge Device Message Command (RBAACK)
You can use the Robot/ALERT RBAACK command to acknowledge the message and prevent it from repeating.
- Enter the command RBAACK from a command line and press function key 4.
- You can select values to limit acknowledgement by device ID, vendor name, message number, or message text. Use *ALL for all pending messages. Press Enter when you are finished.
|
|
You can limit messages acknowledged by device ID, vendor name, message number, or message text. Use *ALL (the default value) to acknowledge all messages. |




