SMS Server Tools 3
 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. The forum is currently read-only, but will open soon. Thu Nov 21, 2024 17:11
SMSTools3 Community » Help and support Bottom

CREG not supported

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Oct 2015
Location: Melbourne, Australia
I know this has been covered in other posts and threads, and I have tried adding loglevel_lac_ci = 8 to the modem section of my conf file (see below), however the CREG command is still sent to my modem, which does not respond.

devices = GSM1
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
logfile = /var/log/smstools/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
stats = /var/log/smstools/smsd_stats
receive_before_send = no
autosplit = 3
loglevel = 7

[GSM1]
loglevel_lac_ci = 8
report_device_details = yes
loglevel = 7
device = /dev/ttyUSB2
incoming = yes
pin = ignore
baudrate = 2400




The error is:

2015-10-06 10:06:37,6, GSM1: Checking if Modem is registered to the network
2015-10-06 10:06:37,7, GSM1: -> AT+CREG?
2015-10-06 10:06:37,7, GSM1: Command is sent, waiting for the answer
2015-10-06 10:06:48,7, GSM1: put_command expected (\+CREG:.*OK)|(ERROR), timeout occurred. 1.
2015-10-06 10:06:48,7, GSM1: <- Error
2015-10-06 10:06:48,3, GSM1: Error: Unexpected answer from Modem after +CREG?, waiting 1 sec. before retrying


I've spent hours on this and simply cannot work out what I am missing.

How to I prevent CREG from being sent, or have the response ignored?


« Last edit by IBMPortablePC on Tue Oct 06, 2015 10:22, 111 months ago. »
Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Try check_network = no

Member
Registered:
Oct 2015
Location: Melbourne, Australia
Topic owner
Okay, that worked! Thanks :)

Now, how about ignoring AT+CIMI?

The modem is a Z-Text PSTN modem, A V.23bis modem which contains a GSM command stack, however it only implements some of the GSM commands.


2015-10-07 04:30:52,7, GSM1: -> AT+CIMI
2015-10-07 04:30:52,7, GSM1: Command is sent, waiting for the answer
2015-10-07 04:30:58,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2015-10-07 04:30:58,7, GSM1: <- Error

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.