Reply
Thread Tools
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!
 
Posts: 156 | Thanked: 90 times | Joined on Jan 2010
#2
 
Posts: 15 | Thanked: 5 times | Joined on Dec 2009
#3
This is not exactly what I'm looking for, I'm trying to get the current status of the radio (not if 3G is enabled or not). Even though my phone is currently in Dual mode (as exhibited by dbus), I don't have 3G here. My app will NOT function on anything other than 3G... Is there another property somewhere I can poll to check if I'm covered by 3G?

Thanks!
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:37.