INFO
Applies To:
ITScriptNet V3
When a device is using ActiveSync over a USB connection, and the USB connection is removed, the device still indicates a connection is active for up to a minute. When this happens, attempts to communicate with the OMNI server can take excessively long to timeout.
DETAILS
Detection of the USB ActiveSync connection is a relatively low priority task in Windows CE / Windows Mobile, so it can take a while for the device to detect the change of connection state. This is a limitation in the design of Windows CE / Windows Mobile, and there does not appear to be any way to change this behavior. You can use the GetPowerStatus function to verify that the device is being powered before attempting a connection to the OMNI Server to try to prevent long timeouts.
This article last updated:
1/30/2009 12:59:29 PM