Gateway installation

Gateway installation SearchSearch
Author Message
nelson
Posted on Wednesday, June 18, 2003 - 11:50 am:   

When setting up the GSM modem, it show the message "modem doesn't support the sms", the faq say it means at+smsc=0 command failed, but i can issue at+smsc=0 command and result is ok, please tell me if i miss something must do or just change another modem ?

thank you --
Bryce Norwood - NowSMS Support
Posted on Wednesday, June 18, 2003 - 06:12 pm:   

Nelson,

Make sure that you have NowSMS configured to talk to the correct modem. Also, see if it makes a difference selecting a named driver for the modem vs. selecting the named COM port directly.

What response do you see to the following commands if you issue them against the modem in HyperTerminal?

AT+CSMS=0

AT+CSMS=?

AT+CSMS?

AT+CMGF=0

-bn
nelson
Posted on Thursday, June 19, 2003 - 02:36 am:   

Dear Bryce,
I select a named COM port directly because when i select a named COM port it shows the msg "Initialised modem at 19200 bps" then shows the msg "modem does not support SMS--Error" but it shows "modem does not support SMS--Error" directly when i select a named driver for the modem.

The response is:
1. AT+CSMS=0
+CSMS: 1,1,1
OK

2. AT+CSMS=?
+CSMS: (0,1)
OK

3. AT+CSMS?
+CSMS: 0,1,1,1
OK

4. AT+CMGF=0
OK

- nelson
Bryce Norwood - NowSMS Support
Posted on Thursday, June 19, 2003 - 04:30 am:   

Nelson,

This has me stumped. The error message that you are getting indicates that we received the response "Error" to our issuing of the command "AT+CSMS=0". (The text after "modem does not support SMS--" is the actual text that we got back from the modem in response to this particular command.)

This sequence occurs after we have successfully sent other commands to the modem, so we seem to be talking to the modem ok, but the modem gives us an "Error" in response to this command.

I spent some time with HyperTerminal just now, trying to see if there is anything unusual about how HyperTerminal works. By default, HyperTerminal sends a "Carriage Return" character only when you press Enter ... which is the same we we terminate a command to the modem.

What kind of modem is this?

Does it have a PIN configured on it? (You might need to disable the PIN before we can use it ... although we've added support for PINs in the next release.)

Based upon the responses that you're getting back in HyperTerminal, I can't see any reason why this modem would not work.

I'm going to think about this some more ... but if you could tell me what type of modem this is, maybe I can find some technical specs for it somewhere.

-bn
nelson
Posted on Thursday, June 19, 2003 - 11:43 am:   

Dear Bryce:

G1-GSM/GPRS CompactFlash Card(Chi Mei Communication System)...
After many trys, it works finally, but i find the SMSC connection through GSM modem is very unstable, gateway show "Error: Error initializing SMSC interface 'COM4:', Interface is not available" frequently. I spent much time to re-setup modem connection. If lucky, after try more than 10 times, maybe it can work again ...:-(

Bryce Norwood - NowSMS Support
Posted on Thursday, June 19, 2003 - 04:26 pm:   

Hmm ...

You might have better luck through the modem driver (as opposed to the direct COM port connection). The only reason I suggest this is because the direct COM port connection tries different speeds to figure out at which speed to talk to the modem (that is why you see "modem initialised at 19200 bps" when you select the COM port), whereas with the modem driver approach, the speed configured for the modem in the Control Panel is the speed that is always used.

This process could be confusing the modem (although I'd really be surprised if it was).

Take a look at the SMSOUT-yyyymmdd.LOG file to see what the actual initialisation error is that is occurring. I'm wondering if it is the same error "modem does not support SMS", or if it is a different error.

And I wonder if we are just talking to the modem too fast? I don't mean in terms of the connection speed ... but maybe the modem needs some extra time wait between commands.

Let me think about how we could do this.

-bn