Change how often NowSMS polls for incoming SMS?

Change how often NowSMS polls for incoming SMS? SearchSearch
Author Message
Øystein Gåsdal
Posted on Friday, April 16, 2010 - 08:48 am:   

Is it possible to change the value that says how often the program shall poll for incoming SMS? (2-way config)
The way it is now, we cannot use 2-way because it is "drowning" other programs using the same GSM Modem.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2002
Registered: 08-2008
Posted on Friday, April 16, 2010 - 04:59 pm:   

Hi,

It is possible to change how often NowSMS polls the modem for received messages ... however this is unlikely to address what you want to accomplish. The configuration setting is available in versions 2009.08.20 and later, as detailed below:

* GSM Modem Handling: Internal updates for improved performance and compatiblity. Change the default receive polling interval to 3 seconds when "Direct to Modem" is the "SMS Message Storage" type. The polling interval is set to 2 seconds for other "SMS Message Storage" types (prior to NowSMS 2009, it was always 1 second). To change the default add ReceivePoll=##, where ## is the number of seconds, under the appropriate [Modem - driver name] section header of SMSGW.INI. Modem polling logic also optimised to be less resource intensive on the modem. If this change causes problems receiving messages with older phone modem implementations that worked with previous version of NowSMS, add OldPollingLogic=Yes under the appropriate [Modem - driver name] section header of SMSGW.INI.


HOWEVER ... this may not accomplish what you want, unless you are using some sort of special virtualised modem driver. This is because NowSMS is designed to maintain a constant connection to the modem at all times. When NowSMS is running, it will never close its connection to the modem.

--
Des
NowSMS Support
Øystein Gåsdal
New member
Username: Dal

Post Number: 2
Registered: 04-2008
Posted on Friday, April 16, 2010 - 10:57 pm:   

Thank you for your answer.
Using some sort of virtualised modem driver is exactly what we do.

The GSM modem is attached to a Moxa Nport, and then we have installed their Nport virtual com ports on two different servers, so 2 programs can use the same modem simultaneously.
The two programs are NowSMS and SecurEnvoy.
But when we enable 2-Way in NowSMS, SecurEnvoy are not able to send any messages any more.
Therefore we are hoping that this option will fix the problem for us.

I just need to update the program first :-) (Still running on 2008)

I'll let you know how it goes.

Thanks.