Is it possible to establish a device-to-device GPRS connection?
I would like to send some commands from one device to another, something like telnet. Can any one give me a tip for doing this?
Thanks
The topic bellow covers the same ground
http://forum.xda-developers.com/viewtopic.php?t=43426
Related
My project for this morning was to get my month-old XDA2 working as a wireless modem for my laptop with irDA. "How hard can it be?" I thought.
Well...
Needless to say, there are no instructions (yet) on the O2 UK website, so I've hunted around.
I've found these links:
http://bugjr.com/jon/gprs.html for general guidelines
A link from this page giving similar instructions
This hidden PDF from O2 UK for the XDA, also confirming similar instructions
Everything seems to be going OK. My laptop knows the XDA2 is there and can query the modem just fine. When I try to connect, though, the dial-up connection process starts, then ends a second later with a dialog saying:
"Error 692: There was a hardware failure in the modem (or other connecting device)"
I'm sure this isn't a hardware problem. Can anyone point me to the solution for this?
My connection is dialling number *99#
My modem init command string is AT+CGDCONT=1,"IP","MOBILE.O2.CO.UK" (and I've tried AT+CGDCONT=1,"IP","MOBILE.O2.CO.UK","",0,0 too)
User name is O2Web and password is password, as required in the O2 PDF link above.
TIA
Anyone?
Obviously my topic title isn't pushing anyone's buttons around here...
[Note to self: make sure next title mentions Paris Hilton :wink: ]
It seems that I found the same info as you, but I can't get it working either.
I have had the same error as you, and also one that says the port is in use. In the end I gave up
I have since moved to the widcomm stack, as it was painfull to sync with the MS one and more than one PC.
The new stack has dialup networking in it, but though I can connect to it, it doesn't seem to go anywhere. I am also not sure about the wmodem app on the XDA. It seems to talk directly to RIL1. I don't know but it seems to use AT comands talking to RIL1... There should be some way to link this up with the BT stack?
So I can't get it working either way....
If anyone has any info, then that would be great.
I know this post is old but i had that problem and after searching a lot, finally i solved it by myself.
go to device manager, modems, on your modem or mobile modem right click and click properties. now go to "advanced" tab now that field of extra initialization commands must be clear, if not, clear it.
now you can connect without "error 692"
when i end a call on my bluetooth headset the phone comes back on, is there a way to stop it from coming on. also does anyone know where i can find a good app for remote desktop OVER 3G. thanks
do a search youll find the WM6 rdp client i would find a link but im a bit busy right now
http://forum.xda-developers.com/showthread.php?t=298594&highlight=windows+vista+on+athena
i have download it and tried it but it does not let me enter in a port number, and i have more than 1 computer on my home network. the error message i get is "cannot connect. likely reasons are: 1.specified computer name or ip does not exitst. 2.a network error occurred while establishing the connection.
so i am not really sure what to do next. i tried a vnc client but i can make the screen small enough
thanks in advance
Is there a kind of utility that if a connection is required, asks user how to connect? Something like there use to be on a PC, when You start IE? I don't remember which version of IE/Windows it was but it looks something like this - http://support.bee.net/dial/email/outlook6.gif
The problem is, selecting manually how to connect is very much pain in the ass, I am wondering that if there isn't a software already written for this, why is that. It would be a simple yet very usable - You start IE for example, and the phone asks you how to connect, via WLAN or GPRS or whatever. OR maybe even over BT if You have a BT device for connection over PC or smth.
The second option would be to prioritize the connection list - like tell the PDA that first try WLAN, if it fails then try GPRS etc.
The third option would be somehow to use MortScript for this. It's still better than going to Connection Manager through tens of taps.
Been searching the forums. Looked through at least all threads' titles under networking. But no solution so far.
Any ideas? I would appreciate any help. And still wondering why someone hasn't already solved this... Maybe they have, but cannot find it then
So nobody has ever heard of anything like this? Would there be an enthusiast who would program such utility? It would not be a major application...
How do you manually choose connection?
I have HTC Diamond with Windows Mobile 6. I connect it to my work computer to synchronise with Outlook but I want to use my 3G (or GPRS) connection for internet. What should I do?
i really dislike the way the WM6 autoamatically chooses GPRS has its first connection type.. but then if WIFI is turned off it has no choice
An option to possible enable Wifi rather than GPRS would be nice
Windows mobile's connection manager is horrible. I suspect the group assigned to WM networking at microsoft had little (or no) prior experience and didn't really understand how IP routing, interface stacking, etc. works.
We sorely need some kind of end-to-end communications manager that is aware of all network devices (GPRS, CF wireless/ethernet cards, onboard wireless, bluetooth, USB, etc) and virtual devices (all forms of VPN), and how they interoperate. Something that allows editing of routing rules, per-connection DNS servers, gateway priorities, preferred devices, timeouts, connection persistence, etc.
Worry about things like "dial-on-demand" after the basics are covered.
Today it's virtually impossible to keep a WM device on a VPN connection and even harder when you've got phone calls and wifi to deal with. I have my activesync configured through a PPTP VPN and at least 5 times a day it loses its connection and requires me to manually press "sync." Sometimes that doesn't even work, requiring a reboot. Usually there will be some vague and unhelpful error message like "waiting for network" or "could not connect for an unknown reason."
In fact while I'm on a bit of a rant, is anyone else infuriated by error messages like that?
Obviously there was an error - you don't need to tell the user that. If there was no error, you'd be connected! What is the purpose of telling the user there was an error? There is always an "error" unless there is success. TELL THE USER WHAT THE ERROR WAS. Anything else is useless and frustrating.
The device should also absolutely freak out if it ever loses any connection. If the phone loses anything.. the GSM signal, activesync's connection to the exchange server, the VPN... it should beep, vibrate, flash, and refuse to do anything (sleep, power off, etc) until either one of two conditions is true:
1. The error is no longer present (the phone was able to reestablish the connection), or
2. The user has acknowledged and dismissed the error.
It should never be the case that the phone is disconnected and not attempting to reconnect, unless the user chooses that mode of operation. Anything else leads to lost email, missed meetings, and high blood pressure.
Ugh.
Anyway, I think there's a lot of money to be made by a company that can put together a properly functioning WM connection management system. I'm still looking...
This might help, I've not tried it yet but it looks promising....
http://www.iaccarino.de/silvio/ppcstuff.htm#MobileProfiler
That is a much needed program. WM 6.1 does an awful job with GPRS, WiFi,
Phone, etc.
Thanks joemanb, somehow I missed Your reply. But this isn't exactly what I'm looking for. But thanks anyway. I understand that this proggy would be very useful for many people but I don't understand why somebody with programming skills doesn't want to do it...
I have the very same problem.
I have both symbian and WM phones.
Nokia have had this right since my 9500 when you check email or go on the Internet it prompts you for the connection to use. I got a Imate-Kjam and was shocked that it did not do this. It was subsequently replaced with a E90 that still does it the right way and very well. I just got a Samsung SGH-i780 and it is great but it still has no Idea of how to connect to the Internet the way I would like. having 3g makes it less of a problem as I simply don't use the wi-fi but this bugs me that I can't.
All they need to do is have the phone prompt you when you open a Internet app for the connection to use. How hard can that be to realize ?
Bump bump bump
Um... Bump?
Come on developers, You cannot say You don't miss something like that already...
Bandswitch
I hope too in the developers. While waiting I found "Bandswitch" which make something similar...
http://www.freewarepocketpc.net/ppc-download-bandswitch-v1-2-3.html
Disable GPRS connections
Try this. Works fine on my Herald/P4350.
http://www.modaco.com/content/pocket-pc-software/246171/new-free-utility/
Thanks for the suggestions but as far as I can tell, these apps only handle mobile data connections and now Wi-Fi. You can easily disable GPRS by creating a fake GPRS connection with no real access point. That is not what I am trying to accomplish here. But thanks anyway.
Dear all,
I am developing an application that controlls different
network possibillities. This means it has to be able to turn cradle
communication, wlan and gprs on and off. One by one or all at the same
time. This all works fine, except for one major problem.
I need to detect if a RAS ppp connection has been lost, so I can
redial it in the background. I used the RAS function
"RasGetConnectState", but this keeps returning "Connected", even if
the handheld is wrapped in 5 cm of aluminium foil. Offcourse, this
isn't right. I hoped there would be a tapi event when the connection
is lost, but these events only fire when the connection is explicitly
made or broken. So no luck here also. I can't use any function that
checks if a network is still alive, because there are situations where
wlan, cradle and gprs could be alive at the same time. So these
functions can return true, even when gprs is turned off.
I heard something about the RIL, but haven't been able to develop it
or test it yet. I really hope anyone has some groundbreaking ideas,
cause I'm really running out.
Maybe some Einstein could help me out
here, thank you.
Kind Regards,
Peter
Hello there. I was wondering if there's a way to inquire the phone in order to determine what connection type is active at that specific moment (3G/EDGE/GPRS).
Thanks in advance.
I search the same thing if anyone know how to i'm interested.
Bye
Using the class Microsoft.WindowsMobile.Status.SystemState you have access to CellularSystemConnectedEdge, Gprs, etc. and WiFiStateConnected. To get notified about changes create an instance of SystemState with the desired property as argument and add the changed event.
Wow, thanks. I got so much more than I bargained for within that class.
If I could upvote you, I would.
Hello!
Is there a way to determine, which connection interface is used for a specific connection? If my TCP connection was established, using GPRS and I switch on WLAN, then it will be kept alive on GPRS until a reconnection.
I currently use ConnMgrQueryDetailedStatus but it returns strange results - tells me, that I use GPRS when the connection is established in WLAN.
I need to get the connection type for changing the ping-durations and data volume depending on the connection channel.
Maybe someone of you has the answer - I would be happy about it
Thanks
/Daniel