简体   繁体   English

通过 Gluon-Mobile 使用依赖于低功耗蓝牙的 iOS Swift 和 Android 库

[英]Using iOS Swift & Android Libraries that rely on Bluetooth Low Energy with Gluon-Mobile

Can Gluon-Mobile use libraries written for iOS in Swift that have iOS Bluetooth Low Energy function calls? Gluon-Mobile 是否可以使用在 Swift 中为 iOS 编写的具有 iOS 低功耗蓝牙函数调用的库?
Library in question: https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library有问题的图书馆: https : //github.com/NordicSemiconductor/IOS-Pods-DFU-Library

And Android Java libraries that have Android Bluetooth Low Energy Calls?以及具有 Android 蓝牙低功耗调用的 Android Java 库?
Library in question: https://github.com/NordicSemiconductor/Android-DFU-Library有问题的图书馆: https : //github.com/NordicSemiconductor/Android-DFU-Library

These libraries handle device firmware updates over Bluetooth Low Energy for devices running on nRF5x SoCs这些库通过低功耗蓝牙为在 nRF5x SoC 上运行的设备处理设备固件更新

Yes.是的。 Wrap the native calls in Java using JNI.使用 JNI 在 Java 中包装本机调用。 There is an example Logging wrapper somewhere in either Gluon Samples or on GluonHQ.com.在 Gluon Samples 或 GluonHQ.com 上的某处有一个示例 Logging 包装器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM