Project

General

Profile

Only One Time Can Send SMS

Added by omoridi over 6 years ago

Hi,
In Version 1.7.5 .Net 4 Anycpu

After one time send sms, my GSM Hang!
and I must reset GSM Modem.

show this message on log file

Unable to find any descripton for error code 515.

I attach the log file


Replies (25)

RE: Only One Time Can Send SMS - Added by omoridi over 6 years ago

My Modem is
wavecom wismo
My vs 2012 .net 4

Start diagnosing...
Service Center Address (CSCA).............. [YES]
Message notification (CMTI,CDSI)........... [YES]
Message routing (CMT,CDS).................. [YES]
Call notification (CLIP)................... [YES]
Message PDU mode (AT+CMGF=0)............... [YES]
Message Text mode (AT+CMGF=1).............. [YES]
Supported phone book storage (CPBS) [SM, FD, LD, MC, ME, RC, MT, EN, ]
Subscriber information (CNUM).............. [NO]
Sending command AT+CMGS=?
Response:
OK
Sending message (CMGS)..................... [YES]
Sending command AT+CMGL=?
Response:

+CMGL: ("REC UNREAD","REC READ","STO UNSENT","STO SENT","ALL")

OK

List message (CMGL)........................ [YES]
Sending command AT+CMGR=?
Response:

OK
Read message (CMGR)........................ [YES]

FINISHED

MULTIBAND  900E  1800 
WAVECOM MODEM
652a09gg.Q2406B 424 070307 23:34

RE: Only One Time Can Send SMS - Added by admin over 6 years ago

Hi,

Can you check how many port that you see for the Wavecomm modem? Is the correct port settings being used as per the WaveComm manual?

Thanks
Regards
admin

RE: Only One Time Can Send SMS - Added by omoridi over 6 years ago

what does it mean how many port?

Only 1 software connect only 1 serial port
Prolific USB-to-serial convert usb to serial port.

I don't have any problem with old version in new version have this problem.

RE: Only One Time Can Send SMS - Added by admin over 6 years ago

Hi,

When you said .NET 4 is it 4.0 or 4.5? Can you try with different binaries which are available in the "Binaries" folder? Just want to confirm if it is a .NET SDK issue or MessagingToolkit library issue.

Thanks
Regards
admin

RE: Only One Time Can Send SMS - Added by omoridi over 6 years ago

I check with .net 3.5 4 4.5
with your utility
nothing happend. the first one sent but not more.

RE: Only One Time Can Send SMS - Added by admin over 6 years ago

Hi,

We are trying to simulate this issue in our environment but still unable to produce it. Our environment is Windows 7 64 bits. Can you let us know your test environment?

Thanks
Regards
admin

RE: Only One Time Can Send SMS - Added by omoridi over 6 years ago

Windows 7 64bit, Run MessagingToolkit.Core.Utilities .net 3.5, 4.0, 4.5 with 3 platform any cpu x64 x86 version 1.7.5
Windows 7 64bit, Run MessagingToolkit.Core.Utilities .net 4.0 with 2 platform x64 x86 version 1.4.3.0
Windows 7 64bit, Run MessagingToolkit.Core.Utilities .net 4.0 with 2 platform x64 x86 version 1.3.3.3

Windows 2008 64bit, Run 3 sample 4.0 with 3 platform any cpu version 1.7.5

I check my modem with at command everything is ok.

RE: Only One Time Can Send SMS - Added by omoridi over 6 years ago

Another thing maybe useful, the service provider send a ussd message after message sent.

RE: Only One Time Can Send SMS - Added by omoridi over 6 years ago

The Main Problem On Recived Message
I disable Notification and check new message on while.

RE: Only One Time Can Send SMS - Added by admin over 6 years ago

Hi,

Can you try with the attached patch to see if it works?

Thanks
Regards
admin

RE: Only One Time Can Send SMS - Added by omoridi over 6 years ago

I try it,
Now show this message.
Unsupported feature: GetMessageFeature: Retrieve messages from the gateway (CME ERROR: 515 Please wait, init or command processing in progress)

RE: Only One Time Can Send SMS - Added by admin over 6 years ago

Hi,

Can you go into Computer Mgmt, Device Manager, and under "Modems" and "Ports (COM &LPT) can you let me now how many ports you see for the GSM modems?

Thanks
Regards
admin

RE: Only One Time Can Send SMS - Added by admin over 6 years ago

can u also try this using the demo program Terminal

- after connected to the modem, go to the Terminal tab
- type AT+CPMS="SR"
- type AT+CMGR=1 and see the response
- type AT+CMGL=4 and see the response

Thanks
Regards
admin

RE: Only One Time Can Send SMS - Added by omoridi over 6 years ago

AT+CPMS="SR"
+CPMS: 0,15,0,15,0,15
OK

AT+CMGR=1
CMS ERROR: 321 Invalid memory index

AT+CMGL=4
OK

I think problem is after a message sent, cell operator send a ussd message to phone and say your balance is ......

RE: Only One Time Can Send SMS - Added by admin over 6 years ago

Hi,

From the log file, it looks like AT+CMGR=1 never returns, just hang waiting for the response.

Thanks
Regards
admin

RE: Only One Time Can Send SMS - Added by omoridi over 6 years ago

i check with kylix everything is ok with this modem!
Send, Recived, USSD, but the log is encrypted.

How can i help you to solved this issue?

RE: Only One Time Can Send SMS - Added by admin over 6 years ago

Hi,

I was looking at the response you pasted and noticed there is a bug in the regular expression used to match the response.

Do try with the attached patch and let us know the results.

Thanks
Regards
admin

RE: Only One Time Can Send SMS - Added by omoridi over 6 years ago

These last two status are not immediately available due to the background
initialisation. Between the hardware SIM presence pin indication of
“something” and the previous results the AT+CPIN? Sends “+CME
ERROR: 515” (Please wait, init in progress)

RE: Only One Time Can Send SMS - Added by admin over 6 years ago

Hi,

Try setting config.DisablePinCheck = true to see the results if PIN check is skipped.

Thanks
Regards
admin

RE: Only One Time Can Send SMS - Added by omoridi over 6 years ago

hi,
I found the problem.
When i send and recive sms without using Report Status Everything is ok.
But when i say i want report status. One Sms send and gsm do not work!

The main problem on Report Status

RE: Only One Time Can Send SMS - Added by omoridi over 6 years ago

Can you after fix the problem or until that problem to solved send last dll for .net 4?

RE: Only One Time Can Send SMS - Added by admin over 6 years ago

Hi,

I don't quite understand. When you said "Report status" you mean delivery report?

Thanks
Regards
admin

RE: Only One Time Can Send SMS - Added by omoridi over 6 years ago

Hi,
Yes, means Delivery Status.
Now latest dll work without Delivery Status.
Please send that for .Net 4 and I Replace the dll to work without Delivery Status.
And after this isse fixed or any changed I test that.
Please send last Dll as you send for .Net 4.5, Compile for .Net 4.

RE: Only One Time Can Send SMS - Added by admin over 6 years ago

Hi,

Attached version for .NET 4

Thanks
Regards
admin

    (1-25/25)