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
- Next message: Chris Tacke, eMVP: "Re: Low Power Mode & Wake-Up Timer"
- Previous message: Nick Farina: "Detecting a USB connection is made - How does ActiveSync do it??"
- In reply to: Nick Farina: "Detecting a USB connection is made - How does ActiveSync do it??"
- Next in thread: Bruce Eitman \(eMVP\): "Re: Detecting a USB connection is made - How does ActiveSync do it??"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Chris Tacke, eMVP: "Re: Low Power Mode & Wake-Up Timer"
- Previous message: Nick Farina: "Detecting a USB connection is made - How does ActiveSync do it??"
- In reply to: Nick Farina: "Detecting a USB connection is made - How does ActiveSync do it??"
- Next in thread: Bruce Eitman \(eMVP\): "Re: Detecting a USB connection is made - How does ActiveSync do it??"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|