|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Tue Oct 22, 2024 11:40 |
This topic is locked
Page: 1
Author |
Post |
|
#1 Tue Feb 15, 2011 09:00, 166 months ago.
|
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
|
|
#2 Tue Feb 15, 2011 11:21, 166 months ago.
|
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.
|
|
#3 Tue Feb 15, 2011 13:43, 166 months ago.
|
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 ?
|
|
#4 Tue Feb 15, 2011 13:54, 166 months ago.
|
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.
|
|
#5 Tue Feb 15, 2011 14:25, 166 months ago.
|
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
|
|
#6 Tue Feb 15, 2011 14:32, 166 months ago.
|
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
Time in this board is UTC.
|
|
|
|
|
|
|