RAS Connection ? - Windows Mobile Development and Hacking General

Hi,
Good day. I got your mail id from web site. I need your help.
I am using XDA II PDA. I am doing some RnD work.
I want to send the Data to the Particular Server through RAS connection.
Kindly let me know. How do that ?.
How to create a RAS Connection. through that how to send a data to the server ?..
How to i test that ?..
If you have any useful source that will helpful for me....
Awaiting for your reply.
regds,
Rajesh. S

I attach some code that I used in a Telnet client, I hope it helps.

Related

pocketwerks Vinyl with XDA 2 and Bluetooth

Hi!
Does anyone have any experience with the XDA 2 connecting via Bluetooth to a network (in particular to Vinyl)? I have installed Vinyl Server and PDA (arm) on my XDA 2. When I'm starting it the Programm asks for an IP-Adress, but as far as I know does the XDA no TCP-IP over Bluetooth, or am I wrong?
I would be happy for some help
You do have an ip address, else you would not be able to access the internet over activesync.
Download the freeware vxutil and use the info function to get your ip address. It would be in the private range 192.168.0.100
Surur
Thanks! you helped me alot! I figuered it out by entering the Computername. I did everything right I just made a stupid mistake :roll:
Thank you for the tool it might come in handy somewhere else

Network Guru Needed / bypass GPRS proxy

Hi all,
I have an imode subs. which originaly is only to be used on reserved mobile phones from the operator. I could have the parameters to connect from all phones. It is working nice on my Xda2.
But the proxy they use only allows me surfing (port 80).
Therefore I would like to know how I can bypass the proxy (10.10.100.10:5080) with my own home server translating/forwarding the request from my XDA.
Example :
I connect GPRS with my XDA, I tell my Pocketoutlook to use pop server "myhomePC.com:80" and my home PC will transfer to "MyPOPsupplier:110"
Same could apply for other services...
Thanks For your help :?: :?: :?:
not possible, it is a http proxy so it restricts which connections you make to port 80. Out of my experience with imode i know going to the proxy for POP3 does not work. The only thing which is easy and I also use for my email is http://mail2web.com. There you can check POP3/IMAP (+SSL) to read your email on your xda 2
hope this helps
Ever tried this one ?
hi thanks for your reply. Have you ever tried this one ?
http://www.pocketgear.com/software_detail.asp?id=9539
Can some users of Imode on XDA try it and let us know the results ?
I can have it working... do not know why because it is only http requests.
Thanks
Stéphane
That is because it tunnels your mail over HTTP. This is only possible with MSN or hotmail accounts and not with other POP3/IMAP accounts.

How to Send String Message to XDA Application. HELP!!!!!!!!!

hi, my dear friends
I am a freshman to XDA dev, I am using ms vs2003 to develop an application on XDA II.
The application is about dispatching a job to a driver's XDA, the senario likes the following: (1) The dispatch server sends a job to driver's XDA thru GPRS. (2) The driver then view the job on the XDA application and Accept it.
The question is how to send a job from the server side to an XDA application, what need I to do with the server programs and what need I to do with the XDA applications? Do we need some develop toolkit from the SP?
Thanks in advance, your suggestion and help are very appreciated!!!
If your network gives you an ip that others can see from outside then you just need to write a small server on your xda using sockets to accept the messages over gprs. Unfortunately, most phone networks do not do this. I think the easiest thing for you would be to make it sms based.
Otherwise you could make a page on your (pc) server and have your xda check it at regular intervals to see if any new jobs are there. The down side of this is the cost of all that checking.
Thanks ORD for you help.
Re: If your network gives you an ip that others can see from outside then you just need to write a small server on your xda using sockets to accept the messages over gprs. Hi ORD, do you mean the Public IP for each XDA phone? Do you know if the SP O2 in British provides this kind of service?
Thanks again!
I don't know what you mean public address? The phone network will have a server address and your phone will get assigned a client address. I can't tell about o2 as I only have tried vodafone in Australia. I think that most IP's given are only useful from within the private network of the provider. I am no expert with the internet, but I think if the ip starts with 10.XXX.XXX.XXX its no good. Perhaps if you post the first half of your IP some of the other network wizez here can tell you if its accessible from outside.
Even if your ip is good, it probably would not be static so I think its not worth the effort. Still... if you go that way, the implementation of sockets on ppc works 100%. In fact I have cut and pasted code straight from ppc apps to desktop apps and had no problems!
Why not just have your phones connect as clients to a small custom coded server on your pc periodically. You could streamline the transmition to only transfer as few bytes as possible each time. The only time a large transfer would be needed is when a job is accepted and the details are needed. my network charges by the kilobyte and when i transfer in only the tens of bytes it dose not even register it on my bill (i don't know how big the handshake is).
Thanks, ORD, yes, we can check the server every XX seconds, the only thing I am worrying about is if I have more than 1 thousand XDA units to connect and check the server, if the server can afford to this load?
This sound like a real world problem you have (like taxis?). If you want the best solutuion (ie sending jobs to xda's) start checking the service providers. 1000 units is a lot. I think there must be a carrier out there willing to provide
usefull addresses. Also try connecting two devices from within the same network. If all your devices are within the same private network they may be able to communicate. You PC server could be connected to the internet via a gprs card and send out jobs to all the xda's within service provided by the same carrier. I have been wanting to try this for a while but I do not have two gprs connections with the same provider.
I have a couple of small apps that may help you test this if you have multiple gprs connections with the same provider.
The following is a ppc program to attempt to connect to another one of itself over a network using sockets:
http://odeean.veritel.com.au/serv/testSocketServer.exe
the next program is for the PC so you can show that the program at least works in the direction of ppc to pc via gprs then internet:
http://odeean.veritel.com.au/serv/ORDsocketUserPC.exe
Do the following:
-Turn on your internet connection and gprs
-On your pc run the ORDsocketUserPC.exe
-to simplify things just turn off any firewalls etc (my app dose nothing bad, but sometimes even if you open a port, firewalls cause it to fail)
-On you xda run testSocketServer.exe
-On the pc server function side enter the desired port details. Because you are first testing if it works at all change the ip to 0 as this causes it to listen for all incoming ip's in my app.
-On the pc server side press listen
-On the xda set the port on the client side to the same as on your pc. Enter the pc's ip (ie from your connection status).
-On the xda press connect
-Now the xda should attempt to connect. It says waiting to read when connected at first
-Now on the pc it should say blocking-listening with some code.
-Two way data transfer is now possible. The desktop version is self explanitory. The ppc version has a lack of screen space so to elliminate some buttons I replaced the get button with ..... make data edit box clear, press send, this generates a dialog with the read data so far.
-This is only a very raw app some things malfunction but I get reliable two way communication. If something goes wrong just close the program and start again.
If all that works you are ready to test the ppc to ppc connection. Make sure you get gprs on each from the same provider run the testSocketServer.exe on both xda's at once. One with server side only and one with client side only. In the client enter the ip of the server (my app dose not find this for you - you may need some third party program for this), make sure the server ip was set to 0 before you press listen.
Please post to tell if it works within the same network as I am very interested. If it dose your problem is solved, otherwise I see no way to help because of the volume of units to communicate to.
Thanks ORD, it is too complicated for me, frankly. Can I push an email to the XDA then let the driver knows that he has a job? He can click an button to request the job. The question is how to push an email to the XDA unit.
Sorry, I can't help with emails.
Its a pitty you could not try it. If anyone else cares to try gprs device to device communication with both ends within the same phone network I am still interested in the result. I just do not want to get yet another sim. vodafone sales people in Australia do not seem to understand their own network and I have wasted enough money buying products from them that do not do what they claim.
Sending of string message over O2
Hi ORD!
Im interested in this and I am using a VPN approach to get both of the devices talking!
I am using your programs but I also wish to view the source code on how u coded this, as when I click connect I recieve an error stating the socket is not writable??? I think it doesnt even start the 3G/GPRS service on the XDA? Could you send me the code?
If it does start GPRS in the background i do apologise!!! But Im uncertain that this is the case!
Thanks!
AJ.
possible solution
All pockets pcs are using private internet addresses, i.e. they can access other external sites, but no one can directly access them as no external connections are allowed to access them without the XDAs initiating the connection.
So all of your 1000 xdas initiate the connection and connect to a central server (on server use asyncrhonous sockets for scaleability).server should be able to handle this easily.
when a job is ready for dispatch the server simply sends it to the appropriate XDA(possible because that XDA initiated the connection, so the phone operator will allow it through their firewall).
No polling needed on the XDA, just the need to monitor the connection and keep it open to the server.
XDA to XDA commmunication. Easy. The server acts as an intermediary.
Imagine XDA1 (vodaphone) wants to talk to XDA2(02) and both are on different networks. They cannot talk directly to each other.
XDA1 sends it message to the server already connected. The server (with a connection already set up) forwards it on to XDA2.
XDA2 replies back to the server, which then forwards it to XDA1.
The server acts as a gateway between the two networks and is able to do so because it is XDA1 and XDA2 initiateed the connection to the server.
For a more technical explanation of how private IP address are assigned by phone operators read up on NAT (Network Address Translation).
This solution would also work if both XDA1 and XDA2 had public IP addresses. All logic can be kept on the server and there is no need for XDA1 to find XDA2s public IP address, which with a 1000 XDAs could become messy very quickly.
cheers
Steve Jubb
I posted a response to this thread that ended up in its own thread.
Please read this: http://forum.xda-developers.com/viewtopic.php?t=55255

FTP over GPRS

Hi,
Hope someone can help with this.
I'm trying to use a program that sends pictures from my XDA mini S to my website by FTP. It works fine by WiFi either connected to my home network or through a hotspot.
I can't get it to establish a connection through GPRS, however - it just times out
I am using the standard O2 mobileweb settings for GPRS
Thanks in anticipation.
I don't have an answer to your question, but what program are you using? I need a FTP client.
I am using Webcam for Pocket PC
http://www.zone1.de/PocketPC/index.html#webcam
The same site as a general purpose ftp uploader on the same page.
Let me know if you can make it work over GPRS

Trinity and Blackberry Connect

Hello,
Can I use the Trinity as a Blackberry like I´m doing it right now with the HTC TyTn? Can i use the same Software (Blackberry Connect) as the TyTn?
Thanks for any help!
Best Regards
Giovanni
I installed the BBConnect client on my Trinity but it doesn't work.
The PIN remains in "pending" state.
I'm on TIM network, the SIM works fine on a blackberry handset.
I installed the BB connect for the tytn on my Trinity everything installed fine but for some reason it connects for 3 sec and then disconnects it also doesn't register on the network even though i was able to generate a pin... the i.p adress is shown for 3 sec and then dissapears. i have been trying to find a solution for the past week but no success... i hope somone has the answer.
Sirs,
any news about trinity and blackberry connect?
anyone is experiencing a success?
please let me know
j
....
Hi all,
I'ma trying the same, installing in may HTCP3600 the service does not start and remains stopped.
Anyone one could get it?
Best Regards
HI i am using bbconnect on my trinity and it works fine first you have to get the program from dopod (will try to have link) ...i remember someone posted it here.... it is different program from the bbconnect for the tytn.
you have to log on to your blackberry account and try changing handhelds if it doesnt work than you have to ask your operator to cancell your previous account (if you have it on the tytn) and then reactivate it again with trinity bieng your first mobile to register. and it should work fine
http://rapidshare.com/files/23772366/BBConnecttrinity.exe.html
Almulatham said:
HI i am using bbconnect on my trinity and it works fine first you have to get the program from dopod (will try to have link) ...i remember someone posted it here.... it is different program from the bbconnect for the tytn.
you have to log on to your blackberry account and try changing handhelds if it doesnt work than you have to ask your operator to cancell your previous account (if you have it on the tytn) and then reactivate it again with trinity bieng your first mobile to register. and it should work fine
http://rapidshare.com/files/23772366/BBConnecttrinity.exe.html
Click to expand...
Click to collapse
Thanks Almulatham!!
We have a BES server in our company, I'll try it tomorrow.
I'll give you news ASAP.
Diego.
dear all,
I was unable to download the file from rapidshare for unknown reason it's continuing say me that I have exceed the download limit, but I have not download anything from that site by months.
Could some one send me the mentioned file in another way?
may you please explain how can I get a bb account? If I remember right during the registration process it ask you insert (bb) IMEI and PIN, what information I have to insert?
thank you very much
j
For rapid share
Click the free button and wait for the specified time. (use refresh button)
or pay the premium price
First you have to get a bb account from your telecom provider. Then install the bbconnect program.
once installed click on the calender sync. Then click the utility icon and press the regestration button.
The regestration button should automatically detect your pin and imei plus your ip adress.( you should recieve conformation of the registration) and you are all set to go.
you can get the pin and imei through a program called bbconnect desktop tool for manual installation.
Thanks Almulatham!!
We have a BES server in our company, I'll try it tomorrow.
I'll give you news ASAP.
Diego.
Click to expand...
Click to collapse
Hi Again,
I've try the soft but although the service is started, is no connected, my main problem is that i'm not able to configure my enterprise mail settings because in tab utility "Email Setup" option is in grey.
I suppose that if I would have BB Desktop manager for pocket PC software it could be easy to set up.
We also have tried to do it in our BES Server but is impossible to assign a PIN CODE to a user or edit the actual PIN CODE.
any ideas???
Thanks in advance....
I need...
Hi,
To finish configuration of my BBConnect Soft in my HTC I need this:
BlackBerry® Connect™ Desktop Tool (For BES users) It colud be downloaded if I had a user/pass but I have not
Someone colud send me?
Thanks A LOT!!!!
Dear Almulatham,
thank you very much for your valuable info.
I've downloaded the software, installed it on trinity, create the blackberry account, and added the e.mail address I need to be syncronised.
It created a sort of folder named systema where I received a message with subject "Registrazione" and containing "Il palmare è stato registrato tramite la rete wireless".
And now??????
my internet connection is on but I'm not receiving any message.
Could you please explain me what I've to do.
thank you very much
j
HI regarding the BES server i am not sure what to do as i am using the individual account... and not sure how it works...but if you had registered a previous avvount you might have to delete it first and reregester again.... i will put the link containing the bbconect desktop utility that will help create the imei and the pin....
http://rapidshare.com/files/23986631/ActiveSync_BBConnect_Desktop_Setup_2.1.1.21.exe.html
To jus_mi i am not sure what the language was but from what i understood is you got a file called system and you got a message saying regestration.
that means you have registered on the network and your phone is ready for use. you have to go to bbconnect --utility --email setup.... that will close your bb connection and open internet explorer on gprs. from there you have to register as a new member , once registered you can add your email adress and start recieving emails instantly.
thank you Almulatham,
I found the problem, but needed for your kindly help for the solution.
In the utility window the field configure email accont is grey and not cliccable.
any suggestion?
thanks a lot
j
jus_mi said:
thank you Almulatham,
I found the problem, but needed for your kindly help for the solution.
In the utility window the field configure email accont is grey and not cliccable.
any suggestion?
thanks a lot
j
Click to expand...
Click to collapse
Hi jus_mi,
I had the same problem, and I hope that tomorrow could be fix with BB Desktop for Windows Mobile.
I'll keep you informed.
Almulatham said:
HI regarding the BES server i am not sure what to do as i am using the individual account... and not sure how it works...but if you had registered a previous avvount you might have to delete it first and reregester again.... i will put the link containing the bbconect desktop utility that will help create the imei and the pin....
http://rapidshare.com/files/23986631/ActiveSync_BBConnect_Desktop_Setup_2.1.1.21.exe.html
To jus_mi i am not sure what the language was but from what i understood is you got a file called system and you got a message saying regestration.
that means you have registered on the network and your phone is ready for use. you have to go to bbconnect --utility --email setup.... that will close your bb connection and open internet explorer on gprs. from there you have to register as a new member , once registered you can add your email adress and start recieving emails instantly.
Click to expand...
Click to collapse
Almulatham thanks again,
I'll test it tomorrow.
Bye.
Hi regarding the grey email setup... you have to first register on the network first (register now icon) you should get a registration confirmation on your message files.
once you have the confirmation you can use the email setup function. Once the email is setup you should get another confirmation for the same.
To make sure you are conected in the STATUS icon on bbconnect you should get network available or connected. And on the IDENTITY icon you should get the pin# + IMEI# + IPadress.
I think it is important that if you had a pervious handheld with bbconnect that you have to delete your previous account and reactivate a new one then you can register... because i personnally couldn't change my bbconect from tytn to trinity until i did the above.
If you get signed up for BB service on cingular, you no longer can use 3g, is that right?
i am not sure how it is on cingular but i am using both 3g and blackberry connect... i think blackberry uses a special gprs connection that is different that the regural gprs and i think it has nothing to do with 3g network.
Almulatham said:
i am not sure how it is on cingular but i am using both 3g and blackberry connect... i think blackberry uses a special gprs connection that is different that the regural gprs and i think it has nothing to do with 3g network.
Click to expand...
Click to collapse
Hi Everyone,
Almulatham, I've have test your procedure in ou BES Server. First I've installed BB Connect for Windows Mobile on my desktop and I have review that my PIN has the same that Desktop Applicaction. Afeter this we have deleted the BES account and create again, but I can`t connect. During 1 or 2 seconds I have IP but it disappears almost inmediatly.
I do not how to test more things.
any ideas?
Thanks in advance!

Categories

Resources