|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Sat May 31, 2025 23:42 |
Page: 1
Keywords: Mode: All keywords (AND) |
Sat Mar 19, 2011 14:30
|
paha:
In any case, thanks for choosing this software 8) .
And thank you for writing this software. :-)
|
Sat Mar 19, 2011 14:09
|
paha:
I have some manuals for ZTE, but not for that exact model.
Anyways, your device seems to support a modem setting check_memory_method = 2, which is better than default method. You could try to use it.
There is "SR" memory available, but settings for CNMI are not clear. You could try to send SMS with a header "Report: yes". If after few minutes no report is received, try to use dual-memory handler:
primary_memory = ME
secondary_memory = SR
But if you do not need status reports, just ignore this feature.
I gave it a try with Report: yes and I got the sms. But instead of receiving the report I got the same "loop" as earlier:
2011-03-19 15:02:39,7, GSM1: -> AT+CPMS?
2011-03-19 15:02:39,7, GSM1: Command is sent, waiting for the answer
2011-03-19 15:02:39,7, GSM1: <- +CPMS: "ME",1,100,"ME",1,100,"ME",1,100 OK
2011-03-19 15:02:39,6, GSM1: Used memory is 1 of 100
2011-03-19 15:02:39,6, GSM1: Trying to get stored message 0
2011-03-19 15:02:40,7, GSM1: -> AT+CMGR=0
2011-03-19 15:02:40,7, GSM1: Command is sent, waiting for the answer
2011-03-19 15:02:40,7, GSM1: <- OK
2011-03-19 15:02:40,6, GSM1: Trying to get stored message 1
2011-03-19 15:02:40,7, GSM1: -> AT+CMGR=1
...
But after setting primary and secondary memory, the report arrived successfully:
SMS STATUS REPORT
Message_id: 4
Discharge_timestamp: 11-03-19 15:01:21
Status: 0,Ok,short message received by the SME
THANKS again.
|
Sat Mar 19, 2011 13:37
|
paha:
Thanks and cheers! 8)
Later you might want to receive delivery reports for sent messages, I assume. To get that working, some additional information is required. Do you have a manual of AT commands for this device?
You could also set the modem setting report_device_details = yes, and show those details from the log.
Unfortunately I have only the manual packaged into the box which is for beginners who don't know what AT commads are. :-)
Device report says:
2011-03-19 14:32:06,7, GSM1: ## Start of device details
2011-03-19 14:32:06,7, GSM1: # Manufacturer identification:
2011-03-19 14:32:06,7, GSM1: -> AT+CGMI
2011-03-19 14:32:06,7, GSM1: <- ZTE INCORPORATED
OK
2011-03-19 14:32:06,7, GSM1: # Model identification:
2011-03-19 14:32:07,7, GSM1: -> AT+CGMM
2011-03-19 14:32:07,7, GSM1: <- K3570-Z
OK
2011-03-19 14:32:07,7, GSM1: # Revision identification:
2011-03-19 14:32:07,7, GSM1: -> AT+CGMR
2011-03-19 14:32:07,7, GSM1: <- BD_P680A8V1.0.0B03
OK
2011-03-19 14:32:07,7, GSM1: # New message indications, list of supported modes:
2011-03-19 14:32:08,7, GSM1: -> AT+CNMI=?
2011-03-19 14:32:08,7, GSM1: <- +CNMI: (0,1,2,3),(0,1,2,3),(0,2),(0,1,2),(0,1)
OK
2011-03-19 14:32:08,7, GSM1: # New message indications, current settings:
2011-03-19 14:32:08,7, GSM1: -> AT+CNMI?
2011-03-19 14:32:08,7, GSM1: <- +CNMI: 3,1,0,0,0
OK
2011-03-19 14:32:08,7, GSM1: # Preferred message storage, list of supported mem's:
2011-03-19 14:32:09,7, GSM1: -> AT+CPMS=?
2011-03-19 14:32:09,7, GSM1: <- +CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")
OK
2011-03-19 14:32:09,7, GSM1: # Phonebook storage, available mem's:
2011-03-19 14:32:09,7, GSM1: -> AT+CPBS=?
2011-03-19 14:32:09,7, GSM1: <- +CPBS: ("SM","DC","FD","LD","MC","ME","RC","EN","ON")
OK
2011-03-19 14:32:09,7, GSM1: # List messages, list of supported stat's:
2011-03-19 14:32:10,7, GSM1: -> AT+CMGL=?
2011-03-19 14:32:10,7, GSM1: <- +CMGL: (0-4)
OK
2011-03-19 14:32:10,7, GSM1: # Delete message, list of supported values:
2011-03-19 14:32:10,7, GSM1: -> AT+CMGD=?
2011-03-19 14:32:11,7, GSM1: <- +CMGD: (),(0-4)
OK
2011-03-19 14:32:11,7, GSM1: # Phone activity status, list of supported stat's:
2011-03-19 14:32:11,7, GSM1: -> AT+CPAS=?
2011-03-19 14:32:11,7, GSM1: <- +CPAS: (0,3,4)
OK
2011-03-19 14:32:11,7, GSM1: # TE character set, list of supported charset's:
2011-03-19 14:32:11,7, GSM1: -> AT+CSCS=?
2011-03-19 14:32:12,7, GSM1: <- +CSCS: ("IRA","GSM","UCS2")
OK
2011-03-19 14:32:12,7, GSM1: # TE character set, current setting:
2011-03-19 14:32:12,7, GSM1: -> AT+CSCS?
2011-03-19 14:32:12,7, GSM1: <- +CSCS: "IRA"
OK
2011-03-19 14:32:12,7, GSM1: ## End of device details
2011-03-19 14:32:12,6, GSM1: Checking memory size
2011-03-19 14:32:12,7, GSM1: -> AT+CPMS?
2011-03-19 14:32:12,7, GSM1: Command is sent, waiting for the answer
2011-03-19 14:32:13,7, GSM1: <- +CPMS: "ME",0,100,"ME",0,100,"ME",0,100 OK
2011-03-19 14:32:13,6, GSM1: Used memory is 0 of 100
2011-03-19 14:32:13,6, GSM1: No SMS received
|
Sat Mar 19, 2011 12:45
|
paha:
memory_start = 0
And yes, that's working. Thank you for your support. I'm going to click the donate button right now. :-)
|
Sat Mar 19, 2011 12:34
|
paha:
Try with a modem setting:
init = AT+CPMS="ME","ME","ME"
I've configured it and sent a test sms. Right after then the log says:
2011-03-19 13:26:15,6, GSM1: Initializing modem
2011-03-19 13:26:15,7, GSM1: -> AT+CPMS="ME","ME","ME"
2011-03-19 13:26:15,7, GSM1: Command is sent, waiting for the answer
2011-03-19 13:26:16,7, GSM1: <- +CPMS: 1,100,1,100,1,100 OK
But right after:
2011-03-19 13:26:17,6, GSM1: Checking memory size
2011-03-19 13:26:17,7, GSM1: -> AT+CPMS?
2011-03-19 13:26:17,7, GSM1: Command is sent, waiting for the answer
2011-03-19 13:26:18,7, GSM1: <- +CPMS: "ME",1,100,"ME",1,100,"ME",1,100 OK
2011-03-19 13:26:18,6, GSM1: Used memory is 1 of 100
2011-03-19 13:26:18,6, GSM1: Trying to get stored message 1
2011-03-19 13:26:18,7, GSM1: -> AT+CMGR=1
2011-03-19 13:26:18,7, GSM1: Command is sent, waiting for the answer
2011-03-19 13:26:18,7, GSM1: <- OK
2011-03-19 13:26:18,6, GSM1: Trying to get stored message 2
2011-03-19 13:26:18,7, GSM1: -> AT+CMGR=2
2011-03-19 13:26:18,7, GSM1: Command is sent, waiting for the answer
2011-03-19 13:26:19,7, GSM1: <- OK
...
2011-03-19 13:26:42,6, GSM1: Trying to get stored message 50
2011-03-19 13:26:42,7, GSM1: -> AT+CMGR=50
2011-03-19 13:26:42,7, GSM1: Command is sent, waiting for the answer
2011-03-19 13:26:43,7, GSM1: <- +CMS ERROR: 321 (Invalid memory index)
2011-03-19 13:26:43,6, GSM1: Trying to get stored message 51
2011-03-19 13:26:43,7, GSM1: -> AT+CMGR=51
...
2011-03-19 13:27:08,7, GSM1: -> AT+CMGR=100
2011-03-19 13:27:08,7, GSM1: Command is sent, waiting for the answer
2011-03-19 13:27:08,7, GSM1: <- +CMS ERROR: 321 (Invalid memory index)
2011-03-19 13:27:08,6, GSM1: No SMS received (reading interrupted)
Thank you once again...
|
Sat Mar 19, 2011 11:58
|
paha:
Currently both memories SM and ME are empty:
2011-03-19 11:05:29,7, GSM1: <- +CPMS: "SM",0,50,"SM",0,50,"ME",0,100 OK
Try to send a new SMS to the modem, and show that line.
Oh yes I've found this:
2011-03-19 11:05:52,7, GSM1: <- +CPMS: "SM",0,50,"SM",0,50,"ME",0,100 OK +CMTI: "ME",0
2011-03-19 11:05:53,7, GSM1: <- +CPMS: "SM",0,50,"SM",0,50,"ME",1,100 OK
As I understand well this answer, that means the incoming sms is in the internal memory of the stick which is not accessible via serial.
And this section also says:
AT+CPMS="SM","SM","SM"
But how can I set this command up in the smsd?
Thank you.
|
Sat Mar 19, 2011 11:34
|
paha: Operating system name and version: Ubuntu Linux 10.10
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: ZTE K3570-Z (Vodafone-HU)
Interface: USB
Hello,
I've just installed this usb modem to an ubuntu machine. I can send sms by the sendsms command but cannot receive them. Sms's are received only starting the original Vodafone software.
Is it some compatibility issue, or some misconfiguration? Thank you for your answer.
My smsd.conf:
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
#device = /dev/ttyS0
device = /dev/ttyUSB1
incoming = yes
pin = XXXX
/var/log/smsd.log:
2011-03-19 11:04:54,2, smsd: Running as root:root.
2011-03-19 11:04:54,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.oQG8W2 /tmp/smsd_data.Sw8lOi
2011-03-19 11:04:55,7, smsd: Done: startup_check (shell), execution time 1 sec., status: 0 (0)
2011-03-19 11:04:55,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2011-03-19 11:04:55,5, smsd: Outgoing file checker has started. PID: 5104.
2011-03-19 11:04:55,7, smsd: All PID's: 5104,5106
2011-03-19 11:04:55,5, GSM1: Modem handler 0 has started. PID: 5106.
2011-03-19 11:04:56,5, GSM1: Using check_memory_method 1: CPMS is used.
2011-03-19 11:04:56,6, GSM1: Checking device for incoming SMS
2011-03-19 11:04:56,6, GSM1: Checking if modem is ready
2011-03-19 11:04:56,7, GSM1: -> AT
2011-03-19 11:04:56,7, GSM1: Command is sent, waiting for the answer
2011-03-19 11:04:56,7, GSM1: <- OK
2011-03-19 11:04:56,6, GSM1: Pre-initializing modem
2011-03-19 11:04:57,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-03-19 11:04:57,7, GSM1: Command is sent, waiting for the answer
2011-03-19 11:04:57,7, GSM1: <- OK
2011-03-19 11:04:57,6, GSM1: Checking if modem needs PIN
2011-03-19 11:04:57,7, GSM1: -> AT+CPIN?
2011-03-19 11:04:57,7, GSM1: Command is sent, waiting for the answer
2011-03-19 11:04:57,7, GSM1: <- +CPIN: READY OK
2011-03-19 11:04:58,7, GSM1: -> AT+CSQ
2011-03-19 11:04:58,7, GSM1: Command is sent, waiting for the answer
2011-03-19 11:05:28,7, GSM1: <- +CSQ: 20,99 OK
2011-03-19 11:05:28,6, GSM1: Signal Strength Indicator: (20,99) -73 dBm (Excellent), Bit Error Rate: not known or not detectable
2011-03-19 11:05:28,6, GSM1: Checking if Modem is registered to the network
2011-03-19 11:05:28,7, GSM1: -> AT+CREG?
2011-03-19 11:05:28,7, GSM1: Command is sent, waiting for the answer
2011-03-19 11:05:28,7, GSM1: <- +CREG: 2,1,0e6,3162 OK
2011-03-19 11:05:28,6, GSM1: Modem is registered to the network
2011-03-19 11:05:28,6, GSM1: Selecting PDU mode
2011-03-19 11:05:28,7, GSM1: -> AT+CMGF=0
2011-03-19 11:05:28,7, GSM1: Command is sent, waiting for the answer
2011-03-19 11:05:29,7, GSM1: <- OK
2011-03-19 11:05:29,6, GSM1: Checking memory size
2011-03-19 11:05:29,7, GSM1: -> AT+CPMS?
2011-03-19 11:05:29,7, GSM1: Command is sent, waiting for the answer
2011-03-19 11:05:29,7, GSM1: <- +CPMS: "SM",0,50,"SM",0,50,"ME",0,100 OK
2011-03-19 11:05:29,6, GSM1: Used memory is 0 of 50
2011-03-19 11:05:29,6, GSM1: No SMS received
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|