离子蓝牙插件
Ionic Bluetooth plugin
我需要将我的应用程序连接到 BLE 设备(而不是其他智能手机)。
我正在寻找一个蓝牙 ionic 插件,我看到其中有三个,但我不太了解它们之间的区别。
有一些关于离子蓝牙插件的资源/教程可以帮助理解这些?
https://ionicframework.com/docs/native/ble
https://ionicframework.com/docs/native/bluetooth-le
https://ionicframework.com/docs/native/bluetooth-serial -> 仅用于连接到 Arduino 设备,对吗?
谢谢
- ble: Only allows Connecting to a peripheral. You will find examples on their Github page
- bluetooth-le:还可以使您的设备本身成为外围设备。描述是这样
covers most of the API methods available on Android and iOS
他们还在 Github
上提供帮助和示例
- bluetooth-serial:这不是低功耗蓝牙 (BLE) 的插件,而是经典蓝牙的插件。
您需要select最适合您的应用程序的插件
我需要将我的应用程序连接到 BLE 设备(而不是其他智能手机)。 我正在寻找一个蓝牙 ionic 插件,我看到其中有三个,但我不太了解它们之间的区别。 有一些关于离子蓝牙插件的资源/教程可以帮助理解这些?
https://ionicframework.com/docs/native/ble
https://ionicframework.com/docs/native/bluetooth-le
https://ionicframework.com/docs/native/bluetooth-serial -> 仅用于连接到 Arduino 设备,对吗?
谢谢
- ble: Only allows Connecting to a peripheral. You will find examples on their Github page
- bluetooth-le:还可以使您的设备本身成为外围设备。描述是这样
covers most of the API methods available on Android and iOS
他们还在 Github
上提供帮助和示例- bluetooth-serial:这不是低功耗蓝牙 (BLE) 的插件,而是经典蓝牙的插件。
您需要select最适合您的应用程序的插件