Re: Detecting a USB connection is made - How does ActiveSync do it??

From: Chris Tacke, eMVP (ctacke[at]Open_NET_CF[dot]org)
Date: 05/30/04


Date: Sun, 30 May 2004 00:05:23 -0400

You need to grab the hardware interrupt that occurs on connection.
ActiveSync works because the OEM wrote the OAL to specifically launch when
that occurs.

-Chris

"Nick Farina" <spamhoe@yahoo.com> wrote in message
news:e15920a8.0405291950.47a0d46b@posting.google.com...
> I am building a USB communication protocol between a PocketPC and the
> desktop. For this project I cannot use ActiveSync. I can
> successfully send and receive data over raw USB serial comms (still
> having problems with that, but it works).
>
> However, I cannot determine the appropriate time to open the USB port
> on the PocketPC. I have signed up for
> NOTIFICATION_EVENT_RS232_DETECTED, but it only seems to work when
> ActiveSync is running on the desktop, which I can't have because it
> steals the connection.
>
> How else can I figure out when the USB cable is attached? How does
> ActiveSync do it??
>
> -nick



Relevant Pages

  • Re: ActiveSync 3.8 cannot connect to iPAQ.
    ... I noticed that ActiveSync kept saying ... I had an IOGear USB PDA/Serial Adapter that I had purchased by error a few ... setup a connection with this computer. ... Did you perform any new updates or install new software prior to this ...
    (microsoft.public.pocketpc.activesync)
  • Found fix for Acitvesynce Connect
    ... For those having problems with Activesynce making the initial connection ... after installing software. ... The USB Device manager shows Windows CE USB device ... but Activesync 3.7.1 is not connecting to the device. ...
    (microsoft.public.pocketpc.activesync)
  • Re: USB ActiveSync Connection Not Working
    ... After months of trouble-free operation with ActiveSync 3.8, ... When I set my PDA, ... But then the connection is seemingly ... PC Synchronization Options are set on the PPC to sync using a USB ...
    (microsoft.public.pocketpc.activesync)
  • Re: TCP/IP over USB
    ... it is serial over USB. ... no instrument no spam DOT com> wrote: ... Use the ActiveSync connection and ... is work around the fact that ActiveSync is dropping the WiFi ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: TCP/IP over USB
    ... that the USB connection will emulate and try to communicate with the devices ... connect them up to the PC and look in ActiveSync and see what ... communicate that way with a serial port program on the device. ... leaving the USB RNDIS driver for the mobile device installed. ...
    (microsoft.public.windowsce.embedded.vc)