|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Thu Mar 13, 2025 07:55 |
Page: 1
Keywords: Mode: All keywords (AND) |
Sun Oct 22, 2023 17:01
|
Adep: I did that, I was able to get a report. I attach the configuration file below.
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
eventhandler_use_copy = yes
sent = /var/spool/sms/sent
[GSM1]
device = /dev/ttyUSB0
baudrate = 115200
incoming = high
#pin = 1111
report = yes
memory_start = 0
init = AT+CPMS="SM","SM","SM"
init2 = AT+CNMI=2,1,0,2,0
But there is one problem left, of all the operators in my country, one telecom operator does not provide a report.
I have not found a solution. I'm trying to solve the problem using two modems. But I couldn't figure out how to send a message via the right modem
|
Sat Sep 30, 2023 07:25
|
Adep: Did as you said
# Example smsd.conf. Read the manual for a description
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
os_cygwin=yes
eventhandler_use_copy = yes
report_copy = /var/spool/sms/report/
sent = /var/spool/sms/sent
sent_copy = /var/spool/sms/sent
[GSM1]
device = /dev/com10
incoming = yes
#pin = 1111
report = yes
check_memory_method = 4
memory_start = 0
init = AT+CPMS="SM","SM","SM";+CNMI=2,0,0,2,1
init2 = AT^CURC=0
#primary_memory = ME
#secondary_memory = SR
report_device_details = yes
Log after starting SMSD
2023-09-30 10:09:52,2, smsd: Smsd v3.1.21 started.
2023-09-30 10:09:52,2, smsd: Running as Admin:None (197611:197121).
2023-09-30 10:09:52,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.lVQg6K /tmp/smsd_data.tH1GJk
2023-09-30 10:09:52,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2023-09-30 10:09:52,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2023-09-30 10:09:52,2, smsd: Running in terminal mode.
2023-09-30 10:09:52,5, smsd: Outgoing file checker has started. PID: 101.
2023-09-30 10:09:52,7, smsd: All PID's: 101,104
2023-09-30 10:09:52,5, GSM1: Modem handler 0 has started. PID: 104.
2023-09-30 10:09:52,5, GSM1: Using check_memory_method 4: CMGL is used and messages are deleted after all messsages are read.
2023-09-30 10:09:52,6, GSM1: Checking device for incoming SMS
2023-09-30 10:09:52,6, GSM1: Checking if modem is ready
2023-09-30 10:09:52,3, GSM1: Unexpected input: ^DSFLOWRPT:00000074,00000000,00000000,0000000000002EAD,00000000000042F8,00107AC0,001E8480 ^RSSI:13
2023-09-30 10:09:52,7, GSM1: -> AT
2023-09-30 10:09:52,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-30 10:09:53,7, GSM1: <- OK
2023-09-30 10:09:53,6, GSM1: Pre-initializing modem
2023-09-30 10:09:53,7, GSM1: -> ATE0
2023-09-30 10:09:53,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:09:53,7, GSM1: <- OK
2023-09-30 10:09:53,7, GSM1: -> AT+CMEE=1;+CREG=2
2023-09-30 10:09:53,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:09:53,7, GSM1: <- OK
2023-09-30 10:09:53,6, GSM1: Checking if modem needs PIN
2023-09-30 10:09:53,3, GSM1: Unexpected input: ^DSFLOWRPT:00000076,00000000,00000000,0000000000002EAD,00000000000042F8,00107AC0,001E8480
2023-09-30 10:09:53,7, GSM1: -> AT+CPIN?
2023-09-30 10:09:53,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:09:53,7, GSM1: <- +CPIN: READY OK
2023-09-30 10:09:53,6, GSM1: Initializing modem
2023-09-30 10:09:53,7, GSM1: -> AT+CPMS="SM","SM","SM";+CNMI=2,0,0,2,1
2023-09-30 10:09:53,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:09:53,7, GSM1: <- +CPMS: 10,10,10,10,10,10 OK
2023-09-30 10:09:53,7, GSM1: -> AT^CURC=0
2023-09-30 10:09:53,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:09:53,7, GSM1: <- OK
2023-09-30 10:09:54,7, GSM1: -> AT+CSQ
2023-09-30 10:09:54,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:09:54,7, GSM1: <- +CSQ: 14,99 OK
2023-09-30 10:09:54,6, GSM1: Signal Strength Indicator: (14,99) -85 dBm (Workable), Bit Error Rate: not known or not detectable
2023-09-30 10:09:54,6, GSM1: Checking if Modem is registered to the network
2023-09-30 10:09:54,7, GSM1: -> AT+CREG?
2023-09-30 10:09:54,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:09:54,7, GSM1: <- +CREG: 2,1, FAC3, 52B59E5, 2 OK
2023-09-30 10:09:54,6, GSM1: Modem is registered to the network
2023-09-30 10:09:54,6, GSM1: Location area code: FAC3, Cell ID: 59E5
2023-09-30 10:09:54,7, GSM1: -> AT+CSQ
2023-09-30 10:09:54,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:09:54,7, GSM1: <- +CSQ: 14,99 OK
2023-09-30 10:09:54,6, GSM1: Signal Strength Indicator: (14,99) -85 dBm (Workable), Bit Error Rate: not known or not detectable
2023-09-30 10:09:54,6, GSM1: Selecting PDU mode
2023-09-30 10:09:54,7, GSM1: -> AT+CMGF=0
2023-09-30 10:09:54,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-30 10:09:54,7, GSM1: <- OK
2023-09-30 10:09:54,7, GSM1: -> AT+CGSN
2023-09-30 10:09:54,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-30 10:09:54,7, GSM1: <- 352134043525931 OK
2023-09-30 10:09:54,5, GSM1: IMEI: 352134043525931
2023-09-30 10:09:54,7, GSM1: -> AT+CIMI
2023-09-30 10:09:54,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-30 10:09:54,7, GSM1: <- 250994139064492 OK
2023-09-30 10:09:54,5, GSM1: IMSI: 250994139064492
2023-09-30 10:09:54,6, GSM1: Checking if reading of messages is supported
2023-09-30 10:09:54,7, GSM1: -> AT+CPMS?
2023-09-30 10:09:54,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-30 10:09:54,7, GSM1: <- +CPMS: "SM",10,10,"SM",10,10,"SM",10,10 OK
2023-09-30 10:09:54,7, GSM1: ## Start of device details
2023-09-30 10:09:54,7, GSM1: # Manufacturer identification:
2023-09-30 10:09:55,7, GSM1: -> AT+CGMI
2023-09-30 10:09:55,7, GSM1: <- huawei
OK
2023-09-30 10:09:55,7, GSM1: # Model identification:
2023-09-30 10:09:55,7, GSM1: -> AT+CGMM
2023-09-30 10:09:55,7, GSM1: <- E352
OK
2023-09-30 10:09:55,7, GSM1: # Revision identification:
2023-09-30 10:09:55,7, GSM1: -> AT+CGMR
2023-09-30 10:09:55,7, GSM1: <- 11.102.27.00.209
OK
2023-09-30 10:09:55,7, GSM1: # New message indications, list of supported modes:
2023-09-30 10:09:55,7, GSM1: -> AT+CNMI=?
2023-09-30 10:09:55,7, GSM1: <- +CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)
OK
2023-09-30 10:09:55,7, GSM1: # New message indications, current settings:
2023-09-30 10:09:55,7, GSM1: -> AT+CNMI?
2023-09-30 10:09:55,7, GSM1: <- +CNMI: 2,0,0,2,1
OK
2023-09-30 10:09:55,7, GSM1: # Preferred message storage, list of supported mem's:
2023-09-30 10:09:55,7, GSM1: -> AT+CPMS=?
2023-09-30 10:09:55,7, GSM1: <- +CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")
OK
2023-09-30 10:09:55,7, GSM1: # Phonebook storage, available mem's:
2023-09-30 10:09:55,7, GSM1: -> AT+CPBS=?
2023-09-30 10:09:55,7, GSM1: <- +CPBS: ("SM","EN","ON")
OK
2023-09-30 10:09:55,7, GSM1: # List messages, list of supported stat's:
2023-09-30 10:09:55,7, GSM1: -> AT+CMGL=?
2023-09-30 10:09:55,7, GSM1: <- +CMGL: (0-4)
OK
2023-09-30 10:09:55,7, GSM1: # Delete message, list of supported values:
2023-09-30 10:09:56,7, GSM1: -> AT+CMGD=?
2023-09-30 10:09:56,7, GSM1: <- +CMGD: (0,1,2,3,4,5,6,7,8,9),(0-4)
OK
2023-09-30 10:09:56,7, GSM1: # Phone activity status, list of supported stat's:
2023-09-30 10:09:56,7, GSM1: -> AT+CPAS=?
2023-09-30 10:09:56,7, GSM1: <- +CPAS: (0,3,4)
OK
2023-09-30 10:09:56,7, GSM1: # TE character set, list of supported charset's:
2023-09-30 10:09:56,7, GSM1: -> AT+CSCS=?
2023-09-30 10:09:56,7, GSM1: <- +CSCS: ("IRA","GSM","UCS2")
OK
2023-09-30 10:09:56,7, GSM1: # TE character set, current setting:
2023-09-30 10:09:56,7, GSM1: -> AT+CSCS?
2023-09-30 10:09:56,7, GSM1: <- +CSCS: "IRA"
OK
2023-09-30 10:09:56,7, GSM1: ## End of device details
2023-09-30 10:09:56,6, GSM1: Checking memory size
2023-09-30 10:09:56,7, GSM1: -> AT+CMGL=4
2023-09-30 10:09:56,7, GSM1: Command is sent, waiting for the answer. (60)
2023-09-30 10:09:56,7, GSM1: <- +CMS ERROR: 500
(Unknown error)
2023-09-30 10:09:56,6, GSM1: Used memory is 0
2023-09-30 10:09:56,6, GSM1: No SMS received
Log after sending
2023-09-30 10:21:54,5, smsd: SMS To: 79891439561. Moved file /var/spool/sms/outgoing/000009.txt to /var/spool/sms/checked
2023-09-30 10:21:54,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/000009.txt
2023-09-30 10:21:54,6, GSM1: Sending SMS from to 79891439561
2023-09-30 10:21:54,6, GSM1: Checking if modem is ready
2023-09-30 10:21:54,7, GSM1: -> AT
2023-09-30 10:21:54,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-30 10:21:54,7, GSM1: <- OK
2023-09-30 10:21:54,6, GSM1: Pre-initializing modem
2023-09-30 10:21:54,7, GSM1: -> ATE0
2023-09-30 10:21:54,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:21:54,7, GSM1: <- OK
2023-09-30 10:21:55,7, GSM1: -> AT+CMEE=1;+CREG=2
2023-09-30 10:21:55,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:21:55,7, GSM1: <- OK
2023-09-30 10:21:55,6, GSM1: Initializing modem
2023-09-30 10:21:55,7, GSM1: -> AT+CPMS="SM","SM","SM";+CNMI=2,0,0,2,1
2023-09-30 10:21:55,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:21:55,7, GSM1: <- +CPMS: 10,10,10,10,10,10 OK
2023-09-30 10:21:55,7, GSM1: -> AT^CURC=0
2023-09-30 10:21:55,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:21:55,7, GSM1: <- OK
2023-09-30 10:21:55,7, GSM1: -> AT+CSQ
2023-09-30 10:21:55,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:21:55,7, GSM1: <- +CSQ: 14,99 OK
2023-09-30 10:21:55,6, GSM1: Signal Strength Indicator: (14,99) -85 dBm (Workable), Bit Error Rate: not known or not detectable
2023-09-30 10:21:55,6, GSM1: Checking if Modem is registered to the network
2023-09-30 10:21:55,7, GSM1: -> AT+CREG?
2023-09-30 10:21:55,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:21:55,7, GSM1: <- +CREG: 2,1, FAC3, 52B59E5, 2 OK
2023-09-30 10:21:55,6, GSM1: Modem is registered to the network
2023-09-30 10:21:55,6, GSM1: Selecting PDU mode
2023-09-30 10:21:55,7, GSM1: -> AT+CMGF=0
2023-09-30 10:21:55,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-30 10:21:55,7, GSM1: <- OK
2023-09-30 10:21:55,7, GSM1: -> AT+CMGS=18
2023-09-30 10:21:55,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-30 10:21:55,7, GSM1: <- >
2023-09-30 10:21:56,7, GSM1: -> 0031000B919798419365F14000FF04F4F29C0E
2023-09-30 10:21:56,7, GSM1: Command is sent, waiting for the answer. (60)
2023-09-30 10:22:00,7, GSM1: <- +CMGS: 244 OK
2023-09-30 10:22:00,5, GSM1: SMS sent, Message_id: 244, To: 79891439561, sending time 6 sec.
2023-09-30 10:22:00,6, GSM1: SMS To: 79891439561. Moved file /var/spool/sms/checked/000009.txt to /var/spool/sms/sent/000009.txt
2023-09-30 10:22:00,6, GSM1: Checking device for incoming SMS
2023-09-30 10:22:00,6, GSM1: Checking memory size
2023-09-30 10:22:01,7, GSM1: -> AT+CMGL=4
2023-09-30 10:22:01,7, GSM1: Command is sent, waiting for the answer. (60)
2023-09-30 10:22:01,7, GSM1: <- +CMS ERROR: 500
(Unknown error)
2023-09-30 10:22:01,6, GSM1: Used memory is 0
2023-09-30 10:22:01,6, GSM1: No SMS received
2023-09-30 10:22:01,6, GSM1: Checking device for incoming SMS
2023-09-30 10:22:01,6, GSM1: Checking memory size
2023-09-30 10:22:01,7, GSM1: -> AT+CMGL=4
2023-09-30 10:22:01,7, GSM1: Command is sent, waiting for the answer. (60)
2023-09-30 10:22:01,7, GSM1: <- +CMS ERROR: 500
(Unknown error)
2023-09-30 10:22:01,6, GSM1: Used memory is 0
2023-09-30 10:22:01,6, GSM1: No SMS received
|
Fri Sep 29, 2023 18:54
|
Adep: Thank you for your help. I did as you said, but no reports are created in the "report" folder.
# Example smsd.conf. Read the manual for a description
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
os_cygwin=yes
eventhandler_use_copy = yes
report_copy = /var/spool/sms/report/
sent = /var/spool/sms/sent
sent_copy = /var/spool/sms/sent
[GSM1]
device = /dev/com10
incoming = yes
#pin = 1111
report = yes
memory_start = 0
init = AT+CPMS="SM","SM","SM";+CNMI=2,0,0,2,1
init2 = AT^CURC=0
primary_memory = ME
secondary_memory = SR
2023-09-29 20:53:20,5, smsd: SMS To: 79891439561. Moved file /var/spool/sms/outgoing/000006.txt to /var/spool/sms/checked
2023-09-29 20:53:20,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/000006.txt
2023-09-29 20:53:20,6, GSM1: Sending SMS from to 79891439561
2023-09-29 20:53:20,6, GSM1: Checking if modem is ready
2023-09-29 20:53:20,7, GSM1: -> AT
2023-09-29 20:53:20,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:20,7, GSM1: <- OK
2023-09-29 20:53:20,6, GSM1: Pre-initializing modem
2023-09-29 20:53:20,7, GSM1: -> ATE0
2023-09-29 20:53:20,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-29 20:53:20,7, GSM1: <- OK
2023-09-29 20:53:20,7, GSM1: -> AT+CMEE=1;+CREG=2
2023-09-29 20:53:20,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-29 20:53:20,7, GSM1: <- OK
2023-09-29 20:53:20,6, GSM1: Initializing modem
2023-09-29 20:53:20,7, GSM1: -> AT+CPMS="SM","SM","SM";+CNMI=2,0,0,2,1
2023-09-29 20:53:20,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-29 20:53:21,7, GSM1: <- +CPMS: 10,10,10,10,10,10 OK
2023-09-29 20:53:21,7, GSM1: -> AT^CURC=0
2023-09-29 20:53:21,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-29 20:53:21,7, GSM1: <- OK
2023-09-29 20:53:21,7, GSM1: -> AT+CSQ
2023-09-29 20:53:21,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-29 20:53:21,7, GSM1: <- +CSQ: 14,99 OK
2023-09-29 20:53:21,6, GSM1: Signal Strength Indicator: (14,99) -85 dBm (Workable), Bit Error Rate: not known or not detectable
2023-09-29 20:53:21,6, GSM1: Checking if Modem is registered to the network
2023-09-29 20:53:21,7, GSM1: -> AT+CREG?
2023-09-29 20:53:21,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-29 20:53:21,7, GSM1: <- +CREG: 2,1, FAC3, 52B59E5, 2 OK
2023-09-29 20:53:21,6, GSM1: Modem is registered to the network
2023-09-29 20:53:21,6, GSM1: Selecting PDU mode
2023-09-29 20:53:21,7, GSM1: -> AT+CMGF=0
2023-09-29 20:53:21,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:21,7, GSM1: <- OK
2023-09-29 20:53:21,7, GSM1: -> AT+CMGS=18
2023-09-29 20:53:21,7, GSM1: Command is sent, waiting for the answer. (10)
2023-09-29 20:53:21,7, GSM1: <- >
2023-09-29 20:53:21,7, GSM1: -> 0031000B919798419365F14000FF04F4F29C0E
2023-09-29 20:53:21,7, GSM1: Command is sent, waiting for the answer. (60)
2023-09-29 20:53:24,7, GSM1: <- +CMGS: 239 OK
2023-09-29 20:53:24,5, GSM1: SMS sent, Message_id: 239, To: 79891439561, sending time 4 sec.
2023-09-29 20:53:24,6, GSM1: SMS To: 79891439561. Moved file /var/spool/sms/checked/000006.txt to /var/spool/sms/sent/000006.txt
2023-09-29 20:53:24,6, GSM1: Checking device for incoming SMS
2023-09-29 20:53:24,6, GSM1: Checking memory size
2023-09-29 20:53:24,7, GSM1: -> AT+CPMS?
2023-09-29 20:53:24,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:24,7, GSM1: <- +CPMS: "SM",10,10,"SM",10,10,"SM",10,10 OK
2023-09-29 20:53:24,6, GSM1: Used memory is 10 of 10
2023-09-29 20:53:24,6, GSM1: Trying to get stored message 0
2023-09-29 20:53:24,7, GSM1: -> AT+CMGR=0
2023-09-29 20:53:24,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:25,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2023-09-29 20:53:25,6, GSM1: Trying to get stored message 1
2023-09-29 20:53:25,7, GSM1: -> AT+CMGR=1
2023-09-29 20:53:25,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:25,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2023-09-29 20:53:25,6, GSM1: Trying to get stored message 2
2023-09-29 20:53:25,7, GSM1: -> AT+CMGR=2
2023-09-29 20:53:25,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:25,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2023-09-29 20:53:25,6, GSM1: Trying to get stored message 3
2023-09-29 20:53:25,7, GSM1: -> AT+CMGR=3
2023-09-29 20:53:25,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:25,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2023-09-29 20:53:25,6, GSM1: Trying to get stored message 4
2023-09-29 20:53:25,7, GSM1: -> AT+CMGR=4
2023-09-29 20:53:25,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:25,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2023-09-29 20:53:25,6, GSM1: Trying to get stored message 5
2023-09-29 20:53:25,7, GSM1: -> AT+CMGR=5
2023-09-29 20:53:25,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:25,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2023-09-29 20:53:25,6, GSM1: Trying to get stored message 6
2023-09-29 20:53:26,7, GSM1: -> AT+CMGR=6
2023-09-29 20:53:26,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:26,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2023-09-29 20:53:26,6, GSM1: Trying to get stored message 7
2023-09-29 20:53:26,7, GSM1: -> AT+CMGR=7
2023-09-29 20:53:26,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:26,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2023-09-29 20:53:26,6, GSM1: Trying to get stored message 8
2023-09-29 20:53:26,7, GSM1: -> AT+CMGR=8
2023-09-29 20:53:26,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:26,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2023-09-29 20:53:26,6, GSM1: Trying to get stored message 9
2023-09-29 20:53:26,7, GSM1: -> AT+CMGR=9
2023-09-29 20:53:26,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:26,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2023-09-29 20:53:26,6, GSM1: Changing memory
2023-09-29 20:53:26,7, GSM1: -> AT+CPMS="SR"
2023-09-29 20:53:26,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:26,7, GSM1: <- +CPMS: 0,10,10,10,10,10 OK
2023-09-29 20:53:26,6, GSM1: Checking memory size
2023-09-29 20:53:27,7, GSM1: -> AT+CPMS?
2023-09-29 20:53:27,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:27,7, GSM1: <- +CPMS: "SR",0,10,"SM",10,10,"SM",10,10 OK
2023-09-29 20:53:27,6, GSM1: Used memory is 0 of 10
2023-09-29 20:53:27,6, GSM1: Changing memory
2023-09-29 20:53:27,7, GSM1: -> AT+CPMS="ME"
2023-09-29 20:53:27,7, GSM1: Command is sent, waiting for the answer. (5)
2023-09-29 20:53:27,7, GSM1: <- +CPMS: 0,23,10,10,10,10 OK
2023-09-29 20:53:27,6, GSM1: No SMS received
Addition. The incoming SMS stopped coming. I think that the memory of the sim is full, is there a command that cleans the memory.
|
Fri Sep 29, 2023 07:29
|
Adep: Operating system name and version: Windows10/Cygwin64
Version of smsd: 3.1.21
Smsd installed from: sources / package repository / from elsewhere...http://smstools3.kekekasvi.com/post.php?forum=3
Name and model of a modem / phone: Huawei E352
Interface: serial / USB / some adapter... -
I need your help, I'm not good at this. I want to send sms and get the status of the phone status (active or not). Help me set up sms.conf
My sms.conf
# Example smsd.conf. Read the manual for a description
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
os_cygwin=yes
eventhandler_use_copy = yes
report_copy = /var/spool/sms/report/
sent_copy = /var/spool/sms/sent
[GSM1]
device = /dev/com4
incoming = yes
#pin = 1111
report = yes
Thank you very much
Adep
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|