Java中的蓝牙低能量API

我正在使用蓝牙低功耗.在 Java中有没有API或开源SDK?我的目标是运行我的电脑作为一个BLE外设.而我所尝试的是,刚刚搜索了一段时间的API,我发现了 this.但不知道如何实现.

编辑:我也有东西here,我认为哪些用来创造特色和服务.根据我的理解,没有驱动程序需要在window8,因为它有内置的支持.但是我很困惑,加载哪个库来运行这个代码.

解决方法

据我所知,目前还没有图书馆.最好的办法是在Windows 8 C库中构建一个JNI包装.为什么不开始一个开源项目?

一旦你有一个低水平,有一个很好的小帮手图书馆与GATT简介:https://github.com/movisens/SmartGattLib

Smartgattlib is a Java library that simplifies the work with Bluetooth SMART devices (a.k.a Bluetooth Low Energy in Bluetooth 4.0). It provides all UUIDs of the adopted GATT specification and an convenient way to interpret the characteristics (e.g. Heart Rate,batterylevel). The library has no dependencies and can be use with every Bluetooth SMART stack.

相关文章

最近看了一下学习资料,感觉进制转换其实还是挺有意思的,尤...
/*HashSet 基本操作 * --set:元素是无序的,存入和取出顺序不...
/*list 基本操作 * * List a=new List(); * 增 * a.add(inde...
/* * 内部类 * */ 1 class OutClass{ 2 //定义外部类的成员变...
集合的操作Iterator、Collection、Set和HashSet关系Iterator...
接口中常量的修饰关键字:public,static,final(常量)函数...