Hi
Having a bit of trouble getting the alerts working for my GSM modem. Here is the log:
Any ideas? Thanks in advance
Tony
tonyoh:+CMS ERROR: 38
A +CMS ERROR 38 is officially defined as "Network out of order". However, that's probably not the actual case. It may also be the modem rejecting the phone number you're sending. Can you try the phone numbers in a couple ways (11 and 10 digits) and get back to me?
tonyoh:Baud Rate: 115200
Just a quick FYI - The testing and actual paging will work a little faster if you configure the baud rate for 15200. The paging stuff is trying to figure out the right combination and it's going to use up the modem for a six extra seconds.
that seemed to do the trick. Thanks for the quick response.
regards
We've just taken delivery of a MultiTech GSM modem and I can't get it to work properly with ipMonitor 9.0.1. I can connect to it with HyperTerminal at 115200 baud, 8, N, 1 and issue AT commands successfully, but when I force a test from the SMS text pager action I get this most of the time:
0.003 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 0.446 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 0.899 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 1.352 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 1.805 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 2.258 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 2.711 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 3.165 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 3.618 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 4.071 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 4.524 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 4.977 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 5.430 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 5.883 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 6.336 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 6.789 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 7.243 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 7.696 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
About one in every ten attempts I get this:
0.002 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 0.452 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 0.905 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 1.358 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 1.811 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 2.264 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 2.717 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 2.842 secs Recv A 41 2.944 secs Recv 5.OK.. 35 0A 4F 4B 0D 0A 2.967 secs Connect Baud Rate: 1200 42 61 75 64 20 52 61 74 65 3A 20 31 32 30 30 2.967 secs Sent ATE0Q0. 41 54 45 30 51 30 0D 3.018 secs Recv A 41 3.125 secs Recv TE0Q0... 54 45 30 51 30 0D 0D 0A 3.194 secs Recv OK.. 4F 4B 0D 0A 3.217 secs Sent AT+GCAP. 41 54 2B 47 43 41 50 0D 3.386 secs Recv ..+GCAP: 0D 0A 2B 47 43 41 50 3A 3.452 secs Recv +CGSM, 20 2B 43 47 53 4D 2C 20 3.519 secs Recv +FCLASS. 2B 46 43 4C 41 53 53 0D 3.613 secs Recv ...OK.. 0A 0D 0A 4F 4B 0D 0A 4.295 secs Sent AT+CPIN?. 41 54 2B 43 50 49 4E 3F 0D 4.472 secs Recv ..+CPIN: 0D 0A 2B 43 50 49 4E 3A 4.540 secs Recv READY.. 20 52 45 41 44 59 0D 0A 4.827 secs Sent AT+CREG?. 41 54 2B 43 52 45 47 3F 0D 5.003 secs Recv ..+CREG: 0D 0A 2B 43 52 45 47 3A 5.070 secs Recv 0,1.... 20 30 2C 31 0D 0A 0D 0A 5.136 secs Recv OK.. 4F 4B 0D 0A 5.405 secs Log End Modem failed to respond after up loading message text
I've tried different baud rates and even tried the 'alerting.gsm.textmode.enable' global behaviour modifier but nothing helps.
Can anyone please help with this?
Thanks - Simon
Hello Simon,
While you're specifying to connect at 115200, the modem is actually connecting at 1200 within ipMonitor, as per the log you've included (1200 is last on the list of baud rates and parity bits to try).
Thanks!
[Edit: Asking for the DCE defaults]
Hi Peter
Thanks for your reply.
Peter.Cooper:What is the model of your modem?
MTCBA-G-F1
Peter.Cooper:Are there any other utilities (or drivers!) on the box that use the modem?
No modem drivers are installed. The modem is attached to COM1. Device Manager shows 'Intel(R) Active Management Technology - SOL' on COM3. There's a swag of business-related software installed on the system but nothing that would appear to touch serial comms or modems.
Peter.Cooper:In HyperTerminal, can you please tell me what the result of the following commands are?AT+IPR?AT+ICF?AT+IFC?
+IPR: 0+ICF: 3,4+IFC: 2,2
Peter.Cooper:Then can you recycle the power on the modem, and again in HyperTerminal, can you please tell me what the result of the following command is?AT+IPR?AT+ICF?AT+IFC?
Rgds, Simon
Hi Simon,
Your modem is set to use hardware flow control and "autobaud" at 8N1. This is good, but Multi-tech points out that their autobaud can be a little bit finicky. ipMonitor has a flavor of auto-detection, and I think that's confusing the modem.
What I want you to try is to set the baud rate on the modem to 38400 on startup.
Thanks very much. This worked first time! I just needed to add the country code to the beginning of the phone number to bring it up to 10 digits.
One small question. Does ipMonitor drop special characters likes square brackets when sending an SMS? I noticed these are missing from the received SMS message.
I just looked at the code. Yes, it's us. We're doing a translation to 7bit GSM and the implementation didn't support the values that need special escaping. There might be a historical reason behind it, but I will enter it as a bug.
Thanks again.
Dear Peter, I need the firmware of Multitech MTCBA-G-F1 .please advice