2.4.1 Widcomm Multi-Stack support

Rating: No reviews yet
Downloads: 762
Released: Dec 12, 2009
Updated: Dec 14, 2009 by alanjmcf
Dev status: Alpha Help Icon

Recommended Download

Application 2.4.1 v2 win32 x86 MultiStack.zip
application, 29K, uploaded Dec 13, 2009 - 490 downloads

Other Available Downloads

Application 2.4.1 v3 win32 x86 MultiStack.zip
application, 30K, uploaded Dec 13, 2009 - 272 downloads

Release Notes

UPDATE Dec-14th: The new version requires a later version of the special VC++ runtime files than 2.4 required. If your machine hasn't got them, install vcredist.exe from “Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update” http://www.microsoft.com/downloads/details.aspx?familyid=766a6af7-ec73-40ff-b072-9112bab119c2&displaylang=en. There's more information at http://32feetnetdev.wordpress.com/2009/12/14/new-widcomm-dependency/. v3 uses the same Widcomm dependency as 2.4 (btwapi.dll), v2 uses a dependency that should always be present on a Widcomm install (wbtapi.dll).

UPDATE Dec-13th: The original file was not valid, please use the 'v2' version uploaded today. Sorry for any inconvenience. (The original was DEBUG build and thus required special VC++ runtime files, the new one is RELEASE like the one in 2.4).

As many of you have discovered, the Widcomm support in 2.4 cannot be used on Win32 if the Microsoft Bluetooth stack is also active (installed and a dongle present). This is due a bug/feature in the recent Widcomm SDK.

This release fixes this problem, now both stacks can be used on the same PC, and even in the same program -- use btRadio.StackFactory.CreateBluetoothClient() etc. See below for the configuration setting required to enable this support.

The support here has been compiled with the older Widcomm SDK so that multi-stack support works. This consists of one file, 32feetWidcomm.dll. Use it instead of the version from the 2.4 (beta) release. See more information at http://32feetnetdev.wordpress.com/2009/12/12/working-multi-stack-widcommmicrosoft/

Please let me have your feedback.

To tell the library to load multiple stacks an .exe.config file is required, see the example below (More discussion at the end of blog http://32feetnetdev.wordpress.com/2009/07/28/widcomm-and-microsoft-together/).

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <sectionGroup name="InTheHand.Net.Personal">
      <section name="BluetoothFactory"
          type="InTheHand.Net.Bluetooth.BluetoothFactorySection, InTheHand.Net.Personal"
          requirePermission="false" />
    </sectionGroup>
  </configSections>
  <!-- -->
  <InTheHand.Net.Personal>
    <BluetoothFactory reportAllErrors="false" oneStackOnly="false" >
    </BluetoothFactory>
  </InTheHand.Net.Personal>
</configuration>

Set reportAllErrors to diagnose problems if fewer that expected stacks are loaded.

Reviews for this release

No reviews yet for this release.