BLE112 - BLED112 and Win7 Communication

cbr picture cbr · Apr 13, 2013 · Viewed 7.5k times · Source

I am using BLE112 and BLED112 for my project. I want to send some data from BLE112 which is mounted on my PCB to the BLED112 USB Dongle plugged in my Windows 7 machine. I have connected to BLE112 by BLED112 over BLEGUI therefore my hardware is working properly.

My problem is I want to read the data received by BLED112 through my .Net application.

So can you answer my following questions or if you have any other idea about how to read BLED112 easily from Windows 7 please let me know.

  • Can BLED112 work standalone and send the data over USB to the PC? And can I read these data from Virtual Serial Port?

  • Is there any .Net library that I can use directly. (I know there is a Java Lib)

  • Do I have to only use BGLib implemented on BGAPI to read data from BLED112.

Thanks..

Answer

Lars Klint picture Lars Klint · Apr 29, 2013

I found this C# wrapper for the BlueGiga API on gitHub last week, when I was in your situation: https://github.com/ahouben/BleDriver.NET

I have successfully adapted and integrated it into my application. It is running up against a TI CC2541 without problems (so far...).

I have also tested it with the latest API XML (ble-1.1.1-77) from BG, and the Python script (which generates the C# class) works equally fine with that one.