View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#5
Originally Posted by spag View Post
There seems to be no API for this.

Maybe there is a way to speak directly to the GSM modem but even if it is possible one has to understand how the protocol (Phonet?) works.
You can get the names, MNCs and MCCs at least:
Code:
dbus-send --system --type=method_call --print-reply --reply-timeout=666666 --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_available_network
As the reply-timeout argument suggests, the call will take ages to complete. I know DBus-GLib allows you to perform calls asynchronously specifying the maximum time it'll wait.
 

The Following 3 Users Say Thank You to qwerty12 For This Useful Post: