当esp32作为服务器时,如何创建BLE连接移动应用程序? Android 工作室[已关闭]

问题描述 投票:0回答:1

我需要从 esp32 获取数据并在我的移动应用程序中接收数据。这是基于 BLE 的。我有 ESP32 是服务器。我在 android studio 中创建移动应用程序。但是我得到了输出编码格式。我如何解决这个。

android android-studio bluetooth-lowenergy esp32 arduino-esp32
1个回答
1
投票

您可以使用 npm 包 react-native-ble-manager 来实现它。 它还有一个示例应用程序https://github.com/innoveit/react-native-ble-manager/tree/master/example。克隆应用程序并浏览代码。它将解决您所有的疑问。

© www.soinside.com 2019 - 2024. All rights reserved.