FIX: Multiple disconnect messages are sent when an RFCOMM connection is closed in Windows Embedded CE 6.0 R3


Consider the following scenario:
  • You have a local Windows Embedded CE 6.0 R3-based device that connects to a remote device through Bluetooth.
  • You run an application on the local device that creates a Serial Cable Emulation Protocol (RFCOMM) connection between the two devices by using Windows Sockets (Winsock).
  • The remote device runs an application that keeps sending data to the local device through the RFCOMM connection.
  • The application on the local device closes the connection when the local device is receiving data from the remote device.

In this scenario, the local device may send multiple disconnect messages to the remote device. Additionally, all existing RFCOMM connections on the local device are disconnected.


Software update information

A supported software update is now available from Microsoft as Windows Embedded CE 6.0 Monthly Update August 2012. In the "File information" section, the package file name contains the product version, the date, the Microsoft Knowledge Base article number, and the processor type. The package file name format is as follows:
Product version-yymmdd-kbnnnnnn-processor type
For example, Wincepb60-110128-kb2492159-armv4i.msi is the ARMV4i Windows Embedded CE 6.0 Platform Builder fix that is documented in Knowledge Base article 2492159 and that is contained in the January 2011 monthly update.

To resolve this problem immediately, download this Windows Embedded CE 6.0 monthly update from the following Microsoft website.

Microsoft Download Center


This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Files that are included in this update package
File nameFile sizeDateTimePath

More Information

By default, this fix is enabled to prevent multiple disconnect messages. To restore the previous behavior of multiple disconnect messages, you must add the following value to the registry:
Registry keyDWORD nameDWORD value
Note By default, this key is not present in the registry.


For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Article ID: 2708132 - Last Review: Sep 10, 2012 - Revision: 1

Windows Embedded CE 6.0 R3