GSM/GPRS and Roam detection? - Networking

Hi,
I've been having problems getting some cellular info for my program. In both cases I open a tapi line to the "Cellular Line" device...
Problem 1:
I am trying to use lineGetCurrentSystemType() in extapi to get information about the current connection type. In other words I want to know if the phone currently has GPRS or GSM capability. I can successfully open the line, but everytime I call lineGetCurrentSystemType() I get LINEERR_OPERATIONFAILED. Can anyone help with this, or offer a better solution?
Problem 2:
I want to know if the phone is roaming, or on its home network. I've been using lineGetLineDevStatus() from TAPI, but dwRoamMode is always LINEROAMMODE_UNAVAIL. Can anyone tell me how to get the roaming status?
Thanx,
Blair.

Whenever I try to read ROAM from lineGetLineDevStatus() I always get LINEROAMMODE_HOME even when it is searching for a network. I think the implementation of some of these members is not complete because the phone hardware people did not provide it to the driver.
On my XDA2, the lineGetCurrentSystemType() returns LINESYSTEMTYPE_GSM, so I can't help you with that....
I'm assuming you've already done this, but you did the following functions right?
lineInitialize
lineNegotiateAPIVersion
lineOpen
I couldn't get anything to work until I did the lineNegotiateAPIVersion call

Yep, I've done those. And I select the "Cellular Line" device. I use a lot of code from the SDK Tapi examples. I'll keep working on it.
You wouldn't happen to know how to get the cellular's phone number from Tapi, do you?
Thanks,
Blair.

Related

Access To Corperate Network Via RAS dial in ?

Hi All, well hope some one can help, as have no hair left to pull out. Our company has various free phone ras dial in numbers. I am tring to get my xda to dial into these numbers to allow me to be able to access our servers using terminal services, when problem arise. (all legal here, Its my job)
Is this possible using the xda as the os for the procedure ?
If I use the xda in a cradle connected to a laptop then I can dial in no problem and use terminal services fine on the xda, but there seem little point when I have a connected laptop......!!!!! :roll:
What I would like to be able to do is dispose of the laptop and do it all on the xda, has anyone managed or is doing this.
Any ideas would be great, as have ran out of them.
Cheers
Waftycranker
Hey W.C. - Does your company have a public IP address that the Terminal Server is running on? I use the Terminal Services Client through GPRS all the time and it works great. I guess if you have to pay per kb with GPRS then I guess I see why you would want to dial in. I never tried the dial in method. Good luck - Jim
@JimDavis
I can't see what your problem is. (you did't mention)
I use that with my dial-in to my company
* Just setup a Cellular Line Connection (not gprs)
* Enter the Phone Number
* Enter your User/Password maybe Domain
and you are in
Maybe you need to modifiy the Linetype setting analog/digital (i.e. v.110 or v.34)
Does your provider support Data Calls on your Phone-Nr.?
Fidl
Hi Guys, thanks for the help, but still that darn computer system will not let me in. Dials up ok but just keep getting the error message " There was no answer at the number dialed. Varify phone number and try again etc etc etc"
Yet if I use my laptop at the same time, same number all is fine so I now the number and line and username and password and domain are ok.
May need some super glue soon to piece my xda back together again, know any good makes.
Any more ideas ? anybody
Wafty
Dial-in data call with XDA
Many GSM cullalar carriers who offer GPRS data packages block regular data calls over their network in an effort to push the GPRS stuff.
My carrier in Canada does this which gives me the exact same error you get.
Call your carrier.
Cheers... Peter
Will O2 be getting a call in the morning..... I THINK SO !!!!
Cheers, will let you all know how it goes. :twisted:
Wafty
Try checking the Proxy Settings tab under your profile. The "This network connects to the Internet" box should be unchecked. This may be why it only works with your computer. :roll:
Update
Contacted O2 and after 5 diffrent numbers and 30 minutes on hold, they are enabeling something their end. This will take 24 hrs, working days only.
Note: Noticed how payment and billing systems work 24/7 365 yet anything that will maybe help you works 9~5 Mon - Fri.... or is it just me.
Will update Monday :roll:
God knows why I thought that an service provider would be able to help, they are good at removing money from my account, but little all else.
Acording to them I have everything enables on my account, yet I stiil am unable to dial up using my company ras connection numbers. Still the same error message as before.
Could really do with checking settings etc with anybody who is able to dial up to their corparate network.
My mail is [email protected]
Cheers for any help.
There was no answer at the number dialed. Varify phone number and try again etc etc etc"
Click to expand...
Click to collapse
Every time I've seen this it has been because the provider didn't have CSD (Circuit Switched Data) calls enabled. Can you try some other type of dialup modem, such as an ISP, just to be sure it's not your company? I'll bet they didn't really enable CSD.
It may be more than that. I am able to dial up to my company via CSD however my employee collegues using the same RAS service/company etc are unsuccessful.
Recheck the Proxy Settings tab under your profile.
The "This network connects to the Internet" box should be unchecked. This may be why it only works with your computer.
The other solution is to see if your company provides a VPN RAS. Ifso, you can dial up using GPRS. :roll:
I had this problem
Was trying to dail in and sync outlook
never got it working, but i cured the no answer thing by editing the the dailing location info. turned out that it was dailing completely the wrong number. simple stuff but worth checking!
Posted detailed set-up info in thread
http://forum.xda-developers.com/viewtopic.php?t=4723
T-Mobile US is nice to allow this and charge air time as if it were a voice call - you get nights and weekends for free data. 7Kpbs is not too bad surfing the net with graphics turned off.

Why incoming call is blocked while GPRS is in transmission?

hi all,
i got a very annoying "feature" in the O2 Cosmo(T-Mobile Dash). The incoming call will be blocked(heard busy tone) if the GPRS is in transmission. I was complained by many friends.
To my understanding, there's a setting in some phones to enable both GSM/GPRS concurrent connections. Is there such setting in Windows Mobile?
My ROM is 1.13.207.2, RADIO is 4.1.13.28_02.63.90
i tried to refersh its ROM, but don't know how to CID unlock. the "RUU_Excalibur_SPL-1.11_UpgradeOnly.exe" on the server has no luck for me, still "Invalid model ID".
can anythone show light on me?
thank you
reply
I think microsoft released a patch for that: i'll try find it on google for you. can you explain what configuration you used?
I think the 'patch' you need is called 3G.
I have the exact same problem and I opened a thread on it as well.
Read here.
The conclusion we reached was that this is a network, not phone dependent problem.
yeah never happent to me ever
thanks for all the replies.
My previous phone is O2 XDA Mini S(Wizard). I used that one to receive push mail provided by GoodLink, which requires GPRS always on. I didn't have such issue with that, at least no complain from my friends.
That's why i am wondering something wrong with the RADIO configuration. I didn't make any specific change to my new O2 XDA Cosmo(Excalibur).
best regards
And back to my memory.
I used to have the classical Ericsson T39. There was a setting to enable GSM incoming call during GPRS transmission(cannot remember the exact name). By enable that, i can still receive incoming call, and the GPRS connection will auto resume after the call.
Is there similar setting for Windows Mobile?
There is not as far as I've ever known. I've used smartphones that determined which was blocked and which was not based on which application was in use at the time. That is, if you were actively using IE or some other network app, phone calls would go straight to voice mail. If a non-network app was front and center at the time, the network would be disconnected and the phone would ring. That (and the SE settings mentioned above which I saw on my SE phones too) showed that it was a phone setting made by the carrier. I'd hope there's a little more intelligence behind it than just "voice trumps network" but if there is, I couldn't tell you what determines which gets through and when.
I've found that it's based on the amount of data being transmitted at the time of the (attempted) call. For example, high-bandwith usage such as media streaming will lead to the incoming phone call being blocked/diverted most of the time, whereas sporadic usage (eg. PING, or loading a very simple web page) has allowed a call to come in, temporarily disabling GPRS. GPRS can never be used during a phone call.

UMTS and phonecalls together

I searched this forum, but found no answer to my following question:
I have a Hermes with WM6.
A coworker also wants to buy this device (or similar), but had one question I couldn't answer::
Is it possible to use a WM6 device as a modem for my laptop to use UMTS (3G) or GPRS and still be able to receice phonecalls?
I never used this sollution, so I wasn't sure.
He needs to use the device as a wireless modem very often, but is afraid that he loses phonecalls during this time.
Has anyone an answer to this?
thanks
Martijn
hi.... depending on the network. say, some networks setup by ericcson have a bug, as i am told.
You can connect to 3g/gprs. However, if you make a call or receive a call, if you have a data transfer happening simultaneously, it will stop. Your connection will not break. But whatever you were doing will sieze. You can resume your internet activity once the phonecall ends.
If you have a network setup by one of the other players like nokia siemens, then you will not have this problem
@mirage22
I don't realy follow you. You say that it depens on the network, but speak of Nokia, Ericson and Siemens. Do you mean this will work with Nokia,..etc phones and not with the hermes (TyTN)? Or is it dependent of the network provider (Like T-Mobile/Vodaphone)?
It seems to me that if you have a 3G connection, it's still possible to place and receive phonecalls. Just like receiving an sms. That's also possible when in a phonecall..
Isn't this something a lot of people do every day?

GSM/CDMA as REAL dial up modem, asin to earthlink/aol

ive been reading and it sounds like this is somehow doable. i've been trying to figure it out for YEARS, but to no luck. ive got htc hermes, blueangel, wallaby, motorazr, you name the phone i can get it.
how can i set this up. ive tried to dialup network over bluetooth and dial the phonenumber of hte isp, but i get PHONE IS BUSY.
help me guys, please=
i cant add data to my plan, this is my only shot at internet on my phone.
You and I just keep runnin into each other....
Who is your carrier and/or why can't you add data?
I had, at one point been q class w/tmobile, and wasn't allowed to add any data plan(s) so I had to connect to some internet provider over gsm cellular connection. this is, to the best of my knowledge, how I did it.
Go to settings, connections, connections, manage connectins, and add new.
Name it and select "cellular line" (not gprs).
Next, input the phone number your dial up provider uses (i'm not sure about 1's or +1's or whatever)
Next enter your username and password for your provider (most dial up's don't use a domain, so leave that blank).
Next, finish, and select it under "manage connections" so it is the default (this will screw up your messaging) and test it out. You may want to use autopick or leave the existing default connection as the default connection, and just click the g icon, and select another connection to connect to the net at that particular time, to maintain your ability to text.
You can expect a slow, fax machine like connection.
I have tmo now, and an sx66 (no 3g or edge) so I got the web2go for 9.99 (for normal phones) and set my access point to internet2.voicestream.com, with no proxy, or username/pass, and I get about dial up -ish speeds. I do have an issue with mms, and am working that out now.
irlol. we're the only two people in the BA forum nowdays, id say we're going to get to know each other realgood. its slightly funny that ive been searching for these instructions for 4years and you're the ONLY person ive found whos done it, so thank you verymuch.
as for carrier, im on att blue. original ATT before cingular bought it and then before cingular changed its name to att. im completely grandfathered in, they refuse to let me modify any of my addons. so i get charged up the ass for data.
alright i set it up. adding the + to the number made it dial longer, buit it sttill screams THERE IS NO MODEM AT THIUS NUMBER.
when i know damnwellt here is. this sux. -_-
i use same method with carrier Claro Dom, with my excalibur. on hermes and any umts phone u must disable it umts/3g first. i have used it with wizard perfectly.btw at&t had this service, using a home dialup account. if the number dialed is free of charge then u get free internet we call Dial-slow, as said already at fax speed which i havent seen over 9600 kbps.
i tried it on the blueangel as well, it didnt work. and its a standard gprs/gsm phone. no edge or 3g.
why can you all get it working and i can, what hte hell am i missing lmfao
ive been trying to get this to work for years i currently just got a Sprint Touch Pro 2 and i am going to Asia for a month. While their im goign to use the GSM portion of my phone.. etc and i would like to still get emails and use the itnernet..
i know the speeds will be ubeeer slow.. but if i put in as said earlier in this forum something from a dial up ISP, i should only get charged VOICe minutes and not data KB?
that would be AWESOME!!!!

no service yet can connect to data...

Hey
I know there are threads related to this issue where an Hero refuses to connect to a network (the bars has a x over the top) however i've discovered something strange with my hero.
With the correct data/apn settings the phone is connecting to the network and will allow me to browse the internet, post tweets etc etc, it actually allows me to do anything thats not phone related. I cannot make calls or sent text messages.
This phone was unlocked and working ok until one day it just stopped working with my network.
The hero is unlocked - I have tested it with Tmobile and Three and they both work. Any kind of o2 sim refuses to work....
Am i being a complete n00b and missing something here....?
Any help appreciated - I;ve spent weeks on this issue and almost ready to give up
Damon
Anyone having a similar issue to the above, I've found something that appears to help fix this.
Get AnyCut from the market place, create a shortcut to Phone info.
Launch phone info, turn off radio.
Now im not exactly sure why this works but change 'set preferred network type' to WCDMA Only and then renable the radio after a few moments, the singal returns.
Weird and very annoying.
Damonsk,
Can you point me to a solution for the other problem where the hero refuses to connect to a network (the bars has a x over the top). I have searched every term I can think of with no luck yet. Thanks in advance for any assistance you can provide.

Categories

Resources