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 22:31
SMSTools3 Community » Help and support Bottom

[solved] SIM300 and report feature

  This topic is locked

Page:  1

Author Post
Member
Registered:
May 2011
Location: Neusaess, Germany
Operating system name and version: CentOS 5.3
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: SIMCOM_SIM300 1008B15SIM300M32_SST34HF3284
Interface: serial

We are trying to use the report function but did not get it to work by now.
As i'm not an expert on GSM-Modems most of the commands do not realy tell me anything.
The config entries are just a summary of tries according to other peoples experience from this forum.

Hope that someone can help us to get this functionality to work.

Unfortunatelly we have not tried if the SIM card works with the report feature before we installed it
at our data center.


Our smsd.conf

devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7

report = /var/spool/sms/report

adminmessage_device = GSM1
admin_to = 4745887479

failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
receive_before_send = yes

logtime_ms = yes
store_received_pdu = 3
store_sent_pdu = 3

incoming_utf8 = yes


[GSM1]
init = AT+CPMS="SM","SM","SM"
primary_memory = SM
secondary_memory = SM

device = /dev/ttyS0
baudrate = 9600

incoming = high
pin = xxxx

report_device_details = yes
cs_convert = yes
report = yes
routed_status_report_cnma = yes
using_routed_status_report = yes
detect_message_routing = yes
 
 
'smsdconf' Syntax Highlight powered by GeSHi



The files we create all contain do not contain any "report" line.

The log-file does not show any item that i could identify as report :(

2011-05-03 16:10:06.578,2, smsd: Smsd v3.1.14 started.
2011-05-03 16:10:06.578,2, smsd: Running as root:root.
2011-05-03 16:10:06.578,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.VwkWcv /tmp/smsd_data.inpZCx
2011-05-03 16:10:06.583,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2011-05-03 16:10:06.583,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2011-05-03 16:10:06.583,4, smsd: Mainspooler uses GSM1 to send administrative messages.
2011-05-03 16:10:06.583,6, smsd: Using logtime format "%Y-%m-%d %H:%M:%S.timems". It produces "2011-05-03 16:10:06.583".
2011-05-03 16:10:06.583,5, GSM1: Modem handler 0 has started. PID: 9280.
2011-05-03 16:10:06.584,5, GSM1: Using check_memory_method 1: CPMS is used.
2011-05-03 16:10:06.584,6, GSM1: Checking device for incoming SMS
2011-05-03 16:10:06.584,6, GSM1: Checking if modem is ready
2011-05-03 16:10:06.584,5, smsd: Outgoing file checker has started. PID: 9279.
2011-05-03 16:10:06.584,7, smsd: All PID's: 9279,9280
2011-05-03 16:10:06.785,7, GSM1: -> AT
2011-05-03 16:10:06.789,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:07.092,7, GSM1: <- OK
2011-05-03 16:10:07.092,6, GSM1: Pre-initializing modem
2011-05-03 16:10:07.294,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-05-03 16:10:07.315,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:07.618,7, GSM1: <- OK
2011-05-03 16:10:07.618,6, GSM1: Checking if modem needs PIN
2011-05-03 16:10:07.820,7, GSM1: -> AT+CPIN?
2011-05-03 16:10:07.830,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:08.133,7, GSM1: <- +CPIN: READY OK
2011-05-03 16:10:08.133,6, GSM1: Initializing modem
2011-05-03 16:10:08.340,7, GSM1: -> AT+CPMS="SM","SM","SM"
2011-05-03 16:10:08.365,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:08.685,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:10:08.917,7, GSM1: -> AT+CSQ
2011-05-03 16:10:08.925,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:09.228,7, GSM1: <- +CSQ: 23,0 OK
2011-05-03 16:10:09.228,6, GSM1: Signal Strength Indicator: (23,0) -67 dBm (Excellent), Bit Error Rate: less than 0.2 %
2011-05-03 16:10:09.228,6, GSM1: Checking if Modem is registered to the network
2011-05-03 16:10:09.429,7, GSM1: -> AT+CREG?
2011-05-03 16:10:09.439,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:09.742,7, GSM1: <- +CREG: 2,1,"2EE1","0CC3" OK
2011-05-03 16:10:09.742,6, GSM1: Modem is registered to the network
2011-05-03 16:10:09.742,6, GSM1: Location area code: 2EE1, Cell ID: 0CC3
2011-05-03 16:10:09.944,7, GSM1: -> AT+CSQ
2011-05-03 16:10:09.952,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:10.255,7, GSM1: <- +CSQ: 23,0 OK
2011-05-03 16:10:10.255,6, GSM1: Signal Strength Indicator: (23,0) -67 dBm (Excellent), Bit Error Rate: less than 0.2 %
2011-05-03 16:10:10.255,6, GSM1: Selecting PDU mode
2011-05-03 16:10:10.457,7, GSM1: -> AT+CMGF=0
2011-05-03 16:10:10.469,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:10.772,7, GSM1: <- OK
2011-05-03 16:10:10.974,7, GSM1: -> AT+CIMI
2011-05-03 16:10:10.984,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:11.287,7, GSM1: <- 242010410807638 OK
2011-05-03 16:10:11.489,7, GSM1: -> AT+CGSN
2011-05-03 16:10:11.499,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:11.802,7, GSM1: <- 354777032462835 OK
2011-05-03 16:10:11.802,5, GSM1: CGSN: 354777032462835
2011-05-03 16:10:11.802,5, GSM1: IMSI: 242010410807638
2011-05-03 16:10:11.802,6, GSM1: Checking if reading of messages is supported
2011-05-03 16:10:12.004,7, GSM1: -> AT+CPMS?
2011-05-03 16:10:12.014,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:12.317,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2011-05-03 16:10:12.317,7, GSM1: ## Start of device details
2011-05-03 16:10:12.317,7, GSM1: # Manufacturer identification:
2011-05-03 16:10:12.519,7, GSM1: -> AT+CGMI
2011-05-03 16:10:12.835,7, GSM1: <- SIMCOM_Ltd
OK
2011-05-03 16:10:12.835,7, GSM1: # Model identification:
2011-05-03 16:10:13.039,7, GSM1: -> AT+CGMM
2011-05-03 16:10:13.361,7, GSM1: <- SIMCOM_SIM300
OK
2011-05-03 16:10:13.361,7, GSM1: # Revision identification:
2011-05-03 16:10:13.587,7, GSM1: -> AT+CGMR
2011-05-03 16:10:13.901,7, GSM1: <- Revision:1008B15SIM300M32_SST34HF3284
OK
2011-05-03 16:10:13.901,7, GSM1: # New message indications, list of supported modes:
2011-05-03 16:10:14.102,7, GSM1: -> AT+CNMI=?
2011-05-03 16:10:14.414,7, GSM1: <- +CNMI: (0-3),(0-3),(0,2),(0-1),(0)
OK
2011-05-03 16:10:14.414,7, GSM1: # New message indications, current settings:
2011-05-03 16:10:14.616,7, GSM1: -> AT+CNMI?
2011-05-03 16:10:14.929,7, GSM1: <- +CNMI: 2,1,0,0,0
OK
2011-05-03 16:10:14.929,7, GSM1: # Preferred message storage, list of supported mem's:
2011-05-03 16:10:15.131,7, GSM1: -> AT+CPMS=?
2011-05-03 16:10:15.446,7, GSM1: <- +CPMS: ("SM"),("SM"),("SM")
OK
2011-05-03 16:10:15.446,7, GSM1: # Phonebook storage, available mem's:
2011-05-03 16:10:15.648,7, GSM1: -> AT+CPBS=?
2011-05-03 16:10:16.064,7, GSM1: <- +CPBS: ("MC","RC","DC","LD","LA","ME","SM","FD","ON","BN","SD","VM")
OK
2011-05-03 16:10:16.064,7, GSM1: # List messages, list of supported stat's:
2011-05-03 16:10:16.266,7, GSM1: -> AT+CMGL=?
2011-05-03 16:10:16.581,7, GSM1: <- +CMGL: (0-4)
OK
2011-05-03 16:10:16.581,7, GSM1: # Delete message, list of supported values:
2011-05-03 16:10:16.783,7, GSM1: -> AT+CMGD=?
2011-05-03 16:10:17.098,7, GSM1: <- +CMGD: (1-25)
OK
2011-05-03 16:10:17.098,7, GSM1: # Phone activity status, list of supported stat's:
2011-05-03 16:10:17.300,7, GSM1: -> AT+CPAS=?
2011-05-03 16:10:17.616,7, GSM1: <- +CPAS: (0,2,3,4)
OK
2011-05-03 16:10:17.616,7, GSM1: # TE character set, list of supported charset's:
2011-05-03 16:10:17.819,7, GSM1: -> AT+CSCS=?
2011-05-03 16:10:18.239,7, GSM1: <- +CSCS: ("GSM","HEX","IRA","PCCP","PCDN","UCS2","8859-1")
OK
2011-05-03 16:10:18.239,7, GSM1: # TE character set, current setting:
2011-05-03 16:10:18.443,7, GSM1: -> AT+CSCS?
2011-05-03 16:10:18.757,7, GSM1: <- +CSCS: "IRA"
OK
2011-05-03 16:10:18.757,7, GSM1: ## End of device details
2011-05-03 16:10:18.757,6, GSM1: Checking memory size
2011-05-03 16:10:18.961,7, GSM1: -> AT+CPMS?
2011-05-03 16:10:18.972,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:19.277,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2011-05-03 16:10:19.277,6, GSM1: Used memory is 0 of 25
2011-05-03 16:10:19.277,6, GSM1: Changing memory
2011-05-03 16:10:19.480,7, GSM1: -> AT+CPMS="SM"
2011-05-03 16:10:19.495,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:19.801,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:10:19.801,6, GSM1: Checking memory size
2011-05-03 16:10:20.005,7, GSM1: -> AT+CPMS?
2011-05-03 16:10:20.015,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:20.319,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2011-05-03 16:10:20.319,6, GSM1: Used memory is 0 of 25
2011-05-03 16:10:20.319,6, GSM1: Changing memory
2011-05-03 16:10:20.522,7, GSM1: -> AT+CPMS="SM"
2011-05-03 16:10:20.537,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:20.841,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:10:20.841,6, GSM1: No SMS received
2011-05-03 16:10:30.857,6, GSM1: Checking device for incoming SMS
2011-05-03 16:10:30.857,6, GSM1: Checking if modem is ready
2011-05-03 16:10:31.059,7, GSM1: -> AT
2011-05-03 16:10:31.063,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:31.366,7, GSM1: <- OK
2011-05-03 16:10:31.366,6, GSM1: Pre-initializing modem
2011-05-03 16:10:31.568,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-05-03 16:10:31.590,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:31.893,7, GSM1: <- OK
2011-05-03 16:10:31.893,6, GSM1: Checking if modem needs PIN
2011-05-03 16:10:32.095,7, GSM1: -> AT+CPIN?
2011-05-03 16:10:32.105,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:32.408,7, GSM1: <- +CPIN: READY OK
2011-05-03 16:10:32.408,6, GSM1: Initializing modem
2011-05-03 16:10:32.610,7, GSM1: -> AT+CPMS="SM","SM","SM"
2011-05-03 16:10:32.634,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:32.937,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:10:33.139,7, GSM1: -> AT+CSQ
2011-05-03 16:10:33.148,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:33.451,7, GSM1: <- +CSQ: 23,0 OK
2011-05-03 16:10:33.451,6, GSM1: Signal Strength Indicator: (23,0) -67 dBm (Excellent), Bit Error Rate: less than 0.2 %
2011-05-03 16:10:33.451,6, GSM1: Checking if Modem is registered to the network
2011-05-03 16:10:33.653,7, GSM1: -> AT+CREG?
2011-05-03 16:10:33.663,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:33.966,7, GSM1: <- +CREG: 2,1,"2EE1","0CC3" OK
2011-05-03 16:10:33.966,6, GSM1: Modem is registered to the network
2011-05-03 16:10:33.966,6, GSM1: Selecting PDU mode
2011-05-03 16:10:34.168,7, GSM1: -> AT+CMGF=0
2011-05-03 16:10:34.180,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:34.483,7, GSM1: <- OK
2011-05-03 16:10:34.483,6, GSM1: Checking memory size
2011-05-03 16:10:34.685,7, GSM1: -> AT+CPMS?
2011-05-03 16:10:34.695,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:34.998,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2011-05-03 16:10:34.998,6, GSM1: Used memory is 0 of 25
2011-05-03 16:10:34.998,6, GSM1: Changing memory
2011-05-03 16:10:35.200,7, GSM1: -> AT+CPMS="SM"
2011-05-03 16:10:35.214,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:35.517,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:10:35.517,6, GSM1: Checking memory size
2011-05-03 16:10:35.719,7, GSM1: -> AT+CPMS?
2011-05-03 16:10:35.729,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:36.032,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2011-05-03 16:10:36.032,6, GSM1: Used memory is 0 of 25
2011-05-03 16:10:36.032,6, GSM1: Changing memory
2011-05-03 16:10:36.234,7, GSM1: -> AT+CPMS="SM"
2011-05-03 16:10:36.248,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:36.551,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:10:36.551,6, GSM1: No SMS received


2011-05-03 16:10:37.529,5, smsd: Moved file /var/spool/sms/outgoing/320811304427727 to /var/spool/sms/checked
2011-05-03 16:10:37.661,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/320811304427727
2011-05-03 16:10:37.661,6, GSM1: Checking device for incoming SMS
2011-05-03 16:10:37.661,6, GSM1: Checking if modem is ready
2011-05-03 16:10:37.862,7, GSM1: -> AT
2011-05-03 16:10:37.866,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:38.169,7, GSM1: <- OK
2011-05-03 16:10:38.169,6, GSM1: Pre-initializing modem
2011-05-03 16:10:38.371,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-05-03 16:10:38.392,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:38.695,7, GSM1: <- OK
2011-05-03 16:10:38.695,6, GSM1: Checking if modem needs PIN
2011-05-03 16:10:38.897,7, GSM1: -> AT+CPIN?
2011-05-03 16:10:38.907,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:39.210,7, GSM1: <- +CPIN: READY OK
2011-05-03 16:10:39.210,6, GSM1: Initializing modem
2011-05-03 16:10:39.412,7, GSM1: -> AT+CPMS="SM","SM","SM"
2011-05-03 16:10:39.437,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:39.740,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:10:39.942,7, GSM1: -> AT+CSQ
2011-05-03 16:10:39.950,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:40.274,7, GSM1: <- +CSQ: 23,0 OK
2011-05-03 16:10:40.274,6, GSM1: Signal Strength Indicator: (23,0) -67 dBm (Excellent), Bit Error Rate: less than 0.2 %
2011-05-03 16:10:40.274,6, GSM1: Checking if Modem is registered to the network
2011-05-03 16:10:40.476,7, GSM1: -> AT+CREG?
2011-05-03 16:10:40.486,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:40.798,7, GSM1: <- +CREG: 2,1,"2EE1","0CC3" OK
2011-05-03 16:10:40.798,6, GSM1: Modem is registered to the network
2011-05-03 16:10:40.798,6, GSM1: Selecting PDU mode
2011-05-03 16:10:41.001,7, GSM1: -> AT+CMGF=0
2011-05-03 16:10:41.013,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:41.315,7, GSM1: <- OK
2011-05-03 16:10:41.315,6, GSM1: Checking memory size
2011-05-03 16:10:41.517,7, GSM1: -> AT+CPMS?
2011-05-03 16:10:41.527,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:41.830,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2011-05-03 16:10:41.830,6, GSM1: Used memory is 0 of 25
2011-05-03 16:10:41.830,6, GSM1: No SMS received
2011-05-03 16:10:41.830,6, GSM1: Sending SMS from  to 4745887479
2011-05-03 16:10:41.830,6, GSM1: Checking if modem is ready
2011-05-03 16:10:42.034,7, GSM1: -> AT
2011-05-03 16:10:42.038,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:42.344,7, GSM1: <- OK
2011-05-03 16:10:42.344,6, GSM1: Pre-initializing modem
2011-05-03 16:10:42.547,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-05-03 16:10:42.569,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:42.875,7, GSM1: <- OK
2011-05-03 16:10:42.875,6, GSM1: Checking if modem needs PIN
2011-05-03 16:10:43.078,7, GSM1: -> AT+CPIN?
2011-05-03 16:10:43.089,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:43.391,7, GSM1: <- +CPIN: READY OK
2011-05-03 16:10:43.391,6, GSM1: Initializing modem
2011-05-03 16:10:43.595,7, GSM1: -> AT+CPMS="SM","SM","SM"
2011-05-03 16:10:43.619,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:43.925,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:10:44.128,7, GSM1: -> AT+CSQ
2011-05-03 16:10:44.136,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:44.440,7, GSM1: <- +CSQ: 23,0 OK
2011-05-03 16:10:44.440,6, GSM1: Signal Strength Indicator: (23,0) -67 dBm (Excellent), Bit Error Rate: less than 0.2 %
2011-05-03 16:10:44.440,6, GSM1: Checking if Modem is registered to the network
2011-05-03 16:10:44.644,7, GSM1: -> AT+CREG?
2011-05-03 16:10:44.654,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:44.959,7, GSM1: <- +CREG: 2,1,"2EE1","0CC3" OK
2011-05-03 16:10:44.959,6, GSM1: Modem is registered to the network
2011-05-03 16:10:44.959,6, GSM1: Selecting PDU mode
2011-05-03 16:10:45.163,7, GSM1: -> AT+CMGF=0
2011-05-03 16:10:45.175,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:45.480,7, GSM1: <- OK
2011-05-03 16:10:45.684,7, GSM1: -> AT+CMGS=20
2011-05-03 16:10:45.696,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:46.002,7, GSM1: <- >
2011-05-03 16:10:46.205,7, GSM1: -> 0031000A9174548847970000FF080A6A794E078D64.
2011-05-03 16:10:46.255,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:49.389,7, GSM1: <- +CMGS: 7 OK
2011-05-03 16:10:49.389,5, GSM1: SMS sent, Message_id: 7, To: 4745887479, sending time 8 sec.
2011-05-03 16:10:50.366,6, GSM1: Moved file /var/spool/sms/checked/320811304427727 to /var/spool/sms/sent/320811304427727
2011-05-03 16:10:50.366,6, GSM1: Checking device for incoming SMS
2011-05-03 16:10:50.366,6, GSM1: Checking memory size
2011-05-03 16:10:50.567,7, GSM1: -> AT+CPMS?
2011-05-03 16:10:50.577,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:50.880,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2011-05-03 16:10:50.880,6, GSM1: Used memory is 0 of 25
2011-05-03 16:10:50.880,6, GSM1: Changing memory
2011-05-03 16:10:51.082,7, GSM1: -> AT+CPMS="SM"
2011-05-03 16:10:51.096,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:51.399,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:10:51.399,6, GSM1: Checking memory size
2011-05-03 16:10:51.600,7, GSM1: -> AT+CPMS?
2011-05-03 16:10:51.610,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:51.913,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2011-05-03 16:10:51.913,6, GSM1: Used memory is 0 of 25
2011-05-03 16:10:51.913,6, GSM1: Changing memory
2011-05-03 16:10:52.115,7, GSM1: -> AT+CPMS="SM"
2011-05-03 16:10:52.129,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:52.432,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:10:52.432,6, GSM1: No SMS received
2011-05-03 16:10:52.432,6, GSM1: Checking device for incoming SMS
2011-05-03 16:10:52.432,6, GSM1: Checking memory size
2011-05-03 16:10:52.634,7, GSM1: -> AT+CPMS?
2011-05-03 16:10:52.644,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:52.949,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2011-05-03 16:10:52.949,6, GSM1: Used memory is 0 of 25
2011-05-03 16:10:52.949,6, GSM1: Changing memory
2011-05-03 16:10:53.153,7, GSM1: -> AT+CPMS="SM"
2011-05-03 16:10:53.168,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:53.474,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:10:53.474,6, GSM1: Checking memory size
2011-05-03 16:10:53.678,7, GSM1: -> AT+CPMS?
2011-05-03 16:10:53.689,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:53.994,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2011-05-03 16:10:53.994,6, GSM1: Used memory is 0 of 25
2011-05-03 16:10:53.994,6, GSM1: Changing memory
2011-05-03 16:10:54.198,7, GSM1: -> AT+CPMS="SM"
2011-05-03 16:10:54.213,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:10:54.519,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:10:54.519,6, GSM1: No SMS received
2011-05-03 16:11:04.539,6, GSM1: Checking device for incoming SMS
2011-05-03 16:11:04.539,6, GSM1: Checking if modem is ready
2011-05-03 16:11:04.743,7, GSM1: -> AT
2011-05-03 16:11:04.747,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:05.053,7, GSM1: <- OK
2011-05-03 16:11:05.053,6, GSM1: Pre-initializing modem
2011-05-03 16:11:05.257,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-05-03 16:11:05.279,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:05.584,7, GSM1: <- OK
2011-05-03 16:11:05.585,6, GSM1: Checking if modem needs PIN
2011-05-03 16:11:05.788,7, GSM1: -> AT+CPIN?
2011-05-03 16:11:05.798,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:06.104,7, GSM1: <- +CPIN: READY OK
2011-05-03 16:11:06.105,6, GSM1: Initializing modem
2011-05-03 16:11:06.308,7, GSM1: -> AT+CPMS="SM","SM","SM"
2011-05-03 16:11:06.332,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:06.638,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:11:06.842,7, GSM1: -> AT+CSQ
2011-05-03 16:11:06.850,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:07.156,7, GSM1: <- +CSQ: 24,0 OK
2011-05-03 16:11:07.156,6, GSM1: Signal Strength Indicator: (24,0) -65 dBm (Excellent), Bit Error Rate: less than 0.2 %
2011-05-03 16:11:07.156,6, GSM1: Checking if Modem is registered to the network
2011-05-03 16:11:07.360,7, GSM1: -> AT+CREG?
2011-05-03 16:11:07.370,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:07.677,7, GSM1: <- +CREG: 2,1,"2EE1","0CC3" OK
2011-05-03 16:11:07.677,6, GSM1: Modem is registered to the network
2011-05-03 16:11:07.677,6, GSM1: Selecting PDU mode
2011-05-03 16:11:07.880,7, GSM1: -> AT+CMGF=0
2011-05-03 16:11:07.892,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:08.198,7, GSM1: <- OK
2011-05-03 16:11:08.198,6, GSM1: Checking memory size
2011-05-03 16:11:08.402,7, GSM1: -> AT+CPMS?
2011-05-03 16:11:08.412,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:08.718,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2011-05-03 16:11:08.718,6, GSM1: Used memory is 0 of 25
2011-05-03 16:11:08.718,6, GSM1: Changing memory
2011-05-03 16:11:08.922,7, GSM1: -> AT+CPMS="SM"
2011-05-03 16:11:08.936,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:09.240,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:11:09.240,6, GSM1: Checking memory size
2011-05-03 16:11:09.442,7, GSM1: -> AT+CPMS?
2011-05-03 16:11:09.452,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:09.755,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2011-05-03 16:11:09.755,6, GSM1: Used memory is 0 of 25
2011-05-03 16:11:09.755,6, GSM1: Changing memory
2011-05-03 16:11:09.957,7, GSM1: -> AT+CPMS="SM"
2011-05-03 16:11:09.971,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:10.274,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:11:10.274,6, GSM1: No SMS received
2011-05-03 16:11:20.286,6, GSM1: Checking device for incoming SMS
2011-05-03 16:11:20.286,6, GSM1: Checking if modem is ready
2011-05-03 16:11:20.490,7, GSM1: -> AT
2011-05-03 16:11:20.494,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:20.797,7, GSM1: <- OK
2011-05-03 16:11:20.797,6, GSM1: Pre-initializing modem
2011-05-03 16:11:20.999,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-05-03 16:11:21.020,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:21.323,7, GSM1: <- OK
2011-05-03 16:11:21.323,6, GSM1: Checking if modem needs PIN
2011-05-03 16:11:21.525,7, GSM1: -> AT+CPIN?
2011-05-03 16:11:21.535,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:21.838,7, GSM1: <- +CPIN: READY OK
2011-05-03 16:11:21.838,6, GSM1: Initializing modem
2011-05-03 16:11:22.040,7, GSM1: -> AT+CPMS="SM","SM","SM"
2011-05-03 16:11:22.065,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:22.368,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:11:22.572,7, GSM1: -> AT+CSQ
2011-05-03 16:11:22.581,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:22.886,7, GSM1: <- +CSQ: 24,0 OK
2011-05-03 16:11:22.886,6, GSM1: Signal Strength Indicator: (24,0) -65 dBm (Excellent), Bit Error Rate: less than 0.2 %
2011-05-03 16:11:22.886,6, GSM1: Checking if Modem is registered to the network
2011-05-03 16:11:23.090,7, GSM1: -> AT+CREG?
2011-05-03 16:11:23.101,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:23.407,7, GSM1: <- +CREG: 2,1,"2EE1","0CC3" OK
2011-05-03 16:11:23.407,6, GSM1: Modem is registered to the network
2011-05-03 16:11:23.407,6, GSM1: Selecting PDU mode
2011-05-03 16:11:23.611,7, GSM1: -> AT+CMGF=0
2011-05-03 16:11:23.622,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:23.928,7, GSM1: <- OK
2011-05-03 16:11:23.928,6, GSM1: Checking memory size
2011-05-03 16:11:24.132,7, GSM1: -> AT+CPMS?
2011-05-03 16:11:24.142,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:24.447,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2011-05-03 16:11:24.447,6, GSM1: Used memory is 0 of 25
2011-05-03 16:11:24.447,6, GSM1: Changing memory
2011-05-03 16:11:24.651,7, GSM1: -> AT+CPMS="SM"
2011-05-03 16:11:24.665,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:24.971,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:11:24.971,6, GSM1: Checking memory size
2011-05-03 16:11:25.175,7, GSM1: -> AT+CPMS?
2011-05-03 16:11:25.185,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:25.491,7, GSM1: <- +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2011-05-03 16:11:25.491,6, GSM1: Used memory is 0 of 25
2011-05-03 16:11:25.491,6, GSM1: Changing memory
2011-05-03 16:11:25.694,7, GSM1: -> AT+CPMS="SM"
2011-05-03 16:11:25.708,7, GSM1: Command is sent, waiting for the answer
2011-05-03 16:11:26.014,7, GSM1: <- +CPMS: 0,25,0,25,0,25 OK
2011-05-03 16:11:26.014,6, GSM1: No SMS received
2011-05-03 16:11:26.523,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 9279.
2011-05-03 16:11:26.523,2, GSM1: Modem handler 0 terminated. PID: 9280, was started 11-05-03 16:10:06.
2011-05-03 16:11:26.523,2, smsd: Smsd mainprocess terminated. PID 9279, was started 11-05-03 16:10:06.
 



« Last edit by keke on Tue May 03, 2011 16:46, 165 months ago. »
Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Remove the settings:
primary_memory = SM
secondary_memory = SM


Dual-memory handler makes no sense, when both memories are the same.

Can you receive other than report messages with this device? The log does not show any of received messages, so I cannot see if there is deliver indication too, when a SMS is received.

Because this device does not have internal storage for messages, you do not need to use the init string like it was used. Assuming that normal messages are received properly, it seems that this device does not store reports to the SIM. In this case try to use init = AT+CNMI=2,1,0,1,0 which should enable routing of reports.

If reports are received using routed mode, check from the log what is the answer for ACK after the report is received. It the answer is some error, set routed_status_report_cnma = no.

Member
Registered:
May 2011
Location: Neusaess, Germany
Topic owner
Thank's for your help - it worked !!

I suspect that the Init-String did the trick as i've tried without the 'primary_memory' and 'secondary_memory' before without any effect.

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.