SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Tue Apr 16, 2024 15:28
SMSTools3 Community » Help and support Bottom

USB GPRS Modem China: G-388U fails with my commands

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Jul 2011
Location: Germany
Operating system name and version: Ubuntu 11.10
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: USB GPRS Modem China: G-388U
Interface: USB

I have ordered a cheap china modem, but using it fails (the same works fine for EST-600U):

2011-11-23 19:55:44,5, GSM-Modem: Using check_memory_method 31: CMGL is used and messages are taken from the list.
2011-11-23 19:55:44,6, GSM-Modem: Checking device for incoming SMS
2011-11-23 19:55:44,6, GSM-Modem: Checking if modem is ready
2011-11-23 19:55:44,7, GSM-Modem: -> AT
2011-11-23 19:55:44,7, GSM-Modem: Command is sent
2011-11-23 19:55:44,7, GSM-Modem: -> AT
2011-11-23 19:55:44,7, GSM-Modem: Command is sent, waiting for the answer
2011-11-23 19:55:46,7, GSM-Modem: <- AT OK AT OK
2011-11-23 19:55:46,6, GSM-Modem: Pre-initializing modem
2011-11-23 19:55:46,7, GSM-Modem: -> ATE0+CMEE=1;+CLIP=1;+CREG=2
2011-11-23 19:55:46,7, GSM-Modem: Command is sent, waiting for the answer
2011-11-23 19:55:47,7, GSM-Modem: <- ATE0+CMEE=1;+CLIP=1;+CREG=2 OK
2011-11-23 19:55:47,6, GSM-Modem: Checking if modem needs PIN
2011-11-23 19:55:47,7, GSM-Modem: -> AT+CPIN?
2011-11-23 19:55:47,7, GSM-Modem: Command is sent, waiting for the answer
2011-11-23 19:55:47,7, GSM-Modem: <- +CPIN: READY OK
2011-11-23 19:55:47,6, GSM-Modem: Initializing modem
2011-11-23 19:55:47,7, GSM-Modem: -> AT+CNMI=0,0,0,1,0
2011-11-23 19:55:47,7, GSM-Modem: Command is sent, waiting for the answer
2011-11-23 19:55:48,7, GSM-Modem: <- +CMS ERROR: 500 (Unknown error)
2011-11-23 19:55:58,7, GSM-Modem: -> AT+CNMI=0,0,0,1,0
2011-11-23 19:55:58,7, GSM-Modem: Command is sent, waiting for the answer
2011-11-23 19:56:08,7, GSM-Modem: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-11-23 19:56:08,7, GSM-Modem: <-
2011-11-23 19:56:08,3, GSM-Modem: Modem did not accept the init string
2011-11-23 19:56:18,6, GSM-Modem: Checking device for incoming SMS
2011-11-23 19:56:18,6, GSM-Modem: Checking if modem is ready
2011-11-23 19:56:18,7, GSM-Modem: -> AT
2011-11-23 19:56:18,7, GSM-Modem: Command is sent
2011-11-23 19:56:18,7, GSM-Modem: -> AT
2011-11-23 19:56:18,7, GSM-Modem: Command is sent, waiting for the answer
2011-11-23 19:56:23,7, GSM-Modem: put_command expected (OK)|(ERROR), timeout occurred. 2.


Is this a known device with a solution?
Thanks
Marcel

Member
Registered:
Jul 2011
Location: Germany
Topic owner
I am leaving away -> AT+CNMI=0,0,0,1,0 but this doesn't help:

2011-11-24 10:37:54,7, : -> AT+CREG?
2011-11-24 10:37:54,7, : Command is sent, waiting for the answer
2011-11-24 10:38:04,7, : put_command expected (\+CREG:.*OK)|(ERROR), timeout occurred. 5.
2011-11-24 10:38:04,7, : <-
2011-11-24 10:38:04,3, : Error: Unexpected answer from Modem after +CREG?, waiting 1 sec. before retrying
2011-11-24 10:38:05,7, : -> AT+CSQ
2011-11-24 10:38:05,7, : Command is sent, waiting for the answer
2011-11-24 10:38:15,7, : put_command expected (OK)|(ERROR), timeout occurred. 6.
2011-11-24 10:38:15,7, : <-

seems to be a strange modem ....

Member
Registered:
Jul 2011
Location: Germany
Topic owner
I have introduced a "sleep 4" before starting smsd after plugin the modem to USB,
now everything seems to work:

In my /lib/udev/rules.d/76-GSM-Modem.rules file:
KERNELS=="5-1:1.0",SYMLINK+="GSM-Modem",GROUP="uucp",ACTION=="add",RUN+="/etc/init.d/sms3-marcel restart"
(in /etc/init.d/sms3-marcel a sleep 4 is added)

It seems the modem needs some seconds after getting power before we start
talking to it.

regards
Marcel

Member
Registered:
Jul 2011
Location: Germany
Topic owner
It is a Siemens Module MC388 or 389

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.