[maemo-developers] Trying to switch GSM provider by API

From: Sivan Greenberg sivan at omniqueue.com
Date: Wed Jun 16 15:34:17 EEST 2010
#define TIMEOUT 666666 /* Beelzebub sends his regards. Twice. */

Hahah! The funniest remark I've seen in years in C constant code. I am
going to test this as well as I am facing a similar issue , but I want
to be able to change from 3G(UMTS) to 2G(GSM) programatically for
calls rates reasons.

Sivan

On Wed, Jun 16, 2010 at 3:04 PM, Faheem Pervez <trippin1 at gmail.com> wrote:
> Oh, it's probably a good idea to call g_strfreev and g_array_free in
> on_list_recieved in the file get_networks.c...
>
> On 16/06/2010, Faheem Pervez <trippin1 at gmail.com> wrote:
>> Hiya,
>>
>>  Nokia, being the Kings of Open Source that they are, won't release the
>>  headers for libconnui - the library used by the Phone Control Panel
>>  applet to perform this stuff.
>>
>>  However, libconnui is a wrapper around DBus-GLib/Mission Control etc.
>>  Graham Cobb produced a brilliant Wiki page on working out the D-Bus
>>  method calls: https://garage.maemo.org/plugins/wiki/index.php?Tools&id=1106&type=g
>>
>>  I've attached three DBus-GLib examples which I believe should be
>>  enough for you to perform what you asked for. I'm not sure what all
>>  the values represent so... maybe looking at
>>  www.bleb.org/software/maemo/telephony-maemo.c and
>>  http://repository.maemo.org/extras-devel/pool/fremantle/free/source/n/netmon/
>>  will help.
>>
>>  One will print a list of the available networks around you; this is
>>  done in the way the CPA does it.
>>  One will tell you the current Network Selection mode
>>  (Manual/Automatic); the current cell information; and operator name.
>>  The other will set the mode into automatic or manual (hardcoded for my
>>  provider, T-Mobile UK).
>>
>>  Best regards,
>>
>> Faheem
>>
>>
>>  On 24 May 2010 12:20, Filip-Martin Brinkmann <filip.brinkmann at gmail.com> wrote:
>>  > Hi guys,
>>  >
>>  > I'm trying to write a small widget that allows to switch back to a
>>  > defined GSM provider. Point is, I'm commuting everyday to switzerland
>>  > and back to germany the same day. When I reach covering area of my
>>  > german provider, the N900 won't switch back unless I go to
>>  > settings->phone->search and switch to "manual search" etc...
>>  > I therefore wanted to shortcut this. However, after browser all possible
>>  > documentation, I still have no clue where to search - what API can I
>>  > use? Or is there no such possibility at all?
>>  >
>>  > I'd be very grateful for someone pointing me in the right direction.
>>  >
>>  > best,
>>  >
>>  > filip
>>  >
>>
>> > _______________________________________________
>>  > maemo-developers mailing list
>>  > maemo-developers at maemo.org
>>  > https://lists.maemo.org/mailman/listinfo/maemo-developers
>>  >
>>  >
>>
>>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
More information about the maemo-developers mailing list