简体   繁体   English

Android和Iphone之间的应用感知蓝牙BLE通信

[英]App aware Bluetooth BLE communication between Android and Iphone

I want to create an app on iOS that need to send/receive small parts of data for another app, on another phone (eg. Android) using the Bluetooth Low Energy protocol. 我想在iOS上创建一个需要使用蓝牙低功耗协议在另一部手机(例如Android)上发送/接收另一应用程序的一小部分数据的应用程序。

I know that it is possible between two iOS devices. 我知道两个iOS设备之间有可能。 But, and with Android? 但是,使用Android?

Android device can act as central (meaning they can connect to BLE advertising devices) but cannot act as peripheral (meaning they cannot advertise BLE services). Android设备可以充当central设备(意味着它们可以连接到BLE广告设备),但不能充当peripheral (意味着它们不能广告BLE服务)。

So you can actually communicate by BLE between an iPhone and an Android devices (the iPhone being used as peripheral , and Android as central ) but you cannot do so between 2 Android devices. 因此,您实际上可以在iPhone和Android设备(iPhone被用作peripheral ,Android被用作central )之间通过BLE进行通信,但是您不能在两个Android设备之间进行通信。

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

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