This project has moved. For the latest updates, please go here.

"An invalid argument was supplied" - BlueToothRemoteListener sample

Topics: Samples
Feb 14, 2012 at 12:06 PM

Hi Guys,

Bluetooth listener throws an exception when activating Start method.

I have seen others with the same problem, but without any solution...

Can you help ? with most of the guy's it was on a 64bit machine, while i have a win7 ultimate 32bit (i tried to run the sample out of the box and failed).

I work with VS2010 with the current version (3.3 i assume) of the 32Feet Bluetooth library for C# (.Net 4.0).

Another question: i need to provide a service Guid when i instanciate the Bluetooth listener object, does that Guid has anything to do with the bluetooth device

guid, or can i just supply some bogus Guid that VS2010 gave me ? that issue is not at all clear.

Thank you,

Yossi.

Developer
Feb 15, 2012 at 8:50 AM

Can you run the BluetoothChat2 sample and see what it reports.

For the UUID question see http://32feet.codeplex.com/wikipage?title=Bluetooth%20Server-side&referringTitle=Documentation  So yes (have VS) create a brand new unique UUID.Guid.

 

http://32feet.codeplex.com/wikipage?title=Sample%20programs