| View previous topic :: View next topic |
| Author |
Message |
delphilord
Joined: 20 Feb 2008 Posts: 6
|
Posted: Thu Mar 06, 2008 8:21 am Post subject: Speed problem For send to many!Please help |
|
|
I am working on a project to send SMS to many number(all numbers in phonebook of my computer application).
Problem is low speed.
for example If I send a message to 100 number it takes more than 15 minutes.
I think it is because objgsmout.send routine do handshake every time.(open port,send AT command for modem,send sms,close port)
AT&F
ATE0
AT+IFC
ATS7 and etc... every time It is executed.
Is it possible to dont open and close GSM device for every sms?
I don't know sms encoding then I can not use AT commands on my way to send message
What do you think I must do? |
|
| Back to top |
|
 |
Leon
Joined: 11 Jul 2007 Posts: 405
|
Posted: Fri Mar 07, 2008 2:08 pm Post subject: |
|
|
Hi,
The commands you are talking about are send by Windows when opening and closing the serial port (Unimodem Tapi Driver).
If you have connected the modem to a serial port, you can use the COMxx portname as devicename instead of the devicename, but it makes a slight difference only. Even when the port is not opened / closed all times, it will take 5 seconds per message, because the toolkit waits for an Acknowledgement from the network before sending the next message. This cannot be skipped because it will cause GSM network congestions.
100 Messages should take at least 10 minutes, this is normal. If you do not want this, the best is to sign up with an HTTP/SMPP provider. When using a provider, sending 100 messages will took less then one minute.
Hope this helps,
Leon Steijger
ActiveXperts Software |
|
| Back to top |
|
 |
delphilord
Joined: 20 Feb 2008 Posts: 6
|
Posted: Mon Mar 10, 2008 10:45 am Post subject: |
|
|
thanks for reply
my problem is not with this 5 seconds.
I used direct Com and sending SMS is now takes 5 seconds instead of 8 seconds.
more than 150 SMS in 15 minutes
It is so good but I have a new problem.Getresult returns error "no response from modem" instead of success(SMS is delivered but getresult is not 0) |
|
| Back to top |
|
 |
Leon
Joined: 11 Jul 2007 Posts: 405
|
Posted: Fri Mar 14, 2008 12:58 pm Post subject: |
|
|
This is strange... It seems that the response from the network is late.
Can you post the logfile ?
Leon |
|
| Back to top |
|
 |
|