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 Oct 20, 2020 23:00
SMSTools3 Community » Help and support Bottom

cyclical initialization of modem

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Apr 2019
Location: Alcoy, Spain
Operating system name and version: OpenWrt LEDE 17.01.4
Version of smsd: 3.1.15-3
Smsd installed from: OpenWrt package
Name and model of a modem / phone: Huawei E3531
Interface: USB Stick

Hello,
I have installed smstools3 with the following configuration:
devices = GSM1
incoming = /var/spool/sms/incoming
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
receive_before_send = no
autosplit = 3

[GSM1]
init = AT+CPMS="ME","ME","ME"
device = /dev/ttyUSB0
incoming = yes
#pin = 0000
baudrate = 115200

In principle works correctly, but I observed in smsd.log that the initialization process of the modem is executed in a cyclical way every few seconds, I attach a fragment of the log.
I would appreciate if you indicate if the behavior is correct or there may be a problem.
Thank you.

2019-04-28 13:39:50,5, GSM1: Modem handler 0 has started. PID: 2494.
2019-04-28 13:39:50,5, GSM1: Using check_memory_method 1: CPMS is used.
2019-04-28 13:39:50,6, GSM1: Checking device for incoming SMS
2019-04-28 13:39:50,6, GSM1: Checking if modem is ready
2019-04-28 13:39:50,7, GSM1: -> AT
2019-04-28 13:39:50,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:39:50,7, GSM1: <- OK
2019-04-28 13:39:50,6, GSM1: Pre-initializing modem
2019-04-28 13:39:51,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2019-04-28 13:39:51,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:39:51,7, GSM1: <- OK
2019-04-28 13:39:51,6, GSM1: Checking if modem needs PIN
2019-04-28 13:39:51,7, GSM1: -> AT+CPIN?
2019-04-28 13:39:51,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:39:51,7, GSM1: <- +CPIN: READY OK
2019-04-28 13:39:51,6, GSM1: Initializing modem
2019-04-28 13:39:51,7, GSM1: -> AT+CPMS="ME","ME","ME"
2019-04-28 13:39:51,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:39:52,7, GSM1: <- +CPMS: 0,20,0,20,0,20 OK
2019-04-28 13:39:52,7, GSM1: -> AT+CSQ
2019-04-28 13:39:52,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:39:52,7, GSM1: <- +CSQ: 20,99 OK
2019-04-28 13:39:52,6, GSM1: Signal Strength Indicator: (20,99) -73 dBm (Excellent), Bit Error Rate: not known or not detectable
2019-04-28 13:39:52,6, GSM1: Checking if Modem is registered to the network
2019-04-28 13:39:52,7, GSM1: -> AT+CREG?
2019-04-28 13:39:52,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:39:53,7, GSM1: <- +CREG: 2,1,"0169","01F73036" OK
2019-04-28 13:39:53,6, GSM1: Modem is registered to the network
2019-04-28 13:39:53,6, GSM1: Location area code: 0169, Cell ID: 3036
2019-04-28 13:39:53,7, GSM1: -> AT+CSQ
2019-04-28 13:39:53,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:39:53,7, GSM1: <- +CSQ: 20,99 OK
2019-04-28 13:39:53,6, GSM1: Signal Strength Indicator: (20,99) -73 dBm (Excellent), Bit Error Rate: not known or not detectable
2019-04-28 13:39:53,6, GSM1: Selecting PDU mode
2019-04-28 13:39:53,7, GSM1: -> AT+CMGF=0
2019-04-28 13:39:53,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:39:53,7, GSM1: <- OK
2019-04-28 13:39:54,7, GSM1: -> AT+CIMI
2019-04-28 13:39:54,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:39:54,7, GSM1: <- 214075539182311 OK
2019-04-28 13:39:54,7, GSM1: -> AT+CGSN
2019-04-28 13:39:54,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:39:54,7, GSM1: <- 861143039045857 OK
2019-04-28 13:39:54,5, GSM1: CGSN: 861143039045857
2019-04-28 13:39:54,5, GSM1: IMSI: 214075539182311
2019-04-28 13:39:54,6, GSM1: Checking if reading of messages is supported
2019-04-28 13:39:54,7, GSM1: -> AT+CPMS?
2019-04-28 13:39:54,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:39:55,7, GSM1: <- +CPMS: "ME",0,20,"ME",0,20,"ME",0,20 OK
2019-04-28 13:39:55,6, GSM1: Checking memory size
2019-04-28 13:39:55,7, GSM1: -> AT+CPMS?
2019-04-28 13:39:55,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:39:55,7, GSM1: <- +CPMS: "ME",0,20,"ME",0,20,"ME",0,20 OK
2019-04-28 13:39:55,6, GSM1: Used memory is 0 of 20
2019-04-28 13:39:55,6, GSM1: No SMS received
2019-04-28 13:40:05,6, GSM1: Checking device for incoming SMS
2019-04-28 13:40:05,6, GSM1: Checking if modem is ready
2019-04-28 13:40:06,7, GSM1: -> AT
2019-04-28 13:40:06,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:40:06,7, GSM1: <- OK
2019-04-28 13:40:06,6, GSM1: Pre-initializing modem
2019-04-28 13:40:06,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2019-04-28 13:40:06,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:40:06,7, GSM1: <- OK
2019-04-28 13:40:06,6, GSM1: Initializing modem
2019-04-28 13:40:06,7, GSM1: -> AT+CPMS="ME","ME","ME"
2019-04-28 13:40:06,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:40:07,7, GSM1: <- +CPMS: 0,20,0,20,0,20 OK
2019-04-28 13:40:07,7, GSM1: -> AT+CSQ
2019-04-28 13:40:07,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:40:07,7, GSM1: <- +CSQ: 20,99 OK
2019-04-28 13:40:07,6, GSM1: Signal Strength Indicator: (20,99) -73 dBm (Excellent), Bit Error Rate: not known or not detectable
2019-04-28 13:40:07,6, GSM1: Checking if Modem is registered to the network
2019-04-28 13:40:07,7, GSM1: -> AT+CREG?
2019-04-28 13:40:07,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:40:08,7, GSM1: <- +CREG: 2,1,"0169","01F73036" OK
2019-04-28 13:40:08,6, GSM1: Modem is registered to the network
2019-04-28 13:40:08,6, GSM1: Selecting PDU mode
2019-04-28 13:40:08,7, GSM1: -> AT+CMGF=0
2019-04-28 13:40:08,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:40:08,7, GSM1: <- OK
2019-04-28 13:40:08,6, GSM1: Checking memory size
2019-04-28 13:40:08,7, GSM1: -> AT+CPMS?
2019-04-28 13:40:08,7, GSM1: Command is sent, waiting for the answer
2019-04-28 13:40:08,7, GSM1: <- +CPMS: "ME",0,20,"ME",0,20,"ME",0,20 OK
2019-04-28 13:40:08,6, GSM1: Used memory is 0 of 20
2019-04-28 13:40:08,6, GSM1: No SMS received
2019-04-28 13:40:18,6, GSM1: Checking device for incoming SMS

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
The behavior is correct and planned. By default the setting delaytime is ten seconds, and after every sleeping the modem is completely initialized.

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.