Hi Jeffry,

Thanks for the reply.
Can you please explain the details given in the below mail. I could not
follow it. 

Thanks and regards,
Praveen

----- Original Message ----- 
From: "Jeffry Loucks" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, June 30, 2004 1:28 AM
Subject: RE: How to know the details of cradle connection and detaching


> Okay, details, details.
> 
> So, technically the dock status is a 16 bit (UInt16) value, but is cast
to a
> (void*) and is passed as notifyDetailsP. Take note that the value passed
> reflects what was valid at the time of attach/detach, and not the current
> status. Such details as external power and charging are not known until a
> short time after attach/detach.
> 
> To determine current dock status, try:
> 
> UInt16 HwrDockStatus(void) SYS_TRAP(sysTrapHwrDockStatus);
> 
> --------------------
> Jeff Loucks
> Work 425-284-1128 [EMAIL PROTECTED]
> Mobile 253-691-8812 [EMAIL PROTECTED]
> Home 253-851-8908 [EMAIL PROTECTED]
>  
> 
> -----Original Message-----
> From: Jeffry Loucks [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 29, 2004 12:24 PM
> To: Palm Developer Forum
> Subject: RE: How to know the details of cradle connection and detaching
> 
> Oh yes, and notifyDetailsP doesn't point to a UInt16 status like the
> documentation says. It's to be used directly as a UInt32 status value.
> 
> --------------------
> Jeff Loucks
> Work 425-284-1128 [EMAIL PROTECTED]
> Mobile 253-691-8812 [EMAIL PROTECTED]
> Home 253-851-8908 [EMAIL PROTECTED]
>  
> 
> -----Original Message-----
> From: Jeffry Loucks [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 29, 2004 11:19 AM
> To: Palm Developer Forum
> Subject: RE: How to know the details of cradle connection and detaching
> 
> Try these numbers and see if they make sense:
> 
> 0x0000 // nothing
> 0x0001 // some type of modem
> 0x0002 // some type of dock
> 0x0004 // using some type of external power source
> 0x0008 // internal power cells are recharging
> 0x0010 // USB hardware
> 0x0020 // USB Peripheral
> 0x0040 // RS232 Peripheral
> 0x0080 // Mfg cradle
> 
> --------------------
> Jeff Loucks
> Work 425-284-1128 [EMAIL PROTECTED]
> Mobile 253-691-8812 [EMAIL PROTECTED]
> Home 253-851-8908 [EMAIL PROTECTED]
>  
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 29, 2004 3:09 AM
> To: Palm Developer Forum
> Subject: How to know the details of cradle connection and detaching
> 
> Hi All,
>  
> The sysExternalConnectorAttachEvent is broadcast when a USB cradle, RS-232
> cradle or peripheral, a power cable, or a modem is attached to the
> universal connector. This notification is broadcast only on devices that
> have the universal connector. The notifyDetailsP field points to a UInt16
> that identifies which type of device was attached. 
> How to know the details of cradle connection and detaching. we need the
> corresponding value in notifyDetailsP. Is there any header that tells
about
> this value?
>  
> Thanks in advance
> -Praveen
>  
> 
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
> 

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to