locked
Developing for Bluetooth Low Energy (BLE) in C# windows 8.1 RRS feed

  • Question

  • Hello, 

     I've looked all over the web, but I cannot find any good working projects for connecting a PC to a BLE device.

    Everyone talks about developing BLE for Anroid and iOS, but how does one develop for Windows in C# (.NET)?

    I've found this http://code.msdn.microsoft.com/windowsapps/Bluetooth-Generic-5a99ef95

    from

    http://social.msdn.microsoft.com/Forums/windowsapps/en-US/2f236b71-a6ac-4c42-aef3-723c3691cbf8/how-to-discover-connectdisconnect-and-reconnect-to-bluetooth-low-energy-device-from-windows-81?forum=wdk

    I've tried the C# example, but I don't have any devices with health profiles (and I don't know how to set searching for a generic device). I did try modifying the code on the run button routine (RunButton_Click) to scan for "GenericAttributes" - but it didn't help nothing ever got detected.

    I have a sensor tag (CC2541) and also a generic BLE HM-10 module useful for arduino projects. My iPhone can find both of these devices using the SensorTag or LightBlue application .

    I also found this http://www.orcs.sebsoft.com/index.php/79-vision/72-how-to-acquire-data-by-c-from-bluetooth-4-bluetooth-low-energy-ti-ble-keyfob-ti-sensor-tag

    I tried starting it up and scanning, but it didn't find any BLE devices. 

    There seems to be a lack of helpful documentation on connecting with BLE. I'm really surprised by Microsoft.

    I have a BT 4.0 dongle, and I can see Microsoft Bluetooth LE Enumerator in device manager

    Many Thanks,



    2010: Q6700 3GHz; 6GB DDRII; ~ 2.7TB internal; ATI RAEDON 5770 1GB @ Stock; Elixir Keyboard; Gigabyte GM-M6800; 2 x E173FPf 2005: 2GIG RAM, 3.6Ghz P4, 2 x 200gb SATA HD 8mb cache, 256mb 9950 ATI RADEON,19" LCD Core i7 3.2GHz, 6GB DDRIII, ASUS 512MB EN8800GT

    Tuesday, January 14, 2014 11:13 PM

All replies

  • Im not sure this is the right forum, so I'm going to move it to here 

    http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/64f9f4d9-073d-4912-bd02-afd2eed80d8a/developing-for-bluetooth-low-energy-ble-in-c-windows-81?forum=wdk


    2010: Q6700 3GHz; 6GB DDRII; ~ 2.7TB internal; ATI RAEDON 5770 1GB @ Stock; Elixir Keyboard; Gigabyte GM-M6800; 2 x E173FPf 2005: 2GIG RAM, 3.6Ghz P4, 2 x 200gb SATA HD 8mb cache, 256mb 9950 ATI RADEON,19" LCD Core i7 3.2GHz, 6GB DDRIII, ASUS 512MB EN8800GT

    Wednesday, January 15, 2014 11:04 AM
  • Have you tried developing for BLE?

    2010: Q6700 3GHz; 6GB DDRII; ~ 2.7TB internal; ATI RAEDON 5770 1GB @ Stock; Elixir Keyboard; Gigabyte GM-M6800; 2 x E173FPf 2005: 2GIG RAM, 3.6Ghz P4, 2 x 200gb SATA HD 8mb cache, 256mb 9950 ATI RADEON,19" LCD Core i7 3.2GHz, 6GB DDRIII, ASUS 512MB EN8800GT

    Thursday, January 16, 2014 12:53 AM
  • hi there,

    im experiencing the same frustration.  I am looking for a way to connect to Blue tooth low energy device with a desktop PC antenna and a BT LE tag, but not much useful stuff unless you are doing windows store apps where there seems be a lot of stuff around

    Saturday, February 15, 2014 11:47 PM
  • I am having issues with the website to download

    http://www.orcs.sebsoft.com/index.php/79-vision/72-how-to-acquire-data-by-c-from-bluetooth-4-bluetooth-low-energy-ti-ble-keyfob-ti-sensor-tag

    I was wondering if you could repost it?

    Thanks

    Sunday, May 4, 2014 11:23 PM