Thread
:
How do I detect connection status/type?
View Single Post
Gobelet
2010-02-08 , 17:01
Posts: 15 | Thanked: 5 times | Joined on Dec 2009
#
1
Hello,
I am currently coding a carrier-specific app for the N900 in Python, and I need some advice on how to detect which type of connection I'm on, and what speed I can get from it.
Is there anything exposed through dbus or something that could indicate me which connection I'm using?
The first step I can think of is see if gprs0 is up or not, but that doesn't give me the connection status (2G, 2.5G, 3G, 3.5G). The software should only work while on 3G/3.5G. I didn't find a way to get it. Where is the signal level "applet" located? Maybe I can figure something out from that.
Thanks in advance!
Quote & Reply
|
Gobelet
View Public Profile
Send a private message to Gobelet
Find all posts by Gobelet