Hi guys,
I’m using DIGI WR31 to send SMS messages. I’m using RealPort to send AT commands via Virtual COM Port. After the reboot of the modem it seems to be working fine, however after some time it seems to stop accepting the AT Commands, e.g. After sending ATZ command DIGI doesn’t respond.
I know that GSM is working because at the same time I’m sending SMS directly from the Execute Command field (using sendsms coomand).
I’ve upgraded the FW to the latest one, and the configuration that I’m using is working also working in another projects.
Here are two examples - first when it is working fine:
2021-06-15 13:00:49 - Trying to open port: \.\COM8
2021-06-15 13:00:50 - Writing : [^Z]
2021-06-15 13:00:51 - Response:
2021-06-15 13:00:51 - Writing : [ESC]
2021-06-15 13:00:52 - Response:
2021-06-15 13:00:52 - Writing : [ATZ
]
2021-06-15 13:00:54 - Response: [CR][LF]ATZ[CR][LF][CR][LF]OK[CR][LF]
2021-06-15 13:00:54 - Writing : [AT+CMEE=1
]
2021-06-15 13:00:56 - Response: [CR][LF]AT+CMEE=1[CR][LF]OK[CR][LF]
2021-06-15 13:00:56 - Writing : [ATE0
]
2021-06-15 13:00:57 - Response: [CR][LF]ATE0[CR][LF]OK[CR][LF]
2021-06-15 13:00:57 - Writing : [AT
]
2021-06-15 13:00:58 - Response: [CR][LF]OK[CR][LF]
2021-06-15 13:00:58 - Writing : AT+CNMI=2,1,0,1,0[CR]
2021-06-15 13:01:00 - Response: [CR][LF]OK[CR][LF]
2021-06-15 13:01:00 - Writing : AT+CSMP=32,167,0,0[CR]
2021-06-15 13:01:01 - Response: [CR][LF]OK[CR][LF]
2021-06-15 13:01:01 - Writing : AT+CMGF=1[CR]
2021-06-15 13:01:02 - Response: [CR][LF]OK[CR][LF]
2021-06-15 13:01:02 - Writing : AT+CSCA=“PHONE_NUMBER_1”[CR][LF]
2021-06-15 13:01:04 - Response: [CR][LF]OK[CR][LF]
2021-06-15 13:01:04 - Writing : AT+CMGS=“PHONE_NUMBER_2”[CR]
2021-06-15 13:01:05 - Response: [CR][LF][CR][LF][CR][LF]> [CR][LF]
2021-06-15 13:01:05 - Writing : Test Notification [CR][LF][CR][LF][^Z][CR][LF]
2021-06-15 13:01:06 - Response: [CR][LF][CR][LF][CR][LF][CR][LF][CR][LF][CR][LF][CR][LF][CR][LF][CR][LF][CR][LF][CR][LF]> [CR][LF]> [CR][LF]> [CR][LF]> [CR][LF]
2021-06-15 13:01:06 - Polling for SMS status report
2021-06-15 13:01:12 - SMS status report: [CR][LF]+CMGS: 234[CR][LF]OK[CR][LF]
2021-06-15 13:01:12 - Polling for SMS delivery report
2021-06-15 13:01:15 - SMS Delivery report: [CR][LF]+CDS: 6,234,“PHONE_NUMBER_2”,129,“21/06/15,14:05:10+08”,“21/06/15,14:05:10+08”,0[CR][LF][CR][LF])
2021-06-15 13:01:20 - 234,PHONE_NUMBER_2,1/06/15,14:05:10+08,21/06/15,14:05:10+08
2021-06-15 13:10:49 - Message (0x00008008) received
2021-06-15 13:10:49 - Sending SMS to
And when it doesn’t respond:
2021-06-15 13:10:49 - Trying to open port: \.\COM8
2021-06-15 13:10:50 - Writing : [^Z]
2021-06-15 13:10:51 - Response:
2021-06-15 13:10:51 - Writing : [ESC]
2021-06-15 13:10:53 - Response:
2021-06-15 13:10:53 - Writing : [ATZ
]
2021-06-15 13:10:54 - Response:
2021-06-15 13:10:54 - Writing : [AT+CMEE=1
]
2021-06-15 13:10:55 - Response:
2021-06-15 13:10:55 - Writing : [ATE0
]
2021-06-15 13:10:57 - Response:
2021-06-15 13:10:57 - Writing : [AT
]
2021-06-15 13:10:58 - Response: [CR][LF]OK[CR][LF]
2021-06-15 13:10:58 - Writing : AT+CNMI=2,1,0,1,0[CR]
2021-06-15 13:10:59 - Response:
2021-06-15 13:10:59 - Writing : AT+CSMP=32,167,0,0[CR]
2021-06-15 13:11:00 - Response: [CR][LF]OK[CR][LF]
2021-06-15 13:11:00 - Writing : AT+CMGF=1[CR]
2021-06-15 13:11:02 - Response:
2021-06-15 13:11:02 - Writing : AT+CSCA=“PHONE_NUMBER_1”[CR][LF]
2021-06-15 13:11:03 - Response: [CR][LF]OK[CR][LF]
2021-06-15 13:11:03 - Writing : AT+CMGS=“+PHONE_NUMBER_2”[CR]
2021-06-15 13:11:04 - Response: [CR][LF][CR][LF]
2021-06-15 13:11:04 - Writing : Test Notification [CR][LF][CR][LF][^Z][CR][LF]
2021-06-15 13:11:06 - Response: [CR][LF][CR][LF][CR][LF][CR][LF][CR][LF][CR][LF][CR][LF][CR][LF][CR][LF][CR][LF]
2021-06-15 13:11:06 - Polling for SMS status report
2021-06-15 13:11:28 - Polling for SMS delivery report
2021-06-15 13:11:51 - Modem not responding correctly
2021-06-15 13:11:56 - NO DELIVERY REPORT RECEIVED