maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter (https://talk.maemo.org/showthread.php?t=85722)

sifo 2012-09-29 22:26

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
I meant only icon, and no harmattan port ;)
do what ever you want with it :)

./sifo

peterleinchen 2012-10-03 21:26

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
Promoted version 0.5.12 to Extras repository this morning.
Thanks for all feedback/votes.

Tiran 2012-11-04 14:02

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
peterleinchen@ What commands should be used for activation SIM1 and SIM2 through Queen BeeCon Widget (work operation of program SIM-Switcher through QBW)????

peterleinchen 2012-11-04 23:02

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
As I never have used QBW, but DCEW I do not know exactly.

But it will something simple and easy like from command line
Code:

sim-switcher SIM1
or
Code:

sim-switcher SIM2
above will call the switch silently (output only in terminal). If you like to have it verbose with pop-ups, then
Code:

sim-switcher SIM1 -v
Just see command line options in xfterm with
Code:

sim-switcher
and/or get details about calling: cat /usr/share/applications/hildon/SIM1.desktop

Tiran 2012-11-05 21:31

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
Quote:

Originally Posted by peterleinchen (Post 1290187)
As I never have used QBW, but DCEW I do not know exactly.

But it will something simple and easy like from command line...........

peterleinchen@ these commands do not work in QBW. I used following commands:
For SIM1
Code:

dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:"SIM1"
For SIM2
Code:

dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:"SIM2"
Now at me fine switches SIMs through QBW! :D :D :D


http://imageplay.net/img/tya22290989...6389993233.png

peterleinchen 2012-11-05 21:54

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
Nice one.
Thanks.

But you could have also just added a shortcut to sim-switcher directly from desktop menu (with simple icon) ;)

Will link your post in OP.

Tiran 2012-11-05 22:29

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
I am sorry for the bad English!
I do not like design of the panel of switching SIMs which I has made! It I will alter anew in Photoshop.
Principle of job such:
It simply design of the panel
http://imageplay.net/img/tya22290995/dockSIM1.png

http://imageplay.net/img/tya22290996/dockSIM2.png

These are overlays on the panel (in QBW the option is switched on "Hidden"). Here on these.PNG I have hung up commands from the previous post!
http://imageplay.net/img/tya22290997/SIM_1.png

http://imageplay.net/img/tya22290998/SIM_2.png

rpjitendra 2012-12-13 09:50

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
when switch to sim 2 massage displayed -please do NOT call me on already selected SIM (#3370#).
reboot works for switching sim but switch by app is not working.
need help.

peterleinchen 2012-12-13 14:10

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
A bit more info would be helpful:
your switching codes, providers, configs, ...

This message pops up, when you have already switched to SIM2 (with code #3370#) and try to switch again to SIM2 (code #3370#),
The only explanation I have now, is you have configured same switch code for SIM1 and SIM2.

rpjitendra 2012-12-19 17:13

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
#3370# is switching code for sim1 and sim2.
the adapter i am using only changes sim with a reboot.
it ignores your script.
can i umount sim like just like sd card?
it will be considered as a reboot by adapter.
please guide me.
thanks

peterleinchen 2012-12-20 08:30

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
Quote:

Originally Posted by rpjitendra (Post 1306119)
#3370# is switching code for sim1 and sim2.
the adapter i am using only changes sim with a reboot.
it ignores your script.

Again:
Quote:

Originally Posted by peterleinchen (Post 1304144)
A bit more info would be helpful:
your switching codes, providers, configs, ...

Which kind of adapter you are using? Is it capable of 007 mode at all.

What does that:
Quote:

Originally Posted by rpjitendra (Post 1306119)
#3370# is switching code for sim1 and sim2.
the adapter i am using only changes sim with a reboot.
it ignores your script.

mean?
Is your adapter switching SIM with that code on a "dumb phone"? Or does it also need a "reboot" on a dumb phone.
Please note the comment from first post and app manager description:
Quote:

Originally Posted by peterleinchen (Post 1304144)
Your adapter will need to support the so called 007 mode, i.e. the switching needs to be executed by calling a number (like 001, **1, 11*, 1#, ...).

Quote:

Originally Posted by rpjitendra (Post 1306119)
can i umount sim like just like sd card?

Simple and easy. No!
Quote:

Originally Posted by rpjitendra (Post 1306119)
it will be considered as a reboot by adapter.

Is that a question or a statement?
You may try following command in x-term:
Code:

sim-switcher reactivate
This will shut down the phonet0 interface and enable it again. But I do not think, that this will be considered by your adapter as reboot.
Another possibility would be
Code:

sim-switcher reset
, which is not yet implemented (next version in devel will have). If you got rootsh installed, you may try with
Code:

sudo killall csd
.
I would be interested, if that works for you.

saponga 2013-01-25 18:04

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
@peterleinchen,
Do you think that this adaptor should work ? There is any way to find out ? I've searched but i'm not sure yet.
Thanks

Estel 2013-01-25 18:57

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
Do you think that this photo is something even remotely related to "informative"? ;)

Seriously though, the only way to check out is asking seller about 007 mode, as stated in first post. If you don't trust seller, just stick to adapters confirmed to work - there is thread about that, "somewhere" in TMO.

/Estel

peterleinchen 2013-01-25 22:45

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
Quote:

Originally Posted by saponga (Post 1317768)
@peterleinchen,
Do you think that this adaptor should work ? There is any way to find out ? I've searched but i'm not sure yet.
Thanks

Quote:

Originally Posted by Estel (Post 1317785)
Seriously though, the only way to check out is asking seller about 007 mode, as stated in first post. If you don't trust seller, just stick to adapters confirmed to work -
/Estel

Everything answered, or?
At least you should give link to seller directly and its information site. Hopefully in English?!

Thanks for that, Estel. And welcome back ! :)
(your first post after such a long time?)

peterleinchen 2014-03-21 10:47

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
Hey.

After quite some time a little update.
I propagated a new version (0.6.5) to extras-testing. So, if you like, please go ahead and vote for it again.

Do not expect big changes, especially against basic functionality.
It is more a compilation of some nifty shiny updates. see the changelog:
PHP Code:

0.6.5
Corrected 
'restoreicd' to salvage non-auto-connecting/flickering internet conn/icon.
0.6.4
Added parameter 
'restoreicd' to salvage non-auto-connecting/flickering internet conn/icon.
0.6.3
Oops
copy/paste (auto replacescrewed network info. :( Corrected :)
0.6.2
Added another configuration 
"changepol" to allow/deny change to WLAN while connected to GPRS.
Corrected renaming of desktop file (already used name could not be used again).
0.6.1
Added logging facility 
(in .tmp directory).
Added another app icon (SIM0to display the SIM currently in use. Also via command line switch "show/current".
Updated icon with the harmattanish look-a-like one provided by sifo.
Again some small reordering and online check for activities after switch 
(
so now cell mode selection works reliable and internet works almost always reliable for me).
Optimized timing/output for displaying SIM details.
Added new command line switch 'reset'only to be used if SIM switching hangs and phone GSM/UMTS not down (old SIM not deactivated).
Added new command line switch 'csdreset'only to be used if new SIM does not register anymore and 'reactivate/reset' does not help


Medolino2009 2015-04-16 13:43

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
any chance you could make dual sim standbay adapter support for jolla sailfish ? thanx in advance best regards

Miki

peterleinchen 2016-03-23 22:58

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
So after a long time of silence here announcing a new version in extras-devel.
0.7.1-1 is out in the wild.

I finally got it packed and uploaded to repos.
This version now keeps track of the used amount of downloaded/uploaded data traffic for each SIM separately.
Very useful if you got a limit on one (or two) of your data plan(s).

Changelog:
Version 0.7.1-1
Added possibiilty for two independent data counters for each SIM.
This functionality is auto-enabled with this version.
If you do NOT want it, execute:
rm /home/user/.config/sim-switcher/.dc_switch
To re-enable:
touch /home/user/.config/sim-switcher/.dc_switch

Bearserker 2017-06-02 09:50

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
Hi,

Never had the need before for a dual SIM, but things change.
So here is my question :
What n900 dual-SIM adapter are available on the market in 2017 and are compatible with sim-switcher ?

Anyway, many thanks for this app ! :)

biketool 2017-06-02 10:06

Re: [Announce] SIM-Switcher, automated switching with a double ( dual ) SIM adapter
 
Quote:

Originally Posted by Bearserker (Post 1528707)
Hi,

Never had the need before for a dual SIM, but things change.
So here is my question :
What n900 dual-SIM adapter are available on the market in 2017 and are compatible with sim-switcher ?

Anyway, many thanks for this app ! :)

I think nearly all do, the compatibility problems arise with advanced 3G, 4G, and beyond SIM/uSIM cards rather than the N900's 3G-UMTS SIM port.
Many of these card adapters require switching using SIM-toolkit access, which the N900 lacks, to 007 dialing selection using a phone which has a working SIM-toolkit or other way to run apps on a SIM card.


All times are GMT. The time now is 00:27.

vBulletin® Version 3.8.8