Hello all,
I am trying to write and application that opens a connection to the serial port, GPRS modem, and sends AT commands and receives any response.
I have a few questions;
1- I can open connection to 2 ports, named COM1 (or COM2 depending on the device) and COM9 (or COM3 depending on device). How can I be sure the device I am connected to is the GPRS modem?
2- When I try to write data, I have 2 results - first, device freezes without any response, and second, I get an IOException error.
Can anyone help me please?
I am using C# and Visual Basic .NET
Thanks,
Related
Hi,
Ok after the breakthrough regarding the ROM updates for QTEK 1010 and it was first revealed here on xda-develpers.com we have some new options in the QTEK now one of them is the WM.
Did anyone manage to use the Wireless Modem via IRDA because its not working the first thing is that the computer is seeing the device on infrared but not as a modem and i dont have an *.inf file to indentify it. If anyone managed to use his QTEK or any XDA via infrared to connect his laptop to the internet using GPRS plz explain how.
thanks
to irda on win2k/xp
visit http://www.ircomm2k.de
Install software at own risk, but this exposes a permanent COM port using IrDA. Also nukes Wireless Link in the process.
Setup a manual modem, select the COM port from above, presto!
Ummm its a good idea but i am not sure if this will work on Windows XP... what do you think?
it does
it does, but as with all things apply with care
Tried it
I tried this a long time ago, IRCOMM2k works on XP but the problem is that i couldn't figure out how to setup a IR generic Modem working on that port.
Yes please, this is a good article,
I installed the ircomm2k on my XP, but how to configure the connection from my laptop to connect to the internet via my XDA PDA as an external modem?
to setup xda as a modem
1. Install Ircomm. note which com port is assigned as permanent.
2. Add new modem: standard 33600
3. Select com port from item 1 as the com port of choice
4. Edit modem profile in devices settings, in Extra Initialisation Commands add AT+CGDCONT=1,"IP","apn name"
5. VERY IMPORTANT: set flow control to OFF
6. Set port speed to 115200 ONLY
Set up a Mobile Web net connection as per your operator
Select your above modem
Align xda with irda port; select start on Wmodem app
Double click Mobile Web connection.
Surf. It's OK but not as fast as a GPRS card.
OR you can wait for O2 to eventually post some instructions...
Thank you very much for your feedback
I did all what you asked me to do, but its not working it gave me an error message:
Error 692: There was a hardware failure in the modem (or other connecting device).
I replaced AT+CGDCONT=1,"IP","apn name" BY AT+CGDCONT=1,"IP","apn01" same as Im using in my PDA. Am I right?
Something I didn't understand in your reply:
(Set up a Mobile Web net connection), you mean a normal dial-up connection?
One more thing, what do you mean by (select start on Wmodem app)?
Do I have to do anything in my PDA before I connect from my laptop? or do I have to do anything in my PDA configuration or connections settings?
Please help me, I want to use the Gprs on my laptop, no need to pay for 2 services, one for the PDA and other for my laptop
Best regards, Ali Alsaffar [email protected]
"select start on Wmodem app" - this means go into the Wireless Modem application on the xda, select IrDA (if thats now you are connecting) and then tap the Start button.
When you've done that, go the the DUN connection on laptop and connect as you normally do.
Unfortunatly I dont have "Wireless Modem application" on my XDA from where I can get it?
I thought the command was:
AT+CGDCONT=1,"IP","apn name","",0,0
I don't know about the command but what Im sure about it is that wModem application is mandatory, so from where I can get it?
Re: to irda on win2k/xp
guest said:
visit http://www.ircomm2k.de
Install software at own risk, but this exposes a permanent COM port using IrDA. Also nukes Wireless Link in the process.
Setup a manual modem, select the COM port from above, presto!
Click to expand...
Click to collapse
HI. I HAVE AN OLDISH LAPTOP RUNNING WIN ME. WILL IRCOMM2K WORK ON ME OR IS IT INTENDED (AS NAMED) FOR WIN 2K AND XP ONLY?
From: Helpdesk (source O2) Sent: 30 May 2003 13:54
Subject: RE: wireless modem
Hi
The wireless modem will be available in the next ROM update from the xda team. I understand that this will be released in the next couple weeks - they are in the final stages of testing.
We will highlight the new ROM on our homepage with a link to the downloadable files.
regards
source O2
Re: to irda on win2k/xp
Anonymous said:
guest said:
visit http://www.ircomm2k.de
Install software at own risk, but this exposes a permanent COM port using IrDA. Also nukes Wireless Link in the process.
Setup a manual modem, select the COM port from above, presto!
Click to expand...
Click to collapse
HI. I HAVE AN OLDISH LAPTOP RUNNING WIN ME. WILL IRCOMM2K WORK ON ME OR IS IT INTENDED (AS NAMED) FOR WIN 2K AND XP ONLY?
Click to expand...
Click to collapse
Hmm... really good question. ME is an update to 98 as I recall, but a clunky upgrade.
Way to check: Setup a new modem. When it asks which COM port you wish to use, if you can select Virtual Infrared COM port then it should work fine.
Get the instructions at www.o2.co.uk/xda on Help and Support.
Anyone know what the T-Mobile USA network connections for using WModem are?
For UK O2 they are:
Primary DNS - 193.113.200.200
Alternate DNS - 193.113.200.201
User name - O2Web
Password - password
Has anyone used wmodem in the US with T-Mobile as a service provider?
Thanks,
JP
Qtek as wireless modem
I also have oldish ME Laptop computer. I did exactly as described on O2 support site. It does not work. The modem on laptop immediately disconnects saying it's not responding properly.
I have tried several cooked versions of the 4..00.16 Eng T-Moble and the 4.00.11 ENG WM2003 roms and niether one installs the WModem app. Any ideas why?
I have a T-Mobile version of the PPC, radio stack 6.24
WM with old laptop computer
It worked for me. I could connect my oldish ME notebook computer to internet over gprs using WM in xda. I used the extra string from o2 and just changed the access point name.
It goes as this:
AT+CGDCONT=1,"IP","apn"
It works, but the WM just stops responding the moment you disconnect the connection from PC. The PC waits and waits for the confirmation and then hangs up saying no reponse. But as long as you are connected it works very well.
I would like to use my MDA pro as Modem under Linux (Ubuntu 5.10).
I tried it with USB connection and with Bluetooth, both with no luck.
My Question is, wether someone got this working and if yes, I would like to ask then also for a kind of howto, please.
umts modem
HI, I connect my universal via bluetooth under linux to /dev/rfcomm0 by using rfcomm tools. Next I run pppconfig tool to create a new connection, dialed number is *99# username and password - none..
On universal
1] start wireless modem over bluetooth
On linux box
1] # pon connectionname
tail -f /var/log/messages -- look at this for debug
connection may works fine for me..
at first can you pair your device with linux of course
sorry for my bad english..
hi!
i'm a linux newbie and have some problems to get my mda connected via usb to an ubuntu 5.10 distribution.
could someone please explain me how to use rfcomm? when i connect the mda, how can i find out name, port and mac adress of the device?
is there a tool out there, which shows me some informations for attached usb devices?
it would be very nice if someone could give me a step-by-step instruction for connecting my mda correctly to my pc and connecting both via umts to the internet.
on windows i got the usb-modem dialer which allows me to enter an apn. how do i handle this under ubuntu?
sorry for the newbie questions and my bad english. anyhow i hope someone would help me.
many thanks and best regards
sebone
umts
If your bluetooth is working correctly, you have to set a rfcomm device.
# hcitool scan
this show you mac address of your bt device
# rfcomm connect 0 MAC channel
this can make a node rfcomm0 in /dev
instead of channel you can type number from 1 to x
I don't remember exact number of channel..
right number can test for example with minicom.
thanks for your reply but i need to get it working via usb connection.
is anybody able to help me in this case?
thank you very much.
usb modem
However, I'am didn't find any usb modem linux drivers for universal ..
BT is best choice for now.
sebone said:
i need to get it working via usb connection.
Click to expand...
Click to collapse
serial over USB did not work for wince5 last time i have checked.
http://synce.sourceforge.net/synce
Hi all!
Ok, I try it here...
Can anyone tell me, how to enter the PIN of the SIMCard to unlock my Blue Angle in C# or C++?
I would like to create a GPRS connection to the internet and have to enter the PIN first.
A code example would be nice.
Thank You
ENTER PINCODE
if your using AT commands
i think the command to enter pin code is AT+CPIN
i'm using Vb6 but i think it is somewhat similar
Mscomm1.output = "AT+CPIN="XXXX"
XXXX is the pin code hope this helps
Thanks for Your answer!
But I already tried this.
To send an AT Command to the modem, I have to open the Com Port COM2. I also have to send the DeviceIoControl command. All AT-Commands return success, even the CPIN command, but nothing happens. If I want to connect to the net, the dialog appears to enter the PIN.
Thanks for Your help.
Thanks for Your answer!
But I already tried this.
To send an AT Command to the modem, I have to open the Com Port COM2. I also have to send the DeviceIoControl command. All AT-Commands return success, even the CPIN command, but nothing happens. If I want to connect to the net, the dialog appears to enter the PIN.
Thanks for Your help.
Hi,
Have you tried to execute the "SimUnlockPhone" API in you app?
I don't know if this works but you can give it a try...
Regards.
Hi,
There are plenty of posts related to this, but I cannot find one exactly dealing with this particular problem: I have linux installed on my laptop, and I would like to use my universal as a USB modem (UMTS modem would be great, but Gprs should be just fine). I do not really care about bluetooth, I just want to make it work with the usb cable, this would already be great.
Thank you,
Buzz.
Here's a cliff notes version of what worked on my tmobile MDA under linux...not sure how different the universal is.
Turn on modem link on the universal with USB as the type connection.
Run the following (and if this works you will want to have it run each time the pc boots up)
modprobe usbserial
modprobe ipaq vendor=0x0BB4 product=0x00cf
When you connect the universal to the linux box you should be able to run "dmesg" and see what the vendor and product #'s should be.
Once these have been ran the universal should map to /dev/ttyUSB0 (you will see it say so in dmesg)
You then setup a normal gprs type connection to your provider..dialing *99# etc....
Thanks for hint! The following commands:
"modprobe usbserial
modprobe ipaq vendor=0x0BB4 product=0x00cf"
really got my Himalaya to be detected as modem.
The modem is being succesfully queried with KPPP.
But I still can't connect to GPRS. There are 3 leds in WModem (connection, input, output), and noone flashes when i start to connect.
The modem is being initialized, then "Modem is ready", then "Dialing *99#...".
I use the following initialization string: AT+cgdcont=1,"IP","Internet",""
System is ALTLinux 3.0 Sisyphus, kernel 2.6.18.
What I did wrong?
Hi,
Where can I find a list of AT modem commands for the HTC Wizard (a.k.a. Qtek 9100) ?
I would like to retrieve the cellid. The command "AT+CREG" returns "ERROR". I have found a list for HTC Hermes on this website, but they don't seem to be compatible.
Many thanks,
Niko
AT commands are standard, should be the same in all devices.
Make sure you are registered to the GSM network before you run AT+CREG.
This sequence should work on wizard too:
Code:
AT+CFUN=1
AT+CPIN=1234 <---- replace 1234 with your SIM PIN code
AT+CREG=2
Thanks for your help !
I tried it, doesn't work.
When I send "AT (enter)" I get an "OK" back.
When "AT+CFUN=1 (enter)" I get an "ERROR" back.
This is my test setup:
- on my windows xp notebook I run a program http://www.ircomm2k.de/ which connects my infrared (irda) port to COM8
- using Hyperterminal I connect to COM8 to manually type AT commands
- on my mobile device XDA Wizard (Qtek 9100) I use the program "Modem link" to connect "IrCOMM" (the infrared port) to the modem
My mobile device is connected to the GSM network. I can even send AT commands to call a number, that works.
Thanks again,
Niko
same problem here with HTC kaiser on mac OSX Leopard.
Did anybody solve this??