![]() |
Re: ConnectNow Maemo5 widget to switch between internet connections
i agree with IVGALVEZ .... i considered to ask for that implementation in cssu thread, but this could be another way to do that!
|
Re: ConnectNow Maemo5 widget to switch between internet connections
Quote:
I'll try to implement it. |
Re: ConnectNow Maemo5 widget to switch between internet connections
Quote:
I've never seen this kind of support from any private company. |
Re: ConnectNow Maemo5 widget to switch between internet connections
connectnow-home-widget 1.3 is in extras-devel now.
It has an extra option for changing radio mode (3g/gsm) on connect/disconnect intenetconnections. Please test and give feedback. nicolai |
Re: ConnectNow Maemo5 widget to switch between internet connections
Quote:
Thank you very much. In my case, with Vodafone Spain, when pressing connect it tries to make the connection a bit soon without time to stablish correctly the 3G network and thus, an error of connection appears. Disconnection works flawlessly. Are you waiting a fixed time after the switch for the connection or are you receiving any dbus signal? |
Re: ConnectNow Maemo5 widget to switch between internet connections
This is bad.
There are a bunch of dbus-signals like com.nokia.phone.SSC.modem_state_changed_ind com.nokia.phone.GPRS.Available Phone.Net.operator_name_change It took me some time to figure out how to start the connection at the right time. The current way is: wait for signal com.nokia.phone.SSC.modem_state_changed_ind = online and wait for Phone.Net.operator_name_change after that I open the connection. I have to listen for both signals because right after changing the radio mode, operator_name_change is signaled two times, but only after the third time (after signal modem_state_changed_ind) I can start the connection. I hoped this way would work for others too. But it seems this doesn't work for all network operators. I don't know how to find out what could be the right way that works for all operators. |
Re: ConnectNow Maemo5 widget to switch between internet connections
Hey nicolai,
here is some shell code, which I use to detect online state when switching from one SIM to another (dual adapter). Code:
#give some/infinite time to enter PIN (if SIM requests PIN and only needed for IAP and call forwarding) Code:
while [ "`cat /var/run/ssc`" != "online" ] Hope this helps. |
Re: ConnectNow Maemo5 widget to switch between internet connections
Oh nice, another update ... no more thinking about broken AutoDisconnect :D
Thanks a lot! Btw. could you implement a check if a 3G connection has been established and switch to 2G if it failed? Another interesting feature would be to "silence" icd2! It is easy to kill the daemon on X-Term but that solution is not very comfortable. How about switching icd2 off generally and only start it when a connection with ConnectNow is being established (again with failure check). This internet connection popup is driving me crazy! In an ideal world all apps should have an option to work offline, but in reality they don't. And I would rather have an app crash without internet connection then getting that popup every 5 minutes :mad: Puh, sorry for that outbreak :p And again: Love my phone because the community is awesome! :) |
Re: ConnectNow Maemo5 widget to switch between internet connections
I have been using this new feature during the last days and apparently it works 85% of the times with Vodafone Spain. It seems that it depends on the cell tower as most of the fails are always in the same place.
Maybe it's just a timing issue, if you add a little delay it could be enough. What I have observed is that the widget switches from 2G to 3G, and maybe it's better to change to Dual, so if there's no good reception for 3G you could stay connected to GPRS. Edit: As far as I continue testing percent of success is raising. |
Re: ConnectNow Maemo5 widget to switch between internet connections
@nicolai....
Could this be configured to be used as a switch for bluetooth. I mean to say to turn on/off the bluetooth (similar like bluezswitch widget) without going into the status bar dropdown??? |
All times are GMT. The time now is 12:09. |
vBulletin® Version 3.8.8