【问题标题】:Multiple Bluetooth devices on App InventorApp Inventor 上的多个蓝牙设备
【发布时间】:2015-01-11 00:07:11
【问题描述】:

是否可以使用 MIT App Inventor 2 将我的手机连接到两个蓝牙设备?我需要连接到另一部手机和一个 Arduino(总共 3 个设备)。我怎么能这样做?

【问题讨论】:

  • 当然,这是可能的。一个简单的谷歌搜索会给你一些例子,例如Bluetooth chat example...
  • 谢谢,但我已经搜索过了,您指向的链接仅说明了如何在两个设备之间使用蓝牙,请参阅“示例仅适用于在 2 个设备之间发送消息”。我需要将我的手机连接到其他两个。

标签: bluetooth arduino android-bluetooth app-inventor


【解决方案1】:

是的,你可以。

您已经发现,App Inventor 中的bluetooth 组件只能连接 2 个设备。

在您的情况下,只需使用 2 个蓝牙组件:component1 连接到另一部手机,component2 连接到 Arduino。

See also the documentation

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-04-22
    • 1970-01-01
    相关资源
    最近更新 更多