SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Sat Apr 17, 2021 17:11
SMSTools3 Community » Help and support Bottom

[answered] How to force operator (provider/network) select ?

  This topic is locked

Page:  1

Author Post
Member
Registered:
Aug 2009
Location: Poznan, Poland
Operating system name and version: XP SP3
Version of smsd: 3.1.14
Smsd installed from: package (smstools3-3.1.14.tar.gz, 2010-09-21 11:31)
Name and model of a modem / phone: Sierra Wireless AirCard 750+
Interface: PCI-PCMCIA adapter + PCMCIA

Hello again ;-)
I would like to force operator selection (sth like manual operator select in mobile phone).

I live in Poland, where my home network is 260 06 (PLAY).
But with a lack of 2G system this network has an internal roaming with 260 01(PLUS) network, which I can use free of charge.

Problem is that I have server inside of a building (nothing strange hugh... ;-) ) where signal strength is low for my home network.
So modem is switching sometimes between those 2 operators... during this operation I get:


Is there any way to force modem to use 260 01 operator always and not try to switch beetween two networks?

Regars
MJ

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
You can use the AT command +COPS=? to return a list of available possibilities, and +COPS=<mode>,<format>,<operator> to select the operator, where <mode> is 1 and <format> and <operator> depends on what you have available. See the manual of your device for details of +COPS command. The manual can be found from archive.sierrawireless.com with a Google search: Sierra Wireless AirCard 750 at commands. It seems that your firmware is older, perhaps you should check if it can be upgraded, but I think that +COPS will still work.

Member
Registered:
Aug 2009
Location: Poznan, Poland
Topic owner
Hello,

answer from AT+COPS=?:


In AT commands from modem manual I can get info like:


So as I understand this I should chose:
AT+COPS=1,0,"Plus GSM"
or
AT+COPS=4,0,"Plus GSM" (this one is more safe) ?

But where to put this parameter?
Into modem part of smsd.conf and in init string?

init = ATE0,+COPS=4,0,"Plus GSM"

is this correct ?

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
If the selection fails, which should not happen, use the mode 4 if you want to switch to the automatic mode. It could be more safe, as you mentioned.

A command +COPS may take some time. I think that it should not be done every time when a modem is initialized. First check how long it will take to get the answer for the command, and then in the modem section of smsd.conf define the following:

start = AT+COPS=4,0,"Plus GSM"
startsleeptime = n


where n is number of seconds which is required in your case. Use a little bit larger value than the minimum possible.

Member
Registered:
Aug 2009
Location: Poznan, Poland
Topic owner
Quote
I think that it should not be done every time when a modem is initialized.

Does it mean, that modem save this information inside? In some kind of memory?
And next time it will know that I forced operator selection?

COPS took about 10 seconds, so I set startsleeptime to 15 sec.
No errors in smsd.log

So, THX again ;-)

Regards
MJ

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
mikolajj wrote
Quote
I think that it should not be done every time when a modem is initialized.

Does it mean, that modem save this information inside? In some kind of memory?
And next time it will know that I forced operator selection?

Initializing is not a "hard (or soft) reset" in the case of smsd. Usually it's just ATE0+CMEE=1, which ensures that echo is off. Therefore settings are not lost.

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.