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. Fri Mar 29, 2024 05:12
SMSTools3 Community » Bug reports Bottom

MODEM IS NOT REGISTERED though +CREG: 0,1

Login and Post Reply

Page:  1

Author Post
Member
Registered:
May 2012
Location: Germany
I found an odd behaviour using smstools 3.1.14 under OpenWRT, it looks like smsd doesn't recognise the AT+CREG answer correctly:



Also tried changing baudrate, rtscts without success.

If I put check_network=0 into the modem config everything works fine!

With the same USB-Stick (HUAWEI Vendor=12d1 ProdID=1436), config, location but smstools 3.1.11 under x86-Debian it works fine without check_network=0 ?!

Any clues?

Michael

Member
Registered:
May 2012
Location: Germany
Topic owner
Just an update, using 3.1.11 it's also working fine under OpenWRT, so the problem must be between >3.1.11 to 3.1.14

Michael

Member
Registered:
Dec 2014
Location: United States of America
I had the same problem going from version 3.1.12 to 3.1.15. Registration was detected successfully in 3.1.12, but in 3.1.15 I kept getting the "MODEM IS NOT REGISTERED, WAITING 1 SEC..." message. Device is Zoom 4595 (1c9e:9603).

Narrowed it down to modeminit.c starting on line 2064 where new code was added for 3.1.14. That code replaces the first \r (Carriage Return) with a comma. This breaks the rest of the code looking for ",1". Once the "*p = ',';" line is commented out, the registration works again with 3.1.15.

The answer from modem is "AT+CREG?\r\r\n+CREG: 0,1\r\n\r\nOK\r\n". As mentioned in a different thread (http://smstools3.kekekasvi.com/topic.php?id=1075), turning echo off with "init = ATE0" also makes it work with 3.1.15 as the answer from modem becomes "+CREG: 0,1\r\n\r\nOK\r\n" instead which passes.

Login and Post Reply

Page:  1

SMSTools3 Community » Bug reports Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.