SMSX Modem FAQ
From Datataker
SMSX GSM/GPRS Modem Frequently Asked QuestionsHow do I setup my SMSX Modem?
- Use your SIM card in standard GSM phone and check you can send and receive SMS messages.
- The SIM card should be configured with a ‘Terminating data number’
- The network support should be set to Siemens MC35 because this is the GSM device which is the engine for the SMSX modem
- If you have a choice use a ‘non-transparent’ data connection
- Insert the SIM card
- Connect the Aerial
- Connect the Power. The SMSX Module can be powered from the same data source as the Logger. The 11~28V terminals (DT80/81/800) or the +/- 6V Bat terminal are appropriate (50/500/600)
- Connect the SMSX module to your PC using a standard One-one serial cable
- Load Detransfer and create a 9600,N,8,1 XonXoff Generic connection
- Connect to the SMSX modem
Can I set up my modem through the DT80?
Yes you can, you should use the SSDIRECT mode to do so (host port function must = SERIAL)
eg.
SSDIRECT 2 "^M^J" ETSEND=ATS0=1 ENDSSDIRECT
The above enters SSDIRECT mode with a forced CR LF at the end of each typed line, issues the command ETSEND=ATS0=1 and closes SSDIRECT mode. Remember to change the host port function back to COMMAND afterwards.
How can I test my SMSX modem?
Type ET&V in DeTransfer Response ET&V ACTIVE PROFILE: E1 P0 PR0 PSR0 PM0 LPP:0/540
Type ETI in DeTransfer Response ETI ID:SMSx ETM9500 RTC:02/01/01,00:30:19 REFDATE:2005-01-21,2053 TOTAL:0:30:19 RSTIN:0:00:00 RC SW:0 PU:4613 SW#:SW951B373R06 20050524 CT1034 HW#:95*N/A SIGNAL:16 MIN:14 MAX:17 SUPPL VOLT:7.15V CHANN:23 RS:29 dBm:-81 CELL:3
Send An SMS message to the Voice number Response in DeTransfer Test Message (or whatever the message is!)
Type ET-SMS=0|Reply Message|P0|90 Response in DeTransfer
You should receive a reply on your mobile phone (Note: the phone number P0 indicates the last received phone number.. you could try using you number directly)
What extra commands can be sent to the SMSX modem?
There are special commands which can be sent to the modem via SMS. These commands can be useful at different times. ETRVL Check Voltage Level
ETSEND=xxxxx Sends one AT-command (xxxxx) to the module eg. ETSEND=ATS0=1 changes the automatic answer setting to 1 ring
ETRSL Check signal level
ET&SR System Reset (No reply)
ETI SMSX Information
SMSX Dial In Test
- Run a second version of DeTransfer.
- Create a connection to the ‘standard modem’ connected to your PC and enter the data number of the SMSX modem
- Click the connect button. This will cause the PC modem to dial and connect to the SMSX modem.
- When the connection is made information type in one deTransfer screen will be display in the second.
- That is because data is being sent across the link between the two instances of DeTransfer
SMSX 50/500/600 Configuration
- Use a Mod-3 communications cable. Be careful because this cable can be installed in reverse.
- Because the default communications rate set on the logger is the same as the SMSX module no special requirements are needed
SMSX 80/800 Configuration
- Use a standard one to one communications cable
- Modify the profile (After connecting to the logger click DataTaker>Profile to open the appropriate dialog box)
In the Host Port Tab set Baud Rate 9600 Flow Software In the Modem Tab clear Dial Init
Click Close. You will be asked to reset the logger... select Yes
SMSX SMS message commands
| SMS message Command | Comment |
|---|---|
| ET-SSC=<number><CR> | This command sets or changes the SMS central phone number |
| ET-SSP=<number>,<number>,etc.<CR> | This command sets the internal phone directory. These numbers are accessed by using P1 P2 etc. P0 refers to the phone number of the last SMS message received |
| ET-SSR=TO|93CV=93CV+1<CR> | A receipt was not received within the time out period |
| ET-SSR=OK|92CV=92CV+1<CR> | A receipt has been received within the time out period |
| ET-SMS=<Type>|<MessageText>| <PrimaryPhoneNumberList>|<PrimaryReceiptTimeout>| <SecondaryNumberList>|<Secondary ReceiptTimeout> | E.g. ET-SMS=0|Message ^J|P1|60<cr>
Expected order of parameters:
|
SMSX 50/500/600 Dial In
Once it has been configured the SMSX modem will behave for dial in data download.
SMSX 50/500/600 Dial Out
The 50/500/600 series loggers do not support dial out applications without a modem manager.
SMSX 50/500/600 ALARMS
- A typical logger program including an alarm.
BEGIN
RA1S
1TK("Temp1",=1CV)
RZ1S HZ
ALARM1(1CV>30)"Alarm High ? DegC at @ #"
END
G LOGON
- The program setup to deliver an SMS message
BEGIN
RA1S
1TK("Temp1",=1CV)
RZ1S HZ
ALARM1(1CV>30)"[/Z/h/r Q]"
ALARM2(1CV>30\1S)“ET-SMS=0|Alarm High ? DegC at @ #|0409328288|90^M"
END
G LOGON
- The logger will send the reply
ET-SMS=0|Alarm High 35.162 DegC at 14:16:32 15/06/2005|0409328288|90
SMSX 50/500/600 RESPONSE
- A typical logger program.
BEGIN
RA1S
1TK("Temp1",=1CV)
END
G LOGON
- The program modified to generate a report with an X command. If connect to DeTransfer using and experiment with the program the debugging time is greatly reduced
K1="X",[/Z/h/r Q 90CV(W)=-99999]
BEGIN
90CV(W)=99999
RA1S
1TK("Temp1",=1CV)
RZ1S
ALARMR1(1CV>90CV/6S)1WARN"ET-SMS=0|Current Temp ? DegC at @ #|P0|90^M[90CV(W)=99999]"
END
G LOGON /r
PASSWORD="Fred"
SIGNOFF
- This produces the response
ET-SMS=0|Current Temp 25.221 DegC at 16:43:51 15/06/2005|P0|90
SMSX 50/500/600 RESPONSE Problems
- We must have a delay between the logger receiving the character and it generating a response. I have allowed 6 seconds in the above program
- Make sure your message is less that 160 characters. It is VERY easy to generate messages longer than this. The SMSX module IGNORES SMS messages longer than 160 characters!
- When the logger is asleep. YOU MUST SEND 2 SMS messages to it. One wakes it up the second is to generate the message. This is done on the phone by sending the message with the X to a group which includes the phone number of the SMSX module twice!!!..
SMSX 80/800 Dial In
Once it has been configured the SMSX modem will behave for dial in data download.
SMSX 800/80 series loggers. Dial Out from the logger
Unfortunately, the SMSx modem doesn't appear to the logger as a modem because it doesn't consistently keep its DSR line active. For this reason, the DIAL command will not work.
The following logger program indicates the general method used to dial out. The DO'etsend=atd<phone-number>^M^J' command will cause the SMSx modem to dial out.
BEGIN"dialout"
RA1S ALARM1(1CV>10){XB}
RBX DELAY=3000 DO'etsend=atd97533753^M^J'
END
What the logger does when a call is established is set by the application running on the PC which is being dialed
SMSX 80/800 ALARMS
- A typical logger program including an alarm.
BEGIN"JOB1"
RA1S LOGONA GA
1TK("Temp")
ALARM1(1TK>30.)"High Temp = ?DegC"
END
- The program setup to deliver an SMS message
BEGIN"JOB1"
RA1S LOGONA GA
1TK("Temp",=1CV)
ALARM1(1CV>30.)"High Temp = ?DegC"{[X]}
RX
DO{[/Z/h/r Q]}
DO'ET-SMS=0|Alarm High ?1F1 DegC at @ #|0409328288|90^M'
DELAY=6000
END
Note: the single quotes mean the message will be sent out the serial port. Not the default communications port which is the normal case
- The logger will send the reply
ET-SMS=0|Alarm High 35.162 DegC at 14:16:32 15/06/2005|0409328288|90
SMSX 80/800 RESPONSE
- A typical logger program.
BEGIN"JOB1"
RA1S LOGONA GA
1TK("Temp")
END
- The program modified to generate a report with an X command. If connect to DeTransfer using and experiment with the program the debugging time is greatly reduced
BEGIN"JOB1"
RA1S LOGONA GA
1TK("Temp",=1CV)
RX
DO{[/Z/h/r Q]}
DO'ET-SMS=0|Current Temp ?1F1 DegC at @ #|P0|90^M'
DELAY=6000
END
- This produces the response
ET-SMS=0|Current Temp 25.221 DegC at 16:43:51 15/06/2005|P0|90
SMSX 80/800 RESPONSE Problems
- We must have a delay between the logger receiving the character and it generating a response. I have allowed 6 seconds in the above program
- Make sure your message is less that 160 characters. It is VERY easy to generate messages longer than this. The SMSX module IGNORES SMS messages longer than 160 characters!
- When the logger is asleep. YOU MUST SEND 2 SMS messages to it. One wakes it up the second is to generate the message. This is done on the phone by sending the message with the X to a group which includes the phone number of the SMSX module twice!!!..
SMSX reconfiguring the modem
- The SMSX module is delivered fully configured. However if there is a problem This covers the method of reconfiguring/ checking the SMS module
- The program used to re-configure the SMSX modem is the ‘Configuration Tool’.
- There are different versions of the configuration tool. To modify your modem YOU MUST use the version of the configuration tool displayed by the firmware.
- You can determine the version of the configuration tool to use by sending an SMS to the voice phone number of the modem containing ETI
The main settings are as follows
- Alarm/Message Panel
Uncheck Use incomming SMS security filter
- Serial Comm Panel
Set to 9600 Xon Xoff
- Internet Panel
Uncheck connect to ISP at startup
- Main Init
Check Default Option: ET Cmd Uncheck all items in Active Profile Set AT command table to ATE0 ATQ1 AT&D0 ATS0=1 AT\Q1 AT+CSNS=1
Note if a SIM PIN number is needed it is entered here...
Run the correct version of the configuration tool.
We need to connect to the modem.
This can be achieved in 2 ways
1. Connect the SMSX modem directly to the PC
2. Dial the SMSX modem using the internal PC modem
Connect the SMSX modem directly to the PC Plug the SMSX modem directly to an appropriate communications port on the PC Select the appropriate communications port on
Dial the SMSX modem using the internal PC modem Establish the communications port used by your modem
Select that communications Port in the configuration tool
Select the terminal Tab AT should give you an OK response
Type ATD0409328288 the data number of the remote SMSX module When a ‘Connect’ statement is displayed we are connected to the remote SMSX module
Select EEPROM>ReadEEPROM
The configuration of the remote or local SMSX module will be read.
How Do I load the Default Configuration File?
Connect the ETM 9500 to the PC serial port with a modem cable with a 9 pin male/female connector.
Open version 12.10 of the ETM Configuration Tool. The ETM Configuration Tool uses COM Port 1 as the default COM Port. If you are not using COM Port 1 to connect to the terminal, click on the Serial COM tab, and select the appropriate port from the drop down menu.
Once you have a COM Port open, select the terminal tab. Then click in the text window.
Supply power to the ETM 9500 terminal. Immediately as you connect the power, press the ‘Esc’ key. This will display the current firmware version.
If the firmware is not 12.10 you will need to upgrade before using these files.
Select File then Open. Then browse to select the Config text file. Select either dt5xx1210.etx for the 5xx series or dt8xx1210.etx for 8xx series.
These files can be downloaded from the dataTaker web page at http://www.datataker.com/downloads/index.html Under the section Other Products.
The Select EEPROM from the menu. Then click writeeeprom.
When writing has been completed. Then modem will have to be reset to load the current configuration.
How do I Upgrade the Firmware?
Connect the ETM 9500 to the PC serial port with a modem cable with a 9 pin male/female connector.
Open ETM Configuration Tool 12.10. The ETM Configuration Tool uses COM Port 1 as the default COM Port. If you are not using COM Port 1 to connect to the terminal, click on the Serial COM tab, and select the appropriate port from the drop down menu.
Once you have a COM Port open, select the terminal tab. Then click in the text window.
Supply power to the ETM 9500 terminal. Immediately as you connect the power, press the ‘Esc’ key. This will display the current firmware version. Before you close the configuration tool. You need to put the ETM9500 in the bootstrap loader mode. In the terminal window, type the following command: et&bsl followed by a CR (Enter). All the LEDs will turn on at the same time indicating that the ETM 9500 is in bootstrap loader mode.
Then you must close the COM port by clicking on COMPort:COMx OPEN.
Open the ETM 9500 Bootstrap loader program Flash9500 v3.4 tool.
The COM port is defaulted to COM1. To change this, click on settings - Communication - and then select the appropriate COM Port.
Click on browse, and select the Bootloader text file. Etm9500GPRS SW951B495R06 20060206 CT1210.txt
The firmware can be downloaded from the dataTaker web page at http://www.datataker.com/downloads/index.html Other Products.
Once the file is opened, click Flash Download.
When the flashing is completed, you must close the program to clear the COM Port.
How do I stop Spam SMS messages?
Spam SMS messages set to the dataTaker via an SMS modems can some times be interpreted as valid dataTaker commands. This can cause erratic behavior.
Setting a password will cause the dataTaker to ignore all incoming text unless the password in entered. You must remember to include the password when you define the connection in your software.

