|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Thu Mar 13, 2025 21:19 |
Page: 1
Keywords: Mode: All keywords (AND) |
Fri Mar 01, 2019 18:31
|
benat: Replying to myself again. I will mark this post as "solved" because in fact the SMS are received: the exact problem seems to be that they aren't moved to the /var/spool/sms/incoming/ directory. And they are not handled by the eventhandler script neither. So, I mark this issue as "solved" and I open a new one about the file move not being done. Hope all this stuff will contribute to help someone in the future.
root@pihost:~# smsd -C MS2131
Communicating with MS2131. ( Press Ctrl-C to abort. )
( If you need to send Ctrl-Z, use Alt-Z )
Default device is /dev/ttyUSB2
Press Enter to start or type an another device name.
Opening device /dev/ttyUSB2
Ready.
ATE1
OK
AT+CPMS?
+CPMS: "ME",5,20,"ME",5,20,"ME",5,20
OK
AT+CMGR=4
+CMGR: 0,,28
07913396050056F8040B913326718861F90000913010916020400AD4F29C0E8AE5D0B01A
OK
AT+CMGF=1
OK
AT+CMGR=3
+CMGR: "REC READ","+33xxxxxxxxx",,"19/03/01,18:35:03+04"
Test 18h34
OK
|
Fri Mar 01, 2019 17:23
|
benat: Replying to myself.
The issue is not solved yet, but it looks like the SMS are received but don't get moved to /var/spool/sms/incoming/.
Open the modem in communication mode, then send 2 SMS:
smsd -C MS2131
Communicating with MS2131. ( Press Ctrl-C to abort. )
( If you need to send Ctrl-Z, use Alt-Z )
Default device is /dev/ttyUSB2
Press Enter to start or type an another device name.
Opening device /dev/ttyUSB2
Ready.
ATE1
OK
AT+CPMS?
+CPMS: "ME",1,20,"ME",1,20,"ME",1,20
OK
^MODE: 5,9
^MODE: 5,4
AT+CPMS?
+CPMS: "ME",2,20,"ME",2,20,"ME",2,20
OK
^RSSI: 10
^HCSQ:"WCDMA",34,29,55
But /var/spool/sms/incoming/ remains empty :(
I'm comfortable with Unix and Linux, but new to this communication stuff. So, any help will be highly appreciated. Thanks a lot.
|
Fri Mar 01, 2019 11:14
|
benat: OpenWrt 18.06.1 r7258-5eb055306f :
smstools3 - 3.1.21-2:
Smsd installed from: package repository
Modem Huawei MS2131i-8:
Interface: USB
Platform: Raspberry Pi 3B
Huawei MS2131i-8 AT Commands Specifications: ftp://www.eurocomposant.fr/huawei/MS2131/HUAWEI_MS2131_AT_Command_Interface_Specification(V200R001,%20English).pdf
Hi,
I'm struggling for a while trying to receive SMS with the Huawei MS2131i-8 usb modem. I have tried many suggestions found with Google, including a couple similar posts on this support forum. I had no problems with sending. Any help would be appreciated, so many thanks by advance.
Here we go with the data, the lines after "## End of device details" appear when I send an SMS to the device. Thanks gain for any tip I could work on.
# GLOBAL SETTINGS
devices = MS2131
sent = /var/spool/sms/sent
failed = /var/spool/sms/failed
checked = /var/spool/sms/checked
outgoing = /var/spool/sms/outgoing
incoming = /var/spool/sms/incoming
loglevel = 5
#loglevel = 7
logfile = /var/log/smsd.log
infofile = /tmp/smsd.working
#stats = /var/log/sms/stats.d
autosplit = 3
incoming_utf8 = yes
receive_before_send = no
hangup_incoming_call = yes
eventhandler = /root/test/sms_test.sh
# MODEM SETTINGS
# Huawei MS2131i-8
[MS2131]
init = AT+CPMS="ME","ME","ME"
#init = AT+CPMS="SM","SM","SM"
device = /dev/ttyUSB2
#pin = 1234
incoming = yes
memory_start = 0
baudrate = 115200
report_device_details = yes
#detect_unexpected_input = no
root@pihost:~/test# tail -f /var/log/smsd.log
2019-03-01 11:13:29,2, smsd: Smsd v3.1.21 started.
2019-03-01 11:13:29,2, smsd: Running as root:root (0:0).
2019-03-01 11:13:29,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2019-03-01 11:13:29,5, smsd: Outgoing file checker has started. PID: 3181.
2019-03-01 11:13:29,5, MS2131: Modem handler 0 has started. PID: 3182.
2019-03-01 11:13:29,5, MS2131: Using check_memory_method 1: CPMS is used.
2019-03-01 11:13:30,5, MS2131: IMEI: xxxxxxxxxxxxxxxx
2019-03-01 11:13:30,5, MS2131: IMSI: xxxxxxxxxxxxxxxx
2019-03-01 11:13:31,7, MS2131: ## Start of device details
2019-03-01 11:13:31,7, MS2131: # Manufacturer identification:
2019-03-01 11:13:31,7, MS2131: -> AT+CGMI
2019-03-01 11:13:31,7, MS2131: <- huawei
OK
2019-03-01 11:13:31,7, MS2131: # Model identification:
2019-03-01 11:13:31,7, MS2131: -> AT+CGMM
2019-03-01 11:13:31,7, MS2131: <- MS2131
OK
2019-03-01 11:13:31,7, MS2131: # Revision identification:
2019-03-01 11:13:31,7, MS2131: -> AT+CGMR
2019-03-01 11:13:31,7, MS2131: <- 21.751.23.00.00
OK
2019-03-01 11:13:31,7, MS2131: # New message indications, list of supported modes:
2019-03-01 11:13:31,7, MS2131: -> AT+CNMI=?
2019-03-01 11:13:31,7, MS2131: <- +CNMI: (0-2),(0-3),(0,2),(0-2),(0,1)
OK
2019-03-01 11:13:31,7, MS2131: # New message indications, current settings:
2019-03-01 11:13:31,7, MS2131: -> AT+CNMI?
2019-03-01 11:13:31,7, MS2131: <- +CNMI: 2,1,2,2,0
OK
2019-03-01 11:13:31,7, MS2131: # Preferred message storage, list of supported mem's:
2019-03-01 11:13:31,7, MS2131: -> AT+CPMS=?
2019-03-01 11:13:31,7, MS2131: <- +CPMS: ("SM","ME"),("SM","ME"),("SM","ME")
OK
2019-03-01 11:13:31,7, MS2131: # Phonebook storage, available mem's:
2019-03-01 11:13:31,7, MS2131: -> AT+CPBS=?
2019-03-01 11:13:31,7, MS2131: <- +CPBS: ("SM","EN","ON","FD")
OK
2019-03-01 11:13:31,7, MS2131: # List messages, list of supported stat's:
2019-03-01 11:13:32,7, MS2131: -> AT+CMGL=?
2019-03-01 11:13:32,7, MS2131: <- +CMGL: (0-4)
OK
2019-03-01 11:13:32,7, MS2131: # Delete message, list of supported values:
2019-03-01 11:13:32,7, MS2131: -> AT+CMGD=?
2019-03-01 11:13:32,7, MS2131: <- +CMGD: (),(0-4)
OK
2019-03-01 11:13:32,7, MS2131: # Phone activity status, list of supported stat's:
2019-03-01 11:13:32,7, MS2131: -> AT+CPAS=?
2019-03-01 11:13:32,7, MS2131: <- +CPAS: (0-5)
OK
2019-03-01 11:13:32,7, MS2131: # TE character set, list of supported charset's:
2019-03-01 11:13:32,7, MS2131: -> AT+CSCS=?
2019-03-01 11:13:32,7, MS2131: <- +CSCS: ("IRA","UCS2","GSM")
OK
2019-03-01 11:13:32,7, MS2131: # TE character set, current setting:
2019-03-01 11:13:32,7, MS2131: -> AT+CSCS?
2019-03-01 11:13:32,7, MS2131: <- +CSCS: "IRA"
OK
2019-03-01 11:13:32,7, MS2131: ## End of device details
2019-03-01 11:15:32,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:15:43,3, MS2131: Unexpected input: ^MODE: 5,4
2019-03-01 11:16:05,3, MS2131: Unexpected input: ^MODE: 5,9 ^MODE: 5,4
2019-03-01 11:17:44,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:17:55,3, MS2131: Unexpected input: ^MODE: 5,4
2019-03-01 11:18:28,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:19:01,3, MS2131: Unexpected input: ^MODE: 5,4 ^MODE: 5,9
2019-03-01 11:25:14,3, MS2131: Unexpected input: ^MODE: 5,4 ^MODE: 5,9
2019-03-01 11:25:25,3, MS2131: Unexpected input: ^MODE: 5,4
2019-03-01 11:25:36,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:25:58,3, MS2131: Unexpected input: ^MODE: 5,4
2019-03-01 11:26:53,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:27:04,3, MS2131: Unexpected input: ^MODE: 5,4
2019-03-01 11:27:49,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:27:59,3, MS2131: Unexpected input: ^MODE: 5,4
2019-03-01 11:28:43,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:29:05,3, MS2131: Unexpected input: ^MODE: 5,4
2019-03-01 11:29:49,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:32:12,3, MS2131: Unexpected input: ^MODE: 5,4 ^RSSI: 8 ^HCSQ:"WCDMA",30,24,53 ^RSSI: 11 ^HCSQ:"WCDMA",34,30,57
2019-03-01 11:32:34,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:32:56,3, MS2131: Unexpected input: ^MODE: 5,4
2019-03-01 11:33:40,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:33:51,3, MS2131: Unexpected input: ^MODE: 5,4
2019-03-01 11:34:24,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:34:35,3, MS2131: Unexpected input: ^MODE: 5,4
2019-03-01 11:36:25,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:36:36,3, MS2131: Unexpected input: ^MODE: 5,4
2019-03-01 11:39:53,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:40:04,3, MS2131: Unexpected input: ^MODE: 5,4
2019-03-01 11:46:39,3, MS2131: Unexpected input: ^RSSI: 8 ^HCSQ:"WCDMA",30,25,55 ^RSSI: 12 ^HCSQ:"WCDMA",35,32,59 ^RSSI: 9 ^HCSQ:"WCDMA",31,26,55 ^RSSI: 11 ^HCSQ:"WCDMA",35,31,57
2019-03-01 11:46:40,3, MS2131: Unexpected input: ^RSSI: 8 ^HCSQ:"WCDMA",30,25,55
2019-03-01 11:46:51,3, MS2131: Unexpected input: ^RSSI: 11 ^HCSQ:"WCDMA",35,31,57
2019-03-01 11:47:02,3, MS2131: Unexpected input: ^RSSI: 8 ^HCSQ:"WCDMA",31,25,53 ^RSSI: 12 ^HCSQ:"WCDMA",36,32,57
2019-03-01 11:47:13,3, MS2131: Unexpected input: ^RSSI: 9 ^HCSQ:"WCDMA",31,26,55 ^RSSI: 11 ^HCSQ:"WCDMA",35,31,57 ^RSSI: 8 ^HCSQ:"WCDMA",29,24,55 ^RSSI: 11 ^HCSQ:"WCDMA",33,30,59
2019-03-01 11:47:24,3, MS2131: Unexpected input: ^RSSI: 8 ^HCSQ:"WCDMA",30,25,55 ^RSSI: 11 ^HCSQ:"WCDMA",35,31,57 ^RSSI: 8 ^HCSQ:"WCDMA",30,24,53 ^RSSI: 11 ^HCSQ:"WCDMA",34,30,57 ^RSSI: 8 ^HCSQ:"WCDMA",29,24,55 ^RSSI: 10 ^HCSQ:"WCDMA",33,29,57
2019-03-01 11:47:57,3, MS2131: Unexpected input: ^RSSI: 9 ^HCSQ:"WCDMA",31,26,55
2019-03-01 11:47:57,3, MS2131: Unexpected input: ^RSSI: 11 ^HCSQ:"WCDMA",36,31,55
2019-03-01 11:48:08,3, MS2131: Unexpected input: ^RSSI: 9 ^HCSQ:"WCDMA",31,26,55 ^RSSI: 12 ^HCSQ:"WCDMA",35,32,59 ^RSSI: 9 ^HCSQ:"WCDMA",32,27,55 ^RSSI: 12 ^HCSQ:"WCDMA",36,32,57 ^RSSI: 9 ^HCSQ:"WCDMA",32,26,53 ^RSSI: 11 ^HCSQ:"WCDMA",35,31,57
2019-03-01 11:48:30,3, MS2131: Unexpected input: ^RSSI: 9 ^HCSQ:"WCDMA",31,26,55 ^RSSI: 13 ^HCSQ:"WCDMA",37,34,59 ^RSSI: 10 ^HCSQ:"WCDMA",33,28,55
2019-03-01 11:49:36,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:49:47,3, MS2131: Unexpected input: ^MODE: 5,4
2019-03-01 11:49:58,3, MS2131: Unexpected input: ^MODE: 5,9
2019-03-01 11:50:09,3, MS2131: Unexpected input: ^MODE: 5,4
2019-03-01 12:00:23,3, MS2131: Unexpected input: ^RSSI: 12 ^HCSQ:"WCDMA",40,33,51 ^RSSI: 10 ^HCSQ:"WCDMA",37,28,47
2019-03-01 12:00:45,3, MS2131: Unexpected input: ^RSSI: 13 ^HCSQ:"WCDMA",37,34,59 ^RSSI: 10 ^HCSQ:"WCDMA",34,28,53 ^RSSI: 7 ^HCSQ:"WCDMA",31,23,49 ^RSSI: 10 ^HCSQ:"WCDMA",32,28,57
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|