Bluetooth and GPRS - Networking

Hi,
I have an application that connects to the Bluetooth DUN service of my mobile phone. By using the hyperterminal and the windows console application that I have done using C language, I am able to dial out to a fixed line.
However, when I switch to the GPRS mode using +CGDCONT=1,"IP","APN", I will get the NO CARRIER error after I dial *99#. My service provider has verified that the *99# is the correct number to dial.
Please do advice me on how I can proceed.
Thanks and regards,
PS

I might be a little bit off in my explanations and assumptions here, but my understanding of the way it works is that GPRS is your data connection. When you dial the access number you are establishing your data connection. If I am reading into your purpose correctly, you are wanting to use your phone as a modem to call into an ISP or to a dialup server. If that is the case, you would just dial the number without switching to gprs first.
This is probably a bad example, but consider your gprs connection like an ethernet lan connection at your home or work. If you wanted to use your home computer that is connected to the ethernet, to call an ISP or dialup server, you would need to use a telephone line plugged into the modem port, not try to dial over the ethernet (VOIP excluded). Does that help explain things, or make it all clear as mud.

Hi Steve,
Thank you for the advice.
I have tried to dial the number provided by my ISP without switching to GPRS first. The number I dial is the generic *99#. I guess that once I make this call, the telephone operator, which is also my ISP, would know that I am trying to connect a dial up.
But after I make the dial by sending ATDT*99#, I get a respond "CONNECT" then some unreadable characters follows for a while. After sometimes, the "NO CARRIER" respond will appear and the unreadable characters stop. Are these characters the PPP packets for a dial up? I am also not prompted to enter any password or login at all.
Are there any thing else that I should change?
Thanks and regards,
PSLoh

Again, I may be wrong here, but if you are trying to connect to a remote computer using DUN, then you are trying to have your computer use your phone as a dial up modem. I believe that the ATDT*99# is the setting to connect your phone to your GPRS service. Once you connect to GPRS, the only thing the GPRS network is going to understand is an IP address, not a phone number.
I think, if I understand you correctly, that you are tethering your phone to your computer with bluetooth and then attempting to make a call to a DUN host using a phone number (not the ATDT*99#), but a real 7 - 10 digit number.
Tethering is typically where you connect your computer to your phone via usb bluetooth etc, and use the devices data service (GPRS, UTMS, etc) to browse the internet, pull email, etc. You can't dial a number over this service as you are connected to the internet, not the public switched phone network.
Check this post for tethering instructions.
http://forum.xda-developers.com/archive/index.php/t-337714.html
You are actually trying to use your mobile phone as an analog modem, but your phone has no hardware inside it to respond to the answering modem when you call your ISP or remote host via a phone call.
There is a way to do this, but it involves some work. You have to build a small adapter that will convert your mike and earphone connections into a 2 wire that will plug into your computers analog modem. There are problems with this type of data service. It is slow, doesn't support cell changes, and may be disallowed by your carrier. Check this post to see what I am talking about.
http://forum.xda-developers.com/showthread.php?t=361928
Let me know if this sheds any light on the subject, or if I just really don't understand what you are trying to do.
Thanks,

Hi Steve,
Thanks for your reply. I always thought that *99# was the number for me to dial up to the ISP but now I guess I have to find out more about it.
I was using the ATcommand: AT+CGDCONT=1,"IP","APN" to set up my phone to use GPRS network and then ATDT*99#. I thought that by issuing these 2 commands to the phone, I would be able to instruct it to connect to my ISP and set up the PPP link between my phone and the laptop.
Do you mean that the number to dial is wrong?
If I were to succeed in dialing to my ISP, are there any things (commands or code) that I need to set up the PPP link on my WinXP laptop?
Thanks and regards,
PSLoh

Related

Laptop GPRS via BT on PDA

I have scoured the forums and the nice BT how-to's at geekzone web site but still can not get this connection set up. I want internet access on my laptop (W2000Pro) via BT connection to PDA (PDA2k) using GPRS on PDA. Maybe I just am using the wrong number to dial. I thought it is *99# for AT&T W here in the US. Detailed instruction on PC and PDA end will be much appreciated.
Have you put the modem string in?
On the laptop go to Control Pane > Phone and Modems > Modems
Highlight the XDA connection and click Properties > Advanced tab
In the 'Extra Initialization commands' field enter
at+cgdcont=1,"ip","Service provider"
for service provider it could be AT&T.com; you will have to find that out!
swamp2 said:
I have scoured the forums and the nice BT how-to's at geekzone web site but still can not get this connection set up. I want internet access on my laptop (W2000Pro) via BT connection to PDA (PDA2k) using GPRS on PDA. Maybe I just am using the wrong number to dial. I thought it is *99# for AT&T W here in the US. Detailed instruction on PC and PDA end will be much appreciated.
Click to expand...
Click to collapse
There are a few factors to consider when attempting to use a PDA as a GPRS modem, as follows:
1) PDA devices, throughout several years of my testing/engineering experience in the wireless data industry do not make good GPRS modems (In fact, most of them do not function as modems - as it was originally intended by the manufacturer)
2) The Win2k Pro has to be at least Service Pack3 for decent GPRS connectivity (I am going to assume that it is either SP3 or SP4 on your box)
3) Under control panel > phone/modem options (as mentioned by the person below) you need to click on the "modems" tab, then highlight your PDA modem and click the "Properties" tab....Here you will click the "Advanced" tab, AND in the "extra initialization command" bar you will enter the following string (case-sensitive) at+cgdcont=1,"IP","proxy" ....don't leave spaces in the string...then click OK and OK again (or apply and OK, whatever the option is)
4) Most importantly, you need to make sure that your SIM card from ATTWS/Cingular is accurately provisioned for the GPRS PDP option. (If it's not yet, you will need to call the ATT Wireless Customer Care/or Cingular Customer Care -whatever it is called right now)
5) You will then go into the Control Panel > Network/Dialup Connections and "create a new" manual DUN connection using that PDA modem driver (not your internal modem driver obviously - you would be amazed how many ppl make that mistake)...You will want to dial *99# ....You don't want to use ANY area code or dialing rules, and you want use both a blank username and a blank password (make sure "save password" is checked)
In conclusion....Provided that all of the aforementioned components are in place, you should be able to connect and browse/get mail, whatever your needs are.....depending on the capabilities of your PDA modem, you will get anywhere from 28kbps to 70 kbps for your data throughput.
Enjoy,
Sincerely,
Your local neighborhood friendly GPRS expert :lol:
PS. I just realized that you are using BT as your connection means (which implies you have to use Bluetooth Neighborhood, Bluetooth Places, or Bluetooth Devices, one of the above anyway........Therefore, just apply the settings I gave you to the Bluetooth DUN setup (instead of the Windows DUN setup)...You should see your PDA modem as a "bluetooth Dialup modem" on com6 or something of that nature.....
Cheers 8)
Finally got it - was easy in the end
A correction... I am using XP SP2 not 2000 (duh). Anyway I got the connection working and it all seems very easy in retrospect.
For anyone else having this problem: You just need to find the services offered by your pda2k through your "BT Places" on the laptop. Dial up networking will be offered, choose that and a shortcut will be created automatically in BT Places. All else was automatic, just dbl click Dial-up Networking. You will see a dialog on pda2k explaining the connection, you get a phone icon in banner area and then use the internet on your laptop just like normal. In case it does not happen automatically you just need to make sure you have a BT modem in Control Panel/Modems on a COM port and a BT connection using that modem with number *99#, no other options or settings required.
Glad you figured this out!
I was going to suggest using the Widcomm drivers found on this forum. I switched and was able to get a DUN service.
On another note if you are using the MS BT drivers, I found that if you establish an Activesync connection via BT, you can setup the outgoing serial port as the BT modem.

my own ISP dialup

hello
i have a pc under xp running with an Dsl modem.
on an other part i have a pocket pc.
i want to plug a dialup modem (low rate) to my pc.
and i want to connect to this dialup modem with my ppc in order to get access to Internet. do you think is it possible please?
Actually i want to build my own ISP service, i read about a RAS connexion but i am not sure.
can someone help me ?
thanx
gsm phones cant use normal analog modems to connect to
i think at least thats what my old motorola phone manual said
so using that to access the isp oldschool non grps way
the isp had to support to data gsm
re
i use a pocketpc and i read it is possible with pocketlance but i am not sure about the result in regards of the my objective (to be an isp provider for only myself) using poitn to point connection. any ideas?
I was thinking the same thing today after my broadband (lack of) problem. I am palnning to attemp something myself like this. I can tell you that it is possible and that I have in the past established a dial up connection from my ppc to my pc. It was using an audiovox rtm8000 gsm card, the gprs tool that came with it let me specify the number for gprs and when I used my home phone number to dial my pc with incoming dial up activated I was able to establish a connection and use terminal services client. This is not a practical permanent solution because the software expected the connection to behave like gprs, ie if it was inactive for a time it would quickly dissconect. I can get a telsta business plan (using my abn) that has 35c untimed calls so basically for 35c I could use my home internet unlimited - all be it at a very slow connection speed.
Yes it is possible to call a remote modem located on a windows or linux machine with a RAS installed.
However, to be able to tranfert datas, you need a data subscription in addition of your voice subcription.
KR, Imer
That depends on where you are. Here (aus) every gsm sim I have bought had csd enabled on the same number for no cost. I have had friends who were required to use a different data number but thats a thing of the past here. Thats why I am shocked to find that Telstra disable csd on the roaming service they provide to 3(three) customers - I need it!
I would have thought it would be cheaper / simpler to "tunnel" into a machine using vpn having first connected to a gprs provider, as csd (data over gsm) is allways a charged call, despite many contracts saying inclusive free calls to local numbers (in the UK anyway)

8525 to connect via dial up networking

Can the 8525 dial in to my internet providers access number and access the internet via dial up networking?
Thanks
Ok, here is what I am doing.
Start-->Settings-->Connections-->Connections-->add new modem connection.
My Connection - Name
Cellular Line - Select a Modem
Enter number for my dial up service
Enter Username
Enter Password
Leave Domain Blank
(no changes to the advanced section)
Click Finish
When I select the new profile "My Connection" and tell it to connect, I am again prompted for my password. I enter my password and press OK
It says connecting to "My Connection" and Connecting using Cellular Line.
This flashes up twice then I get the message:
Cannot connect for an unknown reason. To check your connection settings and change them if needed, tap Settings. If the problem continues, reset your mobile device according to your manufacturer's documentation and try again.
Any help would be greatly appreciated.
Thanks
Edit:
one other thing that I tried was putting in my home phone number as the number to dial. When I try to connect, it doesn't seem to even be dialing the number because my home phone did not ring or anything.
Seems that Cingular does not allow this according to this thread
That really sux!
Lantern20,
I'm using a HTC Tytn in Sweden that is Operator free. I then use the chip from my company's subscription to Vodafone (Telenor). Everything works fine, including GPRS, but I get the same message as you do when trying a dial-up connection.
And, same as you, it doesn't seem to dial at all. The message comes too quick. If I manually dial the dial-up number, the modem answers in the other end, so the number is okay.
I haven't checked if Vodafone still allow CSD in their network (according to the thread you pointed out), but I do believe they do, since I already used the same chip in a Sony-Ericsson phone to dial-up. So, it seems that dial-up works with my chip.
Anybody comment???
I'm having the same problem. The strange thing is that I tried dialing manually on my phone to the ISP and I can hear the modem pick up on the other end. Any insights?
Dial-up Connection
I can get mine to connect but I am unable go load browser pages.
I had a 8125 that worked great.

??? Dial-Up Internet via NON-Cingular ISP ???

The information I have found instructing the use of the Cingular 8525 as a wireless modem is HERE, but I do not want to use my data plan. I want to use my home dial-up ISP to connect to the internet on my 8525... and/or use it as a wireless modem tethered to my laptop. I have entered the correct dial up number, user ID and password. My phone attempts to connect to the dial-up service, but at the end it simply says the "The remote party has ended this connection."
Any ideas or am I just dreaming?
Thanks
Ron

Dialup on Hermes

Man, I hope I don't get flamed here, but I have checked using the advanced google search, ect and couldn't fnd my problem, so here it is
My ISP (Telus) gives me 10 hours of dialup a month.I want to be able to use my 8525 to connect to dialup so I can check email ect from the different cities I end up.
I added a new modem connection and used the Hayes cmpatible on Com1, added the dialup number, login and password. It dials the number, waits, then gives me the cannot connect screen.
I've triple checked the settings, login and password...and still can't connect
If you know how to make it go, please share the info, I would greatly appreciate it!
digitus
digitus said:
Man, I hope I don't get flamed here, but I have checked using the advanced google search, ect and couldn't fnd my problem, so here it is
My ISP (Telus) gives me 10 hours of dialup a month.I want to be able to use my 8525 to connect to dialup so I can check email ect from the different cities I end up.
I added a new modem connection and used the Hayes cmpatible on Com1, added the dialup number, login and password. It dials the number, waits, then gives me the cannot connect screen.
I've triple checked the settings, login and password...and still can't connect
If you know how to make it go, please share the info, I would greatly appreciate it!
digitus
Click to expand...
Click to collapse
Gawd even in Australia i dont think there is many using Dial-up and we have the slowest internet in the world! only 10 hours you think with the amount they will get from you using your mobile and dialup they would just give you unlimited
thats just on top of my adsl. I guess its for those who roam alot.
Still no answer to as what I am doing wronng tho, anybody???
Dialup using your 8525
Hi,
I had the same problem. To be able to connect with the 8525 you need to switch your signal to GSM and it will let you dialup. To do this I got a software called BandSwitch from Daniel Herrero Rey at www.commmprpro.com.
Good Luck,
Luis
i am also trying to use dialup on this device. I live in Canada and out data plans SUCK ASS! I have some dial up access from my ISP (bell sympatico) and i want to dial up but everytime i try to connect, it fails!
thanx for the link, I will try it now
can't seem to get it to stick to GSM mode. It switches back to auto mode right away
nonsense, bandswitch is not what he need!
some think too complicated when trying to anser such really basic question:
Create a new connection (settings/connections) and chose mobileconnection as modem (dont choose haiescompatible modem or 3g modem). then add username + passw. + dial in tel.number (which depend on your serviceprovider, if you dont know then ask him). thats all.
each time you connect to the net you will use GSM network.
If you want to use UMTS connection again you must select (switch back) to ISP connection by hand (settings/connection).

Categories

Resources