hello,
i participate in the development of an open source project where we are about to implement BLE support for downloading information from small embedded devices.
ATM we support Windows XP and Windows 7 and we don't really want to drop support for these because of the lack of BLE API in older Windows.
i don't have experience with BLE so i'm going to be asking some questions on behalf of co-developers.
1) can btstack be used as a dynamic (DLL) or a static library on Windows?
i was able to use the makefile here with mingw:
but it builds a set of executables - e.g. le_counter.exe, hfp_hf_demo.exe
can all the object files (except main.o, i guess) be packed inside a AR library (.a) and used with some sort of API and header files? is the API documented? which header files are needed?
2) my understanding is that for one to enable BLE support on Windows pre-8 one has to have a spacial BLE dongle connected to a USB port and the software needs to communicate to it via something like HCI commands over a socket?
also a special variant of WinUSB driver needs to be installed (via a tool called
Zadig - http://zadig.akeo.ie/). them i'm not exactly sure how GATT comes into play...
any more details on this subject? how does btstack deal with the lack of WINAPI support for BLE in older Windows?
3) are there source code examples for 2)?
thanks
lubomir
--