PC <--> Mobile Devive connection - Windows Mobile Development and Hacking General

Hi everyone,
I'm trying to develop 2 applications. Both will connect each other via USB ActiveSync connection.
Is it possible to send data between them over the ActiveSync connection? Does it anything to do with serial port communication?
Thanks in advance!

You may want to look at the RAPI specs.
http://msdn2.microsoft.com/en-us/library/aa458022.aspx
Or, if you need that in .NET look here: http://www.opennetcf.com/FreeSoftware/DesktopCommunication/tabid/90/Default.aspx
Cheers.

Thank you CmdKewin, I only need the native code link because I have to code the app in C++ language.

when conencted to the same network as with activesync
socket's should work ok

Related

Starting up GPRS connection

How can I programatically initiate a GPRS connection on an XDA (using EVB)?. I have a program which works when the connection is up (started using explorer) but fails when down. Would I do it using the TAPI?
Martin
I think you should have a look at the Connection Manager API.
I don't have any EVB sample code for you, but take a look at the PocketPC 2002 SDK sample CMHELPER usualy found at this path if you have eVC and the SDK installed:
C:\Windows CE Tools\wce300\Pocket PC 2002\samples\mfc\CMHELPER
BTW, you can download the SDK from www.pocketpc.com ...
here is the solution
I also was lookinf for this solution forever and never found it so i wrote the software myself. Here is the dll that you need to connect to the internet through evb it connects to the default connection no problems.
http://xdaconnect.wastedbrains.com
have fun,
Dan Mayer
Not knowing anything about C++, is there a simple way to open a GPRS connection with just eVB?
danmanmayer, can you send me the sources?
Or maybe somebody knows URL where can I found info about it?
Thanks in advance
SapphireRAS does all this and more.
Connects/Disconnects via GPRS using eVB or VB.Net
Create and manages connections, locations etc.
See www.sapphire-solutions.co.uk

RAS connection - how do I do it?

I want to make a connection to a server either via GPRS or via Activesync when cradled.
I used to use the API call RasDial on an old Windows CE 3.0 programme but this does not appear to make a connection under WM5 and fails to dial up a GPRS connection. It opens the port, etc but fails to dial.
Is there a simpler way to make a connection? Do I simply try to open a TCP/IP connection and the OS does it for me?
Any and all ideas appreciated!!
Dave...
Use Pocket PC connection manager API to make
a GPRS connection. That is the PPC way. RAS API
can be used but connection manager is better for
some things.
Houser
Houser said:
Use Pocket PC connection manager API to make
a GPRS connection. That is the PPC way. RAS API
can be used but connection manager is better for
some things.
Houser
Click to expand...
Click to collapse
Thanks. I found a sample of how to do this in the SDK so I will modify my code to use this instead and see if it all works.
Dave...

How to contact activesync and WM5 emulator

Hi all,
I'm currently running the Microsoft WM5 emulator. Works just like the actual PPC itself but the only thing is how do I connect it to activesync?? And also how do I transfer files from my pc to the WM5 in the emulator? Appreciate if someone could help me out here.. and also apologises if this is the wrong forum to post it in...
Thanks!
open 'device emulator' select the connected device and click 'cradle'
bye
And allow DMA connections in ActiveSync.
got it. thanks alot!

C# SerialPort - can't send data via (virtual) com-port

Hi!
I want to write a little remote software for my pda (HTC Prophet), with which i can control some things of my laptop.
My problem is, that i can't send data via the com-port from my pda to the laptop (it's a virtual com-port because they are connected via bluetooth).
I'm using Visual Studio 2005, OS is Windows Vista, PDA is a Windows Mobile 5!
Is there anybody that can help me with solving that problem? Which settings do I have to chose so that I can establish the connection via com-port? If necessary I can also post some code!
Greetings and thanks,
Nico
n2daico said:
i can't send data via the com-port from my pda to the laptop
Click to expand...
Click to collapse
What programming language (version of the NETCF) are you using?
Can't send as in?
- Can't create port?
- Exceptions thrown?
- Data sent but not received?
- Haven't written the code yet?
Not sure I'll be able to help, but a bit more info on the problem will help people to help you.
Gingercat.
-C# with .Net 2.0
-No exceptions
-Laptop receives no data (checked that with a com-port listener)
-I already have the code
concerning the bluetooth settings in vista:
-com-port 6 (incoming)
-can't set an outgoing port for the laptop on the pda (only for other paired mobile phones)
Do you need further information?
Greetings and thanks,
Nico
No ideas and hints?
Does the bluetooth stack on your laptop support the Serial Port service?
I think so! It's the Widcomm BT stack!
??
No other ideas or hints?
I need more information...so please help me

ActiveSync over GPRS - Programming Request

Guys,
i know im not that great of a programmer. But i was wondering if anyone can program the following setup? it would help A LOT of us newbies .
- Serial Port emulator for PocketPC.
a. Input has to be transfert from a serial port (for use with activesync) to the internet service (TCP) with a specific IP-adress and back.
- Serial Port emulator for PC.
a. The emulator needs to listen to a specific port for TCP connection requests. And forward everything to the emulated com-port and back.
I know there excist many serial emulators for the pc, but none with an TCP/IP server integraded.
For a visual display, take a look at the picture that is included.
This is a very interesting thing. It would just provide ActiveSync over ANY TCP/IP connection (so also WiFi and such).
The serial ports part can certainly be done (not that I looked into how difficult it is, but I know it is possible)
I am however still unclear in how doing this would enable ActiveSync to work. Sure I can connect the PC side to a COM port, but how would this work on the PPC side? If I look in ActiveSync there, I don't see an option to connect to a COM port. Maybe I am overlooking something.
There are several USB-over-IP solutions out there, would they help in achieving your goal?? although its not clear to me what your goal is...
Hope this is helpful,
Cheers!
nid

Categories

Resources