Bluetooth low energy APIs in java

前端 未结 1 1988
再見小時候
再見小時候 2021-02-05 17:58

I am working with Bluetooth Low energy . Is there any APIs or open source SDK for BLE in java ? My goal is to run my pc as a BLE peripheral . And what I have tried is , just

相关标签:
1条回答
  • 2021-02-05 18:48

    As far as I know there is no library yet. Probably the best way is to build a JNI wrapper around the Windows 8 C++ library. Why not start an open source project?

    As soon as you have the low level there is a nice little helper library to work with the GATT profiles: 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.

    0 讨论(0)
提交回复
热议问题