Dr. Michael Kroll's Mobile Computing Forum
http://forum.mkroll.mobi/

Communication with Windows
http://forum.mkroll.mobi/viewtopic.php?f=1&t=566
Page 1 of 1

Author:  jpmcc007 [ Mon Aug 12, 2013 10:48 pm ]
Post subject:  Communication with Windows

I've been working with the BLE Shield and an Arduino micro for about a week. Right now I'm trying to take a series of voltage measurements and transmit them remotely - nothing too complex. I have been able to get data read out from the device using Bluegiga's development GUI, but unfortunately I don't have an iOS device available to test connectivity or try out any automated data scripts.

Has anyone put together or know of a program on Windows that can be set up to automatically communicate with the services on the BLE shield? Any assistance would be much appreciated!

(I have a Bluegiga BLED112 USB dongle on hand that I've been using with the GUI)

Author:  ahouben [ Wed Aug 14, 2013 3:17 pm ]
Post subject:  Re: Communication with Windows

Hi jpmcc007,

have a look at https://github.com/ahouben/BleDriver.NET.

The c interfaces provided with the Bluegiga SDKs (.c, .h files) are not state of the art for driving a BLED112 dongle from a Windows machine.

This is where https://github.com/ahouben/BleDriver.NE ... _bg_api.py helps to provide you with a comfortable C# binding given a bleapi.xml from the Bluegiga SDK (only tested up to the 1.1.0-55 version shown here though):

Code:
if __name__ == '__main__':
    bg_api('./ble-1.1.0-55/bleapi.xml', './BgApi.g.cs')


Unfortunately it only provides you with a very low level abstraction of the BgApi commands. A "real" application such as the Bluegiga development GUI or an application that you're looking for would provide more sophisticated functionality on top of BleDriver.NET. This still needs some development effort.

It may serve as a starting point for what you are looking for...

cheers,
alex

Author:  Justin [ Thu Aug 15, 2013 2:50 pm ]
Post subject:  Re: Communication with Windows

If you want to do it with Windows 8.1 then i can help...

http://www.ingenuitymicro.com/justins-b ... ws-81.aspx

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/