Re: Detecting a USB connection is made - How does ActiveSync do it??
From: Bruce Eitman \(eMVP\) (beitmannospam_at_nospam.neo.rr.com)
Date: 05/30/04
- Next message: Chris Tacke, eMVP: "Re: screensaver ?"
- Previous message: Chris Tacke, eMVP: "Re: Low Power Mode & Wake-Up Timer"
- In reply to: Nick Farina: "Detecting a USB connection is made - How does ActiveSync do it??"
- Next in thread: Nick: "Re: Detecting a USB connection is made - How does ActiveSync do it??"
- Reply: Nick: "Re: Detecting a USB connection is made - How does ActiveSync do it??"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 30 May 2004 11:34:56 -0400
When the HARDWARE connection between the PPC and Desktop is established,
ActiveSync on the desktop send a packet to the PPC, the device driver sees
the packet and signals the NOTIFICATION_EVENT_RS232_DETECTED event. When
that event occurs, a database entry is read which indicates which EXE to
start. By default it is set to start repllog.exe. You could change this to
be your app. You will of course need to do the work on the desktop to
replace ActiveSync. When you do that, you will no longer rely on ActiveSync
to make everything happen.
Remember that to implement a protocol, *you* must do everything yourself
start to finish. Can't just leave things to chance. If it were easy,
everyone would replace ActiveSync.
-- Bruce Eitman (eMVP) Senior Engineer
- Next message: Chris Tacke, eMVP: "Re: screensaver ?"
- Previous message: Chris Tacke, eMVP: "Re: Low Power Mode & Wake-Up Timer"
- In reply to: Nick Farina: "Detecting a USB connection is made - How does ActiveSync do it??"
- Next in thread: Nick: "Re: Detecting a USB connection is made - How does ActiveSync do it??"
- Reply: Nick: "Re: Detecting a USB connection is made - How does ActiveSync do it??"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|