Project

General

Profile

Incomplete unsolicited message

Added by beerygaz over 4 years ago

I'm seeing the following in the log from a SIEMENS M20 device.

2015.11.04-09.02.08: Response: <cr><lf><cr><lf><cr><lf>+CNMI: (0-3),(0-3),(0-2),(0-2),(0-1)<cr><lf><cr><lf>OK<cr><lf>
2015.11.04-09.02.08: Sending: AT+CNMI=2,1,0,0,0
2015.11.04-09.02.08: Response: <cr><lf><cr><lf>OK<cr><lf>
2015.11.04-09.04.06: Incomplete unsolicited message: +CMTI: "SM", 7

On a similar device, I see the following:

15.11.09-06.26.45: Sending: AT+CNMI=0,0,0,0,0
2015.11.09-06.26.45: CMS ERROR: 500 Unknown error
2015.11.09-06.26.45: Sending: AT+CNMI=2,0,0,0,0
2015.11.09-06.26.45: CMS ERROR: 500 Unknown error
2015.11.09-06.26.45: Sending: AT+CNMI=1,0,0,0,0
2015.11.09-06.26.46: CMS ERROR: 500 Unknown error
2015.11.09-06.26.46: Sending: AT+CNMI=3,0,0,0,0
2015.11.09-06.26.46: CMS ERROR: 500 Unknown error
2015.11.09-06.26.46: Sending: AT+CPMS="SM","SM","SM"
2015.11.09-06.26.46: Response: <cr><lf>+CPMS: 4,50,4,50,4,50<cr><lf><cr><lf>OK<cr><lf>
2015.11.09-06.26.47: Sending: AT+CMGF=0
2015.11.09-06.26.47: Response: <cr><lf>OK<cr><lf>
2015.11.09-06.26.47: Sending: AT+CNMI=?
2015.11.09-06.26.48: Response: <cr><lf>+CNMI: (0-3),(0,1),(0,2,3),(0,2),(1)<cr><lf><cr><lf>OK<cr><lf>
2015.11.09-06.26.48: Sending: AT+CNMI=2,1,0,0,1
2015.11.09-06.33.11: Unsolicited message: +CMTI: "SM",3
2015.11.09-06.33.11: New SMS-DELIVER received (indicated by memory location)

Could it be the space in the first message that is causing an issue? Why would on device work and the other not trigger and new SMS-DELIVER event?


Replies (5)

RE: Incomplete unsolicited message - Added by beerygaz over 4 years ago

More testing and the behavior is consistent.

2015.11.11-09.13.38: Sending watch dog message
2015.11.11-09.13.38: Sending: AT
2015.11.11-09.13.38: Response: <cr><lf>OK<cr><lf>
2015.11.11-09.13.48: Sending watch dog message
2015.11.11-09.13.48: Sending: AT
2015.11.11-09.13.49: Response: <cr><lf>OK<cr><lf>
2015.11.11-09.13.53: Incomplete unsolicited message: +CMTI: "SM", 20

2015.11.11-09.13.53: Incomplete unsolicited message: +CMTI: "SM", 20

2015.11.11-09.13.59: Sending watch dog message
2015.11.11-09.13.59: Sending: AT
2015.11.11-09.13.59: Incomplete unsolicited message: +CMTI: "SM", 20

2015.11.11-09.13.59: Incomplete unsolicited message: +CMTI: "SM", 20
OK

2015.11.11-09.14.40: Sending watch dog message
2015.11.11-09.16.46: Sending: ATZ
2015.11.11-09.16.46: Response: <cr><lf><cr><lf>OK

RE: Incomplete unsolicited message - Added by admin over 4 years ago

Hi,

Please try with the attached .NET 40 library to see if this fixes the issue.

Thanks
Regards
admin

RE: Incomplete unsolicited message - Added by beerygaz over 4 years ago

Thank you, will pas it on to my client to test.

RE: Incomplete unsolicited message - Added by beerygaz over 4 years ago

Thank you very much!

The attached DLL solved the issue. Will it be incorporated into the next release & NuGet package or do I need to manage the DLL independently from now on?

RE: Incomplete unsolicited message - Added by admin over 4 years ago

Hi,

It will be in the next release. We are rewriting the library and will release a new version as soon as it is ready.

Thanks
Regards
admin

    (1-5/5)