|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Sun Sep 07, 2025 01:56 |
Page: 1
Keywords: Mode: All keywords (AND) |
Thu Aug 31, 2017 09:00
|
SMS01: I believe I have had a bit of a break through
using these settings in smsd.conf i can send and receive messages with the E3531
GSM1]
init = AT+CPMS="SM";+CNMI=2,0,0,2,1
device = /dev/ttyUSB0
incoming = yes
baudrate = 19200
memory_start = 0
report_device_details = yes
report = yes
hangup_incoming_call = yes
It seems the issue was with the CNMI mode. It seems as default the E3531 is set to 2,1,2,2,0 (or my one was at least).
|
Thu Aug 31, 2017 07:08
|
SMS01: So, using a terminal connection smsd -C GSM1
if I enter AT+CPMS? it returns
+CPMS: "SM",0,20,"ME",0,20,"ME",0,20
then if i send a message to the E3531, and AT+CPMS? again it returns
+CPMS: "ME",1,20,"ME",1,20,"ME",1,20
and then immediately afterwards entering AT+CPMS? again it returns
+CPMS: "ME",0,20,"ME",0,20,"ME",0,20
Is it interesting that "SM" only appears in the returned string, on the first attempt before the message is received by the stick?
|
Thu Aug 31, 2017 06:46
|
SMS01: Thanks for your help with this Keke, it is much appreciated.
Entering AT^FHVER gives
"E3531i-2EA 22.521.31.00.400,CU1E3131IM Ver.A"
I will start to work my way through the other forum threads you suggested now.
|
Wed Aug 30, 2017 14:53
|
SMS01: Operating system name and version: Debian 9
Version of smsd: 3.1.15-2
Smsd installed from: sources
Name and model of a modem / phone: Huawei E3531
Interface: /dev/ttyUSB0
Hi, I wonder if someone can help me.
I am trying to set up smstools, and so far it seems I can send without problems, but i am having less success with receiving them - or at least messages sent to the E3531 do not appear in the 'incoming' folder.
(If i plug the E3531 in to a windows PC and go through the HiLink web interface, the received messages are listed - i assume this is an indication that the messages are being stored on internal memory rather than the SIM card.)
my smsd.conf is:
[GSM1]
init = AT+CPMS="SM"
device = /dev/ttyUSB0
incoming = yes
baudrate = 19200
memory_start = 0
Looking at the 'I cannot receive messages' section in the FAQ, changing the init string to AT+CPMS="ME" does not seem to have any effect, and changing the init string to "MT" as below
[GSM1]
init = AT+CPMS="MT"
device = /dev/ttyUSB0
incoming = yes
baudrate = 19200
memory_start = 0
gives the error in the log
2017-08-30 15:40:37,2, smsd: Smsd v3.1.15 started.
2017-08-30 15:40:37,2, smsd: Running as smsd:dialout.
2017-08-30 15:40:37,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2017-08-30 15:40:38,3, GSM1: Unexpected input: +CSQ: 13,99 OK
2017-08-30 15:40:50,3, GSM1: Modem did not accept the init string, Operation not allowed
2017-08-30 15:41:12,3, GSM1: Modem did not accept the init string, Operation not allowed
What would be the best way to proceed?
Thanks in advance.
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|