|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Tue Jul 01, 2025 06:31 |
Page: 1
Keywords: Mode: All keywords (AND) |
Wed Oct 31, 2018 09:25
|
glassie: That idea of combining configs in 1 is actually quite briliant... :shock:
That will solve that issue for me completely.
Thanks (again..!) for the insight.
I will start testing with the alarmhandler and the other config options you have mentioned.
Have some other ideas now aswel to fetch the details of the inserted sims on startup.
So none of the new features I described are needed for now :)
|
Tue Oct 30, 2018 09:23
|
glassie: I have 2 features that I for sure could use :)
Small overview of what I use:
Raspberry Pi with a 16-SIM modem connected.
Each time an SMS is received a PHP script is called, SMS details are parsed and processed. So far all is perfect!
But.. Sometimes I would like to add more SIM cards, or replace etc.
What I would like:
- Some sort of eventhandler call that triggers when a SIM is taken out (or not working, etc). And also a call when a SIM is inserted.
That way I can order the modem to send an SMS to another modem, through that process I can automatically collect the MSISDN.
Send an SMS to the new SIM and collect the IMSI too.
- When I have all that data, I would like to automatically create the config file with the updated details (As I use the number = xxxx, I need to update the config).
So, I now have this:
[default]
init = ...
baudrate = 115200
incoming = high
[GSM1]
device = ...
number = xx
[GSM2]
device = ...
number = xx
etc.
I would like this:
[default]
init = ...
baudrate = 115200
incoming = high
[GSM1]
include = /var/conf/GSM1.conf
[GSM2]
include = /var/conf/GSM2.conf
etc.
That way I can create the conf for each modem through automated processes. Restart sms3 and be on my way....
I can include 16 confs, 1 for each modem and only update the modem conf when needed.
Hope this makes sense?
|
Fri Oct 26, 2018 19:17
|
glassie: ah that is great :)
That is all I need really, now I can get everything to work as I want to!
|
Fri Oct 26, 2018 18:38
|
glassie: Operating system name and version: Debian Stretch
Version of smsd: 3.1.21
Smsd installed from: sources
Name and model of a modem / phone: 16 SIM modem
Interface: USB
I have been searching the config pages and many examples on how to do this... But I have not been able to find it.
I would like to know to what MSISDN the SMS was sent when it was received by a modem on my system.
Small details:
Have a Raspberry Pi with a sim-modem attached with 16 sims.
I can receive SMS on all sims and have the eventhandler take care of each of them. So far all is working perfectly.
But I really want to know WHAT MSISDN received the SMS. I now only have the IMSI. In order to know what number received the SMS I need to add all IMSI to my database and link it to the MSISDN. Easier is to just add the number in the database, as they are always shown on the sim package. Now I need to collect the IMSI from each inserted SIM.
So, what I would like to have is a "To: xxxxxx" header in the SMS file of a received SMS message...
|
Wed Oct 24, 2018 13:39
|
glassie: lol, I was just thinking about that as a feature, when I was inserting this for all 16 sims...
Thanks again for your support and hard work!
|
Wed Oct 24, 2018 13:23
|
glassie: Ah, you are fantastic!!
That worked out perfectly...
Please find my donation to buy yourself a beer :-)
|
Wed Oct 24, 2018 13:11
|
glassie: Alright, digging deeper again...
2018-10-24 13:50:33,6, GSM1: Checking memory size
2018-10-24 13:50:33,7, GSM1: -> AT+CPMS?
2018-10-24 13:50:33,7, GSM1: Command is sent, waiting for the answer. (5)
2018-10-24 13:50:33,7, GSM1: <- +CPMS: "ME",0,10,"ME",0,10,"SM",1,25 OK
2018-10-24 13:50:33,6, GSM1: Used memory is 0 of 10
2018-10-24 13:50:33,6, GSM1: No SMS received
This tells me there is 1 SMS on the SIM actually...?
1 out of possible 25.
But somehow SMSTools only checks ME... What setting is needed to check the actual SIM (1 of 25)?
Guess that would solve the issue? :)
|
Wed Oct 24, 2018 12:22
|
glassie: OK, installed latest version. checkl_memory_method = 4 solved the pre-init error it seems...
But still no received SMS messages :(
smsd.conf
#
# /etc/smsd.conf
#
# Description: Main configuration file for the smsd
#
devices = GSM1
#devices = USB1
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
failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
stats = /var/log/smstools/smsd_stats
#log_read_from_modem = yes
#status_include_uptime = yes
use_linux_ps_trick = yes
loglevel = 7
#delaytime = 10
#errorsleeptime = 10
#blocktime = 3600
#stats = /var/log/smsd_stats
#stats_interval = 3600
#stats_no_zeroes = no
#checkhandler = /usr/local/bin/smscheck
receive_before_send = no
# autosplit 0=no 1=yes 2=with text numbers 3=concatenated
#autosplit = 3
# store_received_pdu 0=no, 1=unsupported, 2=unsupported and 8bit, 3=all
#store_received_pdu = 3
#validity = 255
#decode_unicode_text = yes
#internal_combine = no
# You can specify here an external program that is started whenever an alarm occurs.
# alarmhandler = /path/to/an/alarmhandler/script
# Specifies what levels start an alarmhandler. You can use value between 2 and 5.
# alarmlevel = 4
# eventhandler = @EVENTHANDLER@
#blacklist = /etc/smstools/blacklist
#whitelist = /etc/smstools/whitelist
[GSM1]
#init = ATE0
device = /dev/ttyACM0
incoming = high
#memory_start = 0
baudrate = 115200
check_memory_method = 4
#check_network = 2
pin = ignore
read_timeout = 10
#report = yes
report_device_details = yes
Result with only 1 modem setup:
2018-10-24 13:19:09,2, smsd: Smsd v3.1.21 started.
2018-10-24 13:19:09,2, smsd: Running as root:root (0:0).
2018-10-24 13:19:09,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.6713Wg /tmp/smsd_data.2v8jPf
2018-10-24 13:19:09,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2018-10-24 13:19:09,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2018-10-24 13:19:09,5, smsd: Outgoing file checker has started. PID: 10180.
2018-10-24 13:19:09,7, smsd: All PID's: 10180,10181
2018-10-24 13:19:09,5, GSM1: Modem handler 0 has started. PID: 10181.
2018-10-24 13:19:09,5, GSM1: Using check_memory_method 4: CMGL is used and messages are deleted after all messsages are read.
2018-10-24 13:19:09,5, GSM1: Using read_timeout 10 seconds.
2018-10-24 13:19:09,6, GSM1: Checking device for incoming SMS
2018-10-24 13:19:09,6, GSM1: Checking if modem is ready
2018-10-24 13:19:09,7, GSM1: -> AT
2018-10-24 13:19:09,7, GSM1: Command is sent, waiting for the answer. (10)
2018-10-24 13:19:09,7, GSM1: <- OK
2018-10-24 13:19:09,6, GSM1: Pre-initializing modem
2018-10-24 13:19:09,7, GSM1: -> ATE0
2018-10-24 13:19:09,7, GSM1: Command is sent, waiting for the answer. (20)
2018-10-24 13:19:09,7, GSM1: <- OK
2018-10-24 13:19:09,7, GSM1: -> AT+CMEE=1;+CREG=2
2018-10-24 13:19:09,7, GSM1: Command is sent, waiting for the answer. (20)
2018-10-24 13:19:09,7, GSM1: <- OK
2018-10-24 13:19:09,7, GSM1: -> AT+CSQ
2018-10-24 13:19:09,7, GSM1: Command is sent, waiting for the answer. (20)
2018-10-24 13:19:09,7, GSM1: <- +CSQ: 24,0 OK
2018-10-24 13:19:09,6, GSM1: Signal Strength Indicator: (24,0) -65 dBm (Excellent), Bit Error Rate: less than 0.2 %
2018-10-24 13:19:09,6, GSM1: Checking if Modem is registered to the network
2018-10-24 13:19:09,7, GSM1: -> AT+CREG?
2018-10-24 13:19:09,7, GSM1: Command is sent, waiting for the answer. (20)
2018-10-24 13:19:09,7, GSM1: <- +CREG: 2,1,"0D52","2A25" OK
2018-10-24 13:19:09,6, GSM1: Modem is registered to the network
2018-10-24 13:19:09,6, GSM1: Location area code: 0D52, Cell ID: 2A25
2018-10-24 13:19:09,7, GSM1: -> AT+CSQ
2018-10-24 13:19:09,7, GSM1: Command is sent, waiting for the answer. (20)
2018-10-24 13:19:09,7, GSM1: <- +CSQ: 24,0 OK
2018-10-24 13:19:09,6, GSM1: Signal Strength Indicator: (24,0) -65 dBm (Excellent), Bit Error Rate: less than 0.2 %
2018-10-24 13:19:09,6, GSM1: Selecting PDU mode
2018-10-24 13:19:09,7, GSM1: -> AT+CMGF=0
2018-10-24 13:19:09,7, GSM1: Command is sent, waiting for the answer. (10)
2018-10-24 13:19:09,7, GSM1: <- OK
2018-10-24 13:19:09,7, GSM1: -> AT+CGSN
2018-10-24 13:19:09,7, GSM1: Command is sent, waiting for the answer. (10)
2018-10-24 13:19:10,7, GSM1: <- 867144025030584 OK
2018-10-24 13:19:10,5, GSM1: IMEI: 867144025030584
2018-10-24 13:19:10,7, GSM1: -> AT+CIMI
2018-10-24 13:19:10,7, GSM1: Command is sent, waiting for the answer. (10)
2018-10-24 13:19:10,7, GSM1: <- 204080621393148 OK
2018-10-24 13:19:10,5, GSM1: IMSI: 204080621393148
2018-10-24 13:19:10,6, GSM1: Checking if reading of messages is supported
2018-10-24 13:19:10,7, GSM1: -> AT+CPMS?
2018-10-24 13:19:10,7, GSM1: Command is sent, waiting for the answer. (10)
2018-10-24 13:19:10,7, GSM1: <- +CPMS: "ME",0,10,"ME",0,10,"SM",1,25 OK
2018-10-24 13:19:10,7, GSM1: ## Start of device details
2018-10-24 13:19:10,7, GSM1: # Manufacturer identification:
2018-10-24 13:19:10,7, GSM1: -> AT+CGMI
2018-10-24 13:19:10,7, GSM1: <- Quectel_Ltd
Quectel_M35
Revision: MTK 0828
OK
2018-10-24 13:19:10,7, GSM1: # Model identification:
2018-10-24 13:19:10,7, GSM1: -> AT+CGMM
2018-10-24 13:19:10,7, GSM1: <- Quectel_M35
OK
2018-10-24 13:19:10,7, GSM1: # Revision identification:
2018-10-24 13:19:10,7, GSM1: -> AT+CGMR
2018-10-24 13:19:10,7, GSM1: <- Revision: M35FAR01A08
OK
2018-10-24 13:19:10,7, GSM1: # New message indications, list of supported modes:
2018-10-24 13:19:10,7, GSM1: -> AT+CNMI=?
2018-10-24 13:19:10,7, GSM1: <- +CNMI: (0-3),(0-3),(0,2,3),(0,1),(0,1)
OK
2018-10-24 13:19:10,7, GSM1: # New message indications, current settings:
2018-10-24 13:19:10,7, GSM1: -> AT+CNMI?
2018-10-24 13:19:10,7, GSM1: <- +CNMI: 2,1,0,0,0
OK
2018-10-24 13:19:10,7, GSM1: # Preferred message storage, list of supported mem's:
2018-10-24 13:19:10,7, GSM1: -> AT+CPMS=?
2018-10-24 13:19:10,7, GSM1: <- +CPMS: ("SM","ME","MT"),("SM","ME","MT"),("SM","ME","MT")
OK
2018-10-24 13:19:10,7, GSM1: # Phonebook storage, available mem's:
2018-10-24 13:19:11,7, GSM1: -> AT+CPBS=?
2018-10-24 13:19:11,7, GSM1: <- +CPBS: ("MC","RC","DC","LA","ME","BN","SD","VM","FD","LD","ON","SM")
OK
2018-10-24 13:19:11,7, GSM1: # List messages, list of supported stat's:
2018-10-24 13:19:11,7, GSM1: -> AT+CMGL=?
2018-10-24 13:19:11,7, GSM1: <- +CMGL: (0-4)
OK
2018-10-24 13:19:11,7, GSM1: # Delete message, list of supported values:
2018-10-24 13:19:11,7, GSM1: -> AT+CMGD=?
2018-10-24 13:19:11,7, GSM1: <- +CMGD: (26-35),(0-4)
OK
2018-10-24 13:19:11,7, GSM1: # Phone activity status, list of supported stat's:
2018-10-24 13:19:11,7, GSM1: -> AT+CPAS=?
2018-10-24 13:19:11,7, GSM1: <- +CPAS: (0,2,3,4)
OK
2018-10-24 13:19:11,7, GSM1: # TE character set, list of supported charset's:
2018-10-24 13:19:11,7, GSM1: -> AT+CSCS=?
2018-10-24 13:19:11,7, GSM1: <- +CSCS: ("GSM","HEX","IRA","PCCP437","UCS2","8859-1")
OK
2018-10-24 13:19:11,7, GSM1: # TE character set, current setting:
2018-10-24 13:19:11,7, GSM1: -> AT+CSCS?
2018-10-24 13:19:11,7, GSM1: <- +CSCS: "GSM"
OK
2018-10-24 13:19:11,7, GSM1: ## End of device details
2018-10-24 13:19:11,6, GSM1: Checking memory size
2018-10-24 13:19:11,7, GSM1: -> AT+CMGL=4
2018-10-24 13:19:11,7, GSM1: Command is sent, waiting for the answer. (120)
2018-10-24 13:19:11,7, GSM1: <- OK
2018-10-24 13:19:11,6, GSM1: Used memory is 0
2018-10-24 13:19:11,6, GSM1: No SMS received
2018-10-24 13:19:21,6, GSM1: Checking device for incoming SMS
2018-10-24 13:19:21,6, GSM1: Checking if modem is ready
2018-10-24 13:19:21,7, GSM1: -> AT
2018-10-24 13:19:21,7, GSM1: Command is sent, waiting for the answer. (10)
2018-10-24 13:19:21,7, GSM1: <- OK
2018-10-24 13:19:21,6, GSM1: Pre-initializing modem
2018-10-24 13:19:22,7, GSM1: -> ATE0
2018-10-24 13:19:22,7, GSM1: Command is sent, waiting for the answer. (20)
2018-10-24 13:19:22,7, GSM1: <- OK
2018-10-24 13:19:22,7, GSM1: -> AT+CMEE=1;+CREG=2
2018-10-24 13:19:22,7, GSM1: Command is sent, waiting for the answer. (20)
2018-10-24 13:19:22,7, GSM1: <- OK
2018-10-24 13:19:22,7, GSM1: -> AT+CSQ
2018-10-24 13:19:22,7, GSM1: Command is sent, waiting for the answer. (20)
2018-10-24 13:19:22,7, GSM1: <- +CSQ: 24,0 OK
2018-10-24 13:19:22,6, GSM1: Signal Strength Indicator: (24,0) -65 dBm (Excellent), Bit Error Rate: less than 0.2 %
2018-10-24 13:19:22,6, GSM1: Checking if Modem is registered to the network
2018-10-24 13:19:22,7, GSM1: -> AT+CREG?
2018-10-24 13:19:22,7, GSM1: Command is sent, waiting for the answer. (20)
2018-10-24 13:19:22,7, GSM1: <- +CREG: 2,1,"0D52","2A25" OK
2018-10-24 13:19:22,6, GSM1: Modem is registered to the network
2018-10-24 13:19:22,6, GSM1: Selecting PDU mode
2018-10-24 13:19:22,7, GSM1: -> AT+CMGF=0
2018-10-24 13:19:22,7, GSM1: Command is sent, waiting for the answer. (10)
2018-10-24 13:19:22,7, GSM1: <- OK
2018-10-24 13:19:22,6, GSM1: Checking memory size
2018-10-24 13:19:22,7, GSM1: -> AT+CMGL=4
2018-10-24 13:19:22,7, GSM1: Command is sent, waiting for the answer. (120)
2018-10-24 13:19:22,7, GSM1: <- OK
2018-10-24 13:19:22,6, GSM1: Used memory is 0
2018-10-24 13:19:22,6, GSM1: No SMS received
2018-10-24 13:19:32,6, GSM1: Checking device for incoming SMS
2018-10-24 13:19:32,6, GSM1: Checking if modem is ready
2018-10-24 13:19:32,7, GSM1: -> AT
2018-10-24 13:19:32,7, GSM1: Command is sent, waiting for the answer. (10)
2018-10-24 13:19:32,7, GSM1: <- OK
2018-10-24 13:19:32,6, GSM1: Pre-initializing modem
2018-10-24 13:19:32,7, GSM1: -> ATE0
2018-10-24 13:19:32,7, GSM1: Command is sent, waiting for the answer. (20)
2018-10-24 13:19:32,7, GSM1: <- OK
2018-10-24 13:19:33,7, GSM1: -> AT+CMEE=1;+CREG=2
2018-10-24 13:19:33,7, GSM1: Command is sent, waiting for the answer. (20)
2018-10-24 13:19:33,7, GSM1: <- OK
2018-10-24 13:19:33,7, GSM1: -> AT+CSQ
2018-10-24 13:19:33,7, GSM1: Command is sent, waiting for the answer. (20)
2018-10-24 13:19:33,7, GSM1: <- +CSQ: 24,0 OK
2018-10-24 13:19:33,6, GSM1: Signal Strength Indicator: (24,0) -65 dBm (Excellent), Bit Error Rate: less than 0.2 %
2018-10-24 13:19:33,6, GSM1: Checking if Modem is registered to the network
2018-10-24 13:19:33,7, GSM1: -> AT+CREG?
2018-10-24 13:19:33,7, GSM1: Command is sent, waiting for the answer. (20)
2018-10-24 13:19:33,7, GSM1: <- +CREG: 2,1,"0D52","2A25" OK
2018-10-24 13:19:33,6, GSM1: Modem is registered to the network
2018-10-24 13:19:33,6, GSM1: Selecting PDU mode
2018-10-24 13:19:33,7, GSM1: -> AT+CMGF=0
2018-10-24 13:19:33,7, GSM1: Command is sent, waiting for the answer. (10)
2018-10-24 13:19:33,7, GSM1: <- OK
2018-10-24 13:19:33,6, GSM1: Checking memory size
2018-10-24 13:19:33,7, GSM1: -> AT+CMGL=4
2018-10-24 13:19:33,7, GSM1: Command is sent, waiting for the answer. (120)
2018-10-24 13:19:33,7, GSM1: <- OK
2018-10-24 13:19:33,6, GSM1: Used memory is 0
2018-10-24 13:19:33,6, GSM1: No SMS received
|
Wed Oct 24, 2018 11:57
|
glassie: smsd.conf:
#
# /etc/smsd.conf
#
# Description: Main configuration file for the smsd
#
devices = GSM1,GSM2,GSM3,GSM4
#devices = USB1
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
failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
stats = /var/log/smstools/smsd_stats
#log_read_from_modem = yes
#status_include_uptime = yes
use_linux_ps_trick = yes
loglevel = 7
#delaytime = 10
#errorsleeptime = 10
#blocktime = 3600
#stats = /var/log/smsd_stats
#stats_interval = 3600
#stats_no_zeroes = no
#checkhandler = /usr/local/bin/smscheck
receive_before_send = no
# autosplit 0=no 1=yes 2=with text numbers 3=concatenated
#autosplit = 3
# store_received_pdu 0=no, 1=unsupported, 2=unsupported and 8bit, 3=all
#store_received_pdu = 3
#validity = 255
#decode_unicode_text = yes
#internal_combine = no
# You can specify here an external program that is started whenever an alarm occurs.
# alarmhandler = /path/to/an/alarmhandler/script
# Specifies what levels start an alarmhandler. You can use value between 2 and 5.
# alarmlevel = 4
# eventhandler = @EVENTHANDLER@
#blacklist = /etc/smstools/blacklist
#whitelist = /etc/smstools/whitelist
[GSM1]
init = ATE0
device = /dev/ttyACM0
incoming = high
#memory_start = 0
baudrate = 115200
check_memory_method = 3
#check_network = 2
pin = ignore
read_timeout = 10
#report = yes
report_device_details = yes
[GSM2]
init = ATE0
device = /dev/ttyACM1
incoming = high
#memory_start = 0
baudrate = 115200
check_memory_method = 3
#check_network = 2
pin = ignore
read_timeout = 10
#report = yes
report_device_details = yes
[GSM3]
init = ATE0
device = /dev/ttyACM14
incoming = high
#memory_start = 0
baudrate = 115200
check_memory_method = 3
#check_network = 2
pin = ignore
read_timeout = 10
#report = yes
report_device_details = yes
[GSM4]
init = ATE0
device = /dev/ttyACM15
incoming = high
#memory_start = 0
baudrate = 115200
check_memory_method = 3
#check_network = 2
pin = ignore
read_timeout = 10
#report = yes
report_device_details = yes
smsd.log:
2018-10-24 12:50:26,2, smsd: Smsd v3.1.15 started.
2018-10-24 12:50:26,2, smsd: Running as smsd:dialout.
2018-10-24 12:50:26,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.M53kcL /tmp/smsd_data.WCq5aW
2018-10-24 12:50:26,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2018-10-24 12:50:26,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2018-10-24 12:50:26,5, GSM1: Modem handler 0 has started. PID: 5719.
2018-10-24 12:50:26,5, GSM2: Modem handler 1 has started. PID: 5720.
2018-10-24 12:50:26,5, GSM2: Using check_memory_method 3: CMGL is used.
2018-10-24 12:50:26,5, GSM2: Using read_timeout 10 seconds.
2018-10-24 12:50:26,5, GSM3: Modem handler 2 has started. PID: 5721.
2018-10-24 12:50:26,6, GSM2: Checking device for incoming SMS
2018-10-24 12:50:26,5, GSM1: Using check_memory_method 3: CMGL is used.
2018-10-24 12:50:26,6, GSM2: Checking if modem is ready
2018-10-24 12:50:26,5, GSM1: Using read_timeout 10 seconds.
2018-10-24 12:50:26,5, smsd: Outgoing file checker has started. PID: 5718.
2018-10-24 12:50:26,7, smsd: All PID's: 5718,5719,5720,5721,5722
2018-10-24 12:50:26,6, GSM1: Checking device for incoming SMS
2018-10-24 12:50:26,6, GSM1: Checking if modem is ready
2018-10-24 12:50:26,5, GSM3: Using check_memory_method 3: CMGL is used.
2018-10-24 12:50:26,5, GSM3: Using read_timeout 10 seconds.
2018-10-24 12:50:26,6, GSM3: Checking device for incoming SMS
2018-10-24 12:50:26,6, GSM3: Checking if modem is ready
2018-10-24 12:50:26,5, GSM4: Modem handler 3 has started. PID: 5722.
2018-10-24 12:50:26,5, GSM4: Using check_memory_method 3: CMGL is used.
2018-10-24 12:50:26,5, GSM4: Using read_timeout 10 seconds.
2018-10-24 12:50:26,6, GSM4: Checking device for incoming SMS
2018-10-24 12:50:26,6, GSM4: Checking if modem is ready
2018-10-24 12:50:27,7, GSM2: -> AT
2018-10-24 12:50:27,3, GSM1: Unexpected input: �
2018-10-24 12:50:27,7, GSM1: -> AT
2018-10-24 12:50:27,7, GSM2: Command is sent, waiting for the answer
2018-10-24 12:50:27,7, GSM1: Command is sent, waiting for the answer
2018-10-24 12:50:27,7, GSM3: -> AT
2018-10-24 12:50:27,7, GSM3: Command is sent, waiting for the answer
2018-10-24 12:50:27,7, GSM4: -> AT
2018-10-24 12:50:27,7, GSM4: Command is sent, waiting for the answer
2018-10-24 12:50:27,7, GSM2: <- OK
2018-10-24 12:50:27,6, GSM2: Pre-initializing modem
2018-10-24 12:50:27,7, GSM1: <- OK
2018-10-24 12:50:27,6, GSM1: Pre-initializing modem
2018-10-24 12:50:27,7, GSM3: <- OK
2018-10-24 12:50:27,6, GSM3: Pre-initializing modem
2018-10-24 12:50:27,7, GSM4: <- OK
2018-10-24 12:50:27,6, GSM4: Pre-initializing modem
2018-10-24 12:50:27,7, GSM2: -> ATE0+CMEE=1;+CREG=2
2018-10-24 12:50:27,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2018-10-24 12:50:27,7, GSM2: Command is sent, waiting for the answer
2018-10-24 12:50:27,7, GSM1: Command is sent, waiting for the answer
2018-10-24 12:50:27,7, GSM3: -> ATE0+CMEE=1;+CREG=2
2018-10-24 12:50:27,7, GSM3: Command is sent, waiting for the answer
2018-10-24 12:50:27,7, GSM4: -> ATE0+CMEE=1;+CREG=2
2018-10-24 12:50:27,7, GSM4: Command is sent, waiting for the answer
2018-10-24 12:50:27,7, GSM2: <- ERROR
2018-10-24 12:50:27,3, GSM2: Modem did not accept the pre-init string
2018-10-24 12:50:27,6, GSM2: Initializing modem
2018-10-24 12:50:27,7, GSM3: <- ERROR
2018-10-24 12:50:27,3, GSM3: Modem did not accept the pre-init string
2018-10-24 12:50:27,6, GSM3: Initializing modem
2018-10-24 12:50:27,7, GSM1: <- ERROR
2018-10-24 12:50:27,3, GSM1: Modem did not accept the pre-init string
2018-10-24 12:50:27,6, GSM1: Initializing modem
2018-10-24 12:50:27,7, GSM4: <- ERROR
2018-10-24 12:50:27,3, GSM4: Modem did not accept the pre-init string
2018-10-24 12:50:27,6, GSM4: Initializing modem
2018-10-24 12:50:28,7, GSM2: -> ATE0
2018-10-24 12:50:28,7, GSM3: -> ATE0
2018-10-24 12:50:28,7, GSM3: Command is sent, waiting for the answer
2018-10-24 12:50:28,7, GSM2: Command is sent, waiting for the answer
2018-10-24 12:50:28,7, GSM1: -> ATE0
2018-10-24 12:50:28,7, GSM1: Command is sent, waiting for the answer
2018-10-24 12:50:28,7, GSM4: -> ATE0
2018-10-24 12:50:28,7, GSM4: Command is sent, waiting for the answer
2018-10-24 12:50:28,7, GSM2: <- OK
2018-10-24 12:50:28,7, GSM1: <- OK
2018-10-24 12:50:28,7, GSM3: <- OK
2018-10-24 12:50:28,7, GSM4: <- OK
2018-10-24 12:50:28,7, GSM2: -> AT+CSQ
2018-10-24 12:50:28,7, GSM1: -> AT+CSQ
2018-10-24 12:50:28,7, GSM3: -> AT+CSQ
2018-10-24 12:50:28,7, GSM3: Command is sent, waiting for the answer
2018-10-24 12:50:28,7, GSM1: Command is sent, waiting for the answer
2018-10-24 12:50:28,7, GSM2: Command is sent, waiting for the answer
2018-10-24 12:50:28,7, GSM4: -> AT+CSQ
2018-10-24 12:50:28,7, GSM4: Command is sent, waiting for the answer
2018-10-24 12:50:28,7, GSM3: <- +CSQ: 16,0 OK
2018-10-24 12:50:28,7, GSM1: <- +CSQ: 23,0 OK
2018-10-24 12:50:28,6, GSM1: Signal Strength Indicator: (23,0) -67 dBm (Excellent), Bit Error Rate: less than 0.2 %
2018-10-24 12:50:28,6, GSM1: Checking if Modem is registered to the network
2018-10-24 12:50:28,7, GSM2: <- +CSQ: 13,0 OK
2018-10-24 12:50:28,6, GSM2: Signal Strength Indicator: (13,0) -87 dBm (Workable), Bit Error Rate: less than 0.2 %
2018-10-24 12:50:28,6, GSM2: Checking if Modem is registered to the network
2018-10-24 12:50:28,6, GSM3: Signal Strength Indicator: (16,0) -81 dBm (Good), Bit Error Rate: less than 0.2 %
2018-10-24 12:50:28,6, GSM3: Checking if Modem is registered to the network
2018-10-24 12:50:28,7, GSM4: <- +CSQ: 14,0 OK
2018-10-24 12:50:28,6, GSM4: Signal Strength Indicator: (14,0) -85 dBm (Workable), Bit Error Rate: less than 0.2 %
2018-10-24 12:50:28,6, GSM4: Checking if Modem is registered to the network
2018-10-24 12:50:29,7, GSM1: -> AT+CREG?
2018-10-24 12:50:29,7, GSM3: -> AT+CREG?
2018-10-24 12:50:29,7, GSM1: Command is sent, waiting for the answer
2018-10-24 12:50:29,7, GSM2: -> AT+CREG?
2018-10-24 12:50:29,7, GSM2: Command is sent, waiting for the answer
2018-10-24 12:50:29,7, GSM4: -> AT+CREG?
2018-10-24 12:50:29,7, GSM3: Command is sent, waiting for the answer
2018-10-24 12:50:29,7, GSM4: Command is sent, waiting for the answer
2018-10-24 12:50:29,7, GSM1: <- +CREG: 0,1 OK
2018-10-24 12:50:29,6, GSM1: Modem is registered to the network
2018-10-24 12:50:29,6, GSM1: Selecting PDU mode
2018-10-24 12:50:29,7, GSM4: <- +CREG: 0,1 OK
2018-10-24 12:50:29,6, GSM4: Modem is registered to the network
2018-10-24 12:50:29,6, GSM4: Selecting PDU mode
2018-10-24 12:50:29,7, GSM2: <- +CREG: 0,1 OK
2018-10-24 12:50:29,7, GSM3: <- +CREG: 0,1 OK
2018-10-24 12:50:29,6, GSM2: Modem is registered to the network
2018-10-24 12:50:29,6, GSM3: Modem is registered to the network
2018-10-24 12:50:29,6, GSM3: Selecting PDU mode
2018-10-24 12:50:29,6, GSM2: Selecting PDU mode
2018-10-24 12:50:29,7, GSM1: -> AT+CMGF=0
2018-10-24 12:50:29,7, GSM1: Command is sent, waiting for the answer
2018-10-24 12:50:29,7, GSM4: -> AT+CMGF=0
2018-10-24 12:50:29,7, GSM4: Command is sent, waiting for the answer
2018-10-24 12:50:29,7, GSM3: -> AT+CMGF=0
2018-10-24 12:50:29,7, GSM2: -> AT+CMGF=0
2018-10-24 12:50:29,7, GSM2: Command is sent, waiting for the answer
2018-10-24 12:50:29,7, GSM3: Command is sent, waiting for the answer
2018-10-24 12:50:29,7, GSM1: <- OK
2018-10-24 12:50:29,7, GSM4: <- OK
2018-10-24 12:50:29,7, GSM3: <- OK
2018-10-24 12:50:29,7, GSM2: <- OK
2018-10-24 12:50:30,7, GSM1: -> AT+CIMI
2018-10-24 12:50:30,7, GSM4: -> AT+CIMI
2018-10-24 12:50:30,7, GSM4: Command is sent, waiting for the answer
2018-10-24 12:50:30,7, GSM1: Command is sent, waiting for the answer
2018-10-24 12:50:30,7, GSM3: -> AT+CIMI
2018-10-24 12:50:30,7, GSM2: -> AT+CIMI
2018-10-24 12:50:30,7, GSM3: Command is sent, waiting for the answer
2018-10-24 12:50:30,7, GSM2: Command is sent, waiting for the answer
2018-10-24 12:50:30,7, GSM4: <- 204163708468350 OK
2018-10-24 12:50:30,7, GSM1: <- 204080621393148 OK
2018-10-24 12:50:30,7, GSM3: <- 204080515021530 OK
2018-10-24 12:50:30,7, GSM2: <- 204044040226692 OK
2018-10-24 12:50:30,7, GSM4: -> AT+CGSN
2018-10-24 12:50:30,7, GSM1: -> AT+CGSN
2018-10-24 12:50:30,7, GSM4: Command is sent, waiting for the answer
2018-10-24 12:50:30,7, GSM1: Command is sent, waiting for the answer
2018-10-24 12:50:30,7, GSM2: -> AT+CGSN
2018-10-24 12:50:30,7, GSM3: -> AT+CGSN
2018-10-24 12:50:30,7, GSM2: Command is sent, waiting for the answer
2018-10-24 12:50:30,7, GSM3: Command is sent, waiting for the answer
2018-10-24 12:50:30,7, GSM4: <- 865328022781057 OK
2018-10-24 12:50:30,5, GSM4: CGSN: 865328022781057
2018-10-24 12:50:30,5, GSM4: IMSI: 204163708468350
2018-10-24 12:50:30,6, GSM4: Checking if reading of messages is supported
2018-10-24 12:50:30,7, GSM1: <- 867144025030584 OK
2018-10-24 12:50:30,5, GSM1: CGSN: 867144025030584
2018-10-24 12:50:30,5, GSM1: IMSI: 204080621393148
2018-10-24 12:50:30,6, GSM1: Checking if reading of messages is supported
2018-10-24 12:50:30,7, GSM2: <- 862106022431722 OK
2018-10-24 12:50:30,5, GSM2: CGSN: 862106022431722
2018-10-24 12:50:30,5, GSM2: IMSI: 204044040226692
2018-10-24 12:50:30,6, GSM2: Checking if reading of messages is supported
2018-10-24 12:50:30,7, GSM3: <- 862106020636025 OK
2018-10-24 12:50:30,5, GSM3: CGSN: 862106020636025
2018-10-24 12:50:30,5, GSM3: IMSI: 204080515021530
2018-10-24 12:50:30,6, GSM3: Checking if reading of messages is supported
2018-10-24 12:50:31,7, GSM4: -> AT+CPMS?
2018-10-24 12:50:31,7, GSM4: Command is sent, waiting for the answer
2018-10-24 12:50:31,7, GSM1: -> AT+CPMS?
2018-10-24 12:50:31,7, GSM1: Command is sent, waiting for the answer
2018-10-24 12:50:31,7, GSM2: -> AT+CPMS?
2018-10-24 12:50:31,7, GSM3: -> AT+CPMS?
2018-10-24 12:50:31,7, GSM2: Command is sent, waiting for the answer
2018-10-24 12:50:31,7, GSM3: Command is sent, waiting for the answer
2018-10-24 12:50:31,7, GSM4: <- +CPMS: "ME",0,10,"ME",0,10,"SM",3,20 OK
2018-10-24 12:50:31,7, GSM4: ## Start of device details
2018-10-24 12:50:31,7, GSM4: # Manufacturer identification:
2018-10-24 12:50:31,7, GSM1: <- +CPMS: "ME",0,10,"ME",0,10,"SM",1,25 OK
2018-10-24 12:50:31,7, GSM1: ## Start of device details
2018-10-24 12:50:31,7, GSM1: # Manufacturer identification:
2018-10-24 12:50:31,7, GSM2: <- +CPMS: "ME",0,10,"ME",0,10,"SM",3,20 OK
2018-10-24 12:50:31,7, GSM3: <- +CPMS: "ME",0,10,"ME",0,10,"SM",3,25 OK
2018-10-24 12:50:31,7, GSM3: ## Start of device details
2018-10-24 12:50:31,7, GSM3: # Manufacturer identification:
2018-10-24 12:50:31,7, GSM2: ## Start of device details
2018-10-24 12:50:31,7, GSM2: # Manufacturer identification:
2018-10-24 12:50:31,7, GSM4: -> AT+CGMI
2018-10-24 12:50:31,7, GSM1: -> AT+CGMI
2018-10-24 12:50:31,7, GSM2: -> AT+CGMI
2018-10-24 12:50:31,7, GSM3: -> AT+CGMI
2018-10-24 12:50:31,7, GSM4: <- Quectel_Ltd
Quectel_M35
Revision: MTK 0828
OK
2018-10-24 12:50:31,7, GSM4: # Model identification:
2018-10-24 12:50:31,7, GSM1: <- Quectel_Ltd
Quectel_M35
Revision: MTK 0828
OK
2018-10-24 12:50:31,7, GSM1: # Model identification:
2018-10-24 12:50:31,7, GSM3: <- Quectel_Ltd
Quectel_M35
Revision: MTK 0828
OK
2018-10-24 12:50:31,7, GSM2: <- Quectel_Ltd
Quectel_M35
Revision: MTK 0828
OK
2018-10-24 12:50:31,7, GSM2: # Model identification:
2018-10-24 12:50:31,7, GSM3: # Model identification:
2018-10-24 12:50:32,7, GSM4: -> AT+CGMM
2018-10-24 12:50:32,7, GSM1: -> AT+CGMM
2018-10-24 12:50:32,7, GSM2: -> AT+CGMM
2018-10-24 12:50:32,7, GSM3: -> AT+CGMM
2018-10-24 12:50:32,7, GSM4: <- Quectel_M35
OK
2018-10-24 12:50:32,7, GSM4: # Revision identification:
2018-10-24 12:50:32,7, GSM1: <- Quectel_M35
OK
2018-10-24 12:50:32,7, GSM1: # Revision identification:
2018-10-24 12:50:32,7, GSM3: <- Quectel_M35
OK
2018-10-24 12:50:32,7, GSM2: <- Quectel_M35
OK
2018-10-24 12:50:32,7, GSM2: # Revision identification:
2018-10-24 12:50:32,7, GSM3: # Revision identification:
2018-10-24 12:50:32,7, GSM1: -> AT+CGMR
2018-10-24 12:50:32,7, GSM4: -> AT+CGMR
2018-10-24 12:50:32,7, GSM2: -> AT+CGMR
2018-10-24 12:50:32,7, GSM3: -> AT+CGMR
2018-10-24 12:50:32,7, GSM1: <- Revision: M35FAR01A08
OK
2018-10-24 12:50:32,7, GSM1: # New message indications, list of supported modes:
2018-10-24 12:50:32,7, GSM4: <- Revision: M35AR02A02
OK
2018-10-24 12:50:32,7, GSM4: # New message indications, list of supported modes:
2018-10-24 12:50:32,7, GSM2: <- Revision: M35AR01A22
OK
2018-10-24 12:50:32,7, GSM3: <- Revision: M35AR01A10
OK
2018-10-24 12:50:32,7, GSM3: # New message indications, list of supported modes:
2018-10-24 12:50:32,7, GSM2: # New message indications, list of supported modes:
2018-10-24 12:50:33,7, GSM4: -> AT+CNMI=?
2018-10-24 12:50:33,7, GSM1: -> AT+CNMI=?
2018-10-24 12:50:33,7, GSM3: -> AT+CNMI=?
2018-10-24 12:50:33,7, GSM2: -> AT+CNMI=?
2018-10-24 12:50:33,7, GSM4: <- +CNMI: (0-3),(0-3),(0,2,3),(0,1),(0,1)
OK
2018-10-24 12:50:33,7, GSM4: # New message indications, current settings:
2018-10-24 12:50:33,7, GSM2: <- +CNMI: (0-3),(0-3),(0,2,3),(0,1),(0,1)
OK
2018-10-24 12:50:33,7, GSM1: <- +CNMI: (0-3),(0-3),(0,2,3),(0,1),(0,1)
OK
2018-10-24 12:50:33,7, GSM2: # New message indications, current settings:
2018-10-24 12:50:33,7, GSM1: # New message indications, current settings:
2018-10-24 12:50:33,7, GSM3: <- +CNMI: (0-3),(0-3),(0,2,3),(0,1),(0,1)
OK
2018-10-24 12:50:33,7, GSM3: # New message indications, current settings:
2018-10-24 12:50:33,7, GSM1: -> AT+CNMI?
2018-10-24 12:50:33,7, GSM3: -> AT+CNMI?
2018-10-24 12:50:33,7, GSM2: -> AT+CNMI?
2018-10-24 12:50:33,7, GSM4: -> AT+CNMI?
2018-10-24 12:50:33,7, GSM3: <- +CNMI: 2,1,0,0,0
OK
2018-10-24 12:50:33,7, GSM1: <- +CNMI: 2,1,0,0,0
OK
2018-10-24 12:50:33,7, GSM3: # Preferred message storage, list of supported mem's:
2018-10-24 12:50:33,7, GSM1: # Preferred message storage, list of supported mem's:
2018-10-24 12:50:33,7, GSM2: <- +CNMI: 2,1,0,0,0
OK
2018-10-24 12:50:33,7, GSM4: <- +CNMI: 2,1,0,0,0
OK
2018-10-24 12:50:33,7, GSM2: # Preferred message storage, list of supported mem's:
2018-10-24 12:50:33,7, GSM4: # Preferred message storage, list of supported mem's:
2018-10-24 12:50:34,7, GSM1: -> AT+CPMS=?
2018-10-24 12:50:34,7, GSM2: -> AT+CPMS=?
2018-10-24 12:50:34,7, GSM3: -> AT+CPMS=?
2018-10-24 12:50:34,7, GSM4: -> AT+CPMS=?
2018-10-24 12:50:34,7, GSM1: <- +CPMS: ("SM","ME","MT"),("SM","ME","MT"),("SM","ME","MT")
OK
2018-10-24 12:50:34,7, GSM1: # Phonebook storage, available mem's:
2018-10-24 12:50:34,7, GSM2: <- +CPMS: ("SM", "ME", "MT"), ("SM", "ME", "MT"), ("SM", "ME", "MT")
OK
2018-10-24 12:50:34,7, GSM2: # Phonebook storage, available mem's:
2018-10-24 12:50:34,7, GSM3: <- +CPMS: ("SM", "ME", "MT"), ("SM", "ME", "MT"), ("SM", "ME", "MT")
OK
2018-10-24 12:50:34,7, GSM3: # Phonebook storage, available mem's:
2018-10-24 12:50:34,7, GSM4: <- +CPMS: ("SM", "ME", "MT"), ("SM", "ME", "MT"), ("SM", "ME", "MT")
OK
2018-10-24 12:50:34,7, GSM4: # Phonebook storage, available mem's:
2018-10-24 12:50:34,7, GSM1: -> AT+CPBS=?
2018-10-24 12:50:34,7, GSM2: -> AT+CPBS=?
2018-10-24 12:50:34,7, GSM3: -> AT+CPBS=?
2018-10-24 12:50:34,7, GSM4: -> AT+CPBS=?
2018-10-24 12:50:34,7, GSM1: <- +CPBS: ("MC","RC","DC","LA","ME","BN","SD","VM","FD","LD","ON","SM")
OK
2018-10-24 12:50:34,7, GSM2: <- +CPBS: ("MC","RC","DC","LA","ME","BN","SD","VM","FD","LD","ON","SM")
OK
2018-10-24 12:50:34,7, GSM1: # List messages, list of supported stat's:
2018-10-24 12:50:34,7, GSM3: <- +CPBS: ("SM","ME","ON","MC","RC","DC","LD","LA","FD","BN","SD","VM")
OK
2018-10-24 12:50:34,7, GSM3: # List messages, list of supported stat's:
2018-10-24 12:50:34,7, GSM2: # List messages, list of supported stat's:
2018-10-24 12:50:34,7, GSM4: <- +CPBS: ("MC","RC","DC","LA","ME","BN","SD","VM","FD","LD","ON","SM")
OK
2018-10-24 12:50:34,7, GSM4: # List messages, list of supported stat's:
2018-10-24 12:50:35,7, GSM1: -> AT+CMGL=?
2018-10-24 12:50:35,7, GSM3: -> AT+CMGL=?
2018-10-24 12:50:35,7, GSM2: -> AT+CMGL=?
2018-10-24 12:50:35,7, GSM4: -> AT+CMGL=?
2018-10-24 12:50:35,7, GSM3: <- +CMGL: (0-4)
OK
2018-10-24 12:50:35,7, GSM1: <- +CMGL: (0-4)
OK
2018-10-24 12:50:35,7, GSM3: # Delete message, list of supported values:
2018-10-24 12:50:35,7, GSM1: # Delete message, list of supported values:
2018-10-24 12:50:35,7, GSM2: <- +CMGL: (0-4)
OK
2018-10-24 12:50:35,7, GSM2: # Delete message, list of supported values:
2018-10-24 12:50:35,7, GSM4: <- +CMGL: (0-4)
OK
2018-10-24 12:50:35,7, GSM4: # Delete message, list of supported values:
2018-10-24 12:50:35,7, GSM1: -> AT+CMGD=?
2018-10-24 12:50:35,7, GSM3: -> AT+CMGD=?
2018-10-24 12:50:35,7, GSM2: -> AT+CMGD=?
2018-10-24 12:50:35,7, GSM4: -> AT+CMGD=?
2018-10-24 12:50:35,7, GSM1: <- +CMGD: (26-35),(0-4)
OK
2018-10-24 12:50:35,7, GSM3: <- +CMGD: (26-35)
OK
2018-10-24 12:50:35,7, GSM1: # Phone activity status, list of supported stat's:
2018-10-24 12:50:35,7, GSM3: # Phone activity status, list of supported stat's:
2018-10-24 12:50:35,7, GSM2: <- +CMGD: (21-30),(0-4)
OK
2018-10-24 12:50:35,7, GSM2: # Phone activity status, list of supported stat's:
2018-10-24 12:50:35,7, GSM4: <- +CMGD: (21-30),(0-4)
OK
2018-10-24 12:50:35,7, GSM4: # Phone activity status, list of supported stat's:
2018-10-24 12:50:36,7, GSM3: -> AT+CPAS=?
2018-10-24 12:50:36,7, GSM1: -> AT+CPAS=?
2018-10-24 12:50:36,7, GSM2: -> AT+CPAS=?
2018-10-24 12:50:36,7, GSM4: -> AT+CPAS=?
2018-10-24 12:50:36,7, GSM3: <- +CPAS: (0,2,3,4)
OK
2018-10-24 12:50:36,7, GSM3: # TE character set, list of supported charset's:
2018-10-24 12:50:36,7, GSM2: <- +CPAS: (0,2,3,4)
OK
2018-10-24 12:50:36,7, GSM4: <- +CPAS: (0,2,3,4)
OK
2018-10-24 12:50:36,7, GSM2: # TE character set, list of supported charset's:
2018-10-24 12:50:36,7, GSM4: # TE character set, list of supported charset's:
2018-10-24 12:50:36,7, GSM1: <- +CPAS: (0,2,3,4)
OK
2018-10-24 12:50:36,7, GSM1: # TE character set, list of supported charset's:
2018-10-24 12:50:36,7, GSM3: -> AT+CSCS=?
2018-10-24 12:50:36,7, GSM4: -> AT+CSCS=?
2018-10-24 12:50:36,7, GSM2: -> AT+CSCS=?
2018-10-24 12:50:36,7, GSM1: -> AT+CSCS=?
2018-10-24 12:50:36,7, GSM2: <- +CSCS: ("GSM","HEX","IRA","PCCP437","UCS2","8859-1")
OK
2018-10-24 12:50:36,7, GSM4: <- +CSCS: ("GSM","HEX","IRA","PCCP437","UCS2","8859-1")
OK
2018-10-24 12:50:36,7, GSM2: # TE character set, current setting:
2018-10-24 12:50:36,7, GSM4: # TE character set, current setting:
2018-10-24 12:50:36,7, GSM3: <- +CSCS: ("GSM","HEX","IRA","PCCP437","UCS2","8859-1")
OK
2018-10-24 12:50:36,7, GSM3: # TE character set, current setting:
2018-10-24 12:50:36,7, GSM1: <- +CSCS: ("GSM","HEX","IRA","PCCP437","UCS2","8859-1")
OK
2018-10-24 12:50:36,7, GSM1: # TE character set, current setting:
2018-10-24 12:50:37,7, GSM4: -> AT+CSCS?
2018-10-24 12:50:37,7, GSM2: -> AT+CSCS?
2018-10-24 12:50:37,7, GSM3: -> AT+CSCS?
2018-10-24 12:50:37,7, GSM1: -> AT+CSCS?
2018-10-24 12:50:37,7, GSM2: <- +CSCS: "IRA"
OK
2018-10-24 12:50:37,7, GSM4: <- +CSCS: "GSM"
OK
2018-10-24 12:50:37,7, GSM2: ## End of device details
2018-10-24 12:50:37,7, GSM4: ## End of device details
2018-10-24 12:50:37,6, GSM4: Checking memory size
2018-10-24 12:50:37,7, GSM3: <- +CSCS: "GSM"
OK
2018-10-24 12:50:37,7, GSM3: ## End of device details
2018-10-24 12:50:37,6, GSM3: Checking memory size
2018-10-24 12:50:37,6, GSM2: Checking memory size
2018-10-24 12:50:37,7, GSM1: <- +CSCS: "GSM"
OK
2018-10-24 12:50:37,7, GSM1: ## End of device details
2018-10-24 12:50:37,6, GSM1: Checking memory size
2018-10-24 12:50:37,7, GSM4: -> AT+CMGL=4
2018-10-24 12:50:37,7, GSM3: -> AT+CMGL=4
2018-10-24 12:50:37,7, GSM2: -> AT+CMGL=4
2018-10-24 12:50:37,7, GSM4: Command is sent, waiting for the answer
2018-10-24 12:50:37,7, GSM2: Command is sent, waiting for the answer
2018-10-24 12:50:37,7, GSM3: Command is sent, waiting for the answer
2018-10-24 12:50:37,7, GSM1: -> AT+CMGL=4
2018-10-24 12:50:37,7, GSM1: Command is sent, waiting for the answer
2018-10-24 12:50:37,7, GSM2: <- OK
2018-10-24 12:50:37,7, GSM4: <- OK
2018-10-24 12:50:37,6, GSM2: Used memory is 0
2018-10-24 12:50:37,6, GSM4: Used memory is 0
2018-10-24 12:50:37,6, GSM4: No SMS received
2018-10-24 12:50:37,7, GSM3: <- OK
2018-10-24 12:50:37,6, GSM3: Used memory is 0
2018-10-24 12:50:37,6, GSM3: No SMS received
2018-10-24 12:50:37,6, GSM2: No SMS received
2018-10-24 12:50:37,7, GSM1: <- OK
2018-10-24 12:50:37,6, GSM1: Used memory is 0
2018-10-24 12:50:37,6, GSM1: No SMS received
2018-10-24 12:50:39,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 5718.
2018-10-24 12:50:39,2, GSM1: Modem handler 0 terminated. PID: 5719, was started 18-10-24 12:50:26.
2018-10-24 12:50:39,2, GSM3: Modem handler 2 terminated. PID: 5721, was started 18-10-24 12:50:26.
2018-10-24 12:50:39,2, GSM4: Modem handler 3 terminated. PID: 5722, was started 18-10-24 12:50:26.
2018-10-24 12:50:39,2, GSM2: Modem handler 1 terminated. PID: 5720, was started 18-10-24 12:50:26.
2018-10-24 12:50:39,2, smsd: Smsd mainprocess terminated. PID 5718, was started 18-10-24 12:50:26.
I am 100% sure each SIM has at least 1 SMS... But somehow it is not showing...
This is the attempt with check_memory_method = 3
0,1,2 and 3 are not working so far... I feel it has something to do with that... not sure.
Output of lsusb:
Bus 001 Device 017: ID 04e2:1414 Exar Corp.
Bus 001 Device 016: ID 04e2:1414 Exar Corp.
Bus 001 Device 015: ID 04e2:1414 Exar Corp.
Bus 001 Device 014: ID 04e2:1414 Exar Corp.
Bus 001 Device 013: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 005: ID 17ef:600e Lenovo
Bus 001 Device 004: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The Exar Corp. devices are the simmodems somehow.
Output of ls /dev/ttyACM* -al
crw-rw---- 1 root dialout 166, 0 Oct 24 12:50 /dev/ttyACM0
crw-rw---- 1 root dialout 166, 1 Oct 24 12:50 /dev/ttyACM1
crw-rw---- 1 root dialout 166, 10 Oct 24 12:30 /dev/ttyACM10
crw-rw---- 1 root dialout 166, 11 Oct 24 12:30 /dev/ttyACM11
crw-rw---- 1 root dialout 166, 12 Oct 24 12:30 /dev/ttyACM12
crw-rw---- 1 root dialout 166, 13 Oct 24 12:30 /dev/ttyACM13
crw-rw---- 1 root dialout 166, 14 Oct 24 12:50 /dev/ttyACM14
crw-rw---- 1 root dialout 166, 15 Oct 24 12:50 /dev/ttyACM15
crw-rw---- 1 root dialout 166, 2 Oct 24 12:30 /dev/ttyACM2
crw-rw---- 1 root dialout 166, 3 Oct 24 12:30 /dev/ttyACM3
crw-rw---- 1 root dialout 166, 4 Oct 24 12:30 /dev/ttyACM4
crw-rw---- 1 root dialout 166, 5 Oct 24 12:30 /dev/ttyACM5
crw-rw---- 1 root dialout 166, 6 Oct 24 12:30 /dev/ttyACM6
crw-rw---- 1 root dialout 166, 7 Oct 24 12:30 /dev/ttyACM7
crw-rw---- 1 root dialout 166, 8 Oct 24 12:30 /dev/ttyACM8
crw-rw---- 1 root dialout 166, 9 Oct 24 12:30 /dev/ttyACM9
I am really at loss here, been tinkering around for days already...
There is ERROR in the logs: "Modem did not accept the pre-init string"
Anything I can do, to make it all work... ?
|
Wed Oct 24, 2018 11:41
|
glassie: Operating system name and version: Debian Stretch (Raspbian)
Version of smsd: 3.1.15 (default with apt-get on this version of OS)
Smsd installed from: package repository
Name and model of a modem / phone: Quectel M35 Revision MTK 0828 (This is a simmodem with 16 SIM slots)
Interface: USB
Alright, I am having trouble getting this 16-slot modem to work with smstools on my Raspberry Pi 3.
It is working well with Gammu and also with gammu-smsd, so the sims and the modem are OK.
The sims (AND SMStools work perfect when I insert it into a K3765 modem, --> Only difference is this: /dev/ttyUSB0)
Each of the SIM slots in the modem are visible: /dev/ttyACMx (where x=0-15)
Issue is that, somehow, it cannot find the incoming SMS on the SIM. (Only intend to use it for incoming SMS, sending is not important)
I will add my config + some logging in a second post, as I am on another pc right now.
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|