如何在iBeacons之间发送一些数据 [英] How to send some data between iBeacons

查看:87
本文介绍了如何在iBeacons之间发送一些数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始使用iBeacon技术开发。
我知道如何连接,计算接近度等等....
但是有一次建立连接,我如何在发送方和接收方之间发送一些文本数据?
有一种方法(例如)我可以用某种方式使用

I started to develop with iBeacon technology. I know how connect, calculate proximity ect ect.... But one time that the connection is established, how I can send some text data between sender and receiver? There is a method (for example) can I use in some way the


self.peripheralManager.accessibilityLabel

self.peripheralManager.accessibilityLabel

我还可以使用WebServer管理它的deviceID
谢谢....

Is enought also the deviceID that I can manage it with a WebServer Thank you....

推荐答案

iBeacon协议仅用于发送/发现信标ID并计算其邻近度。那就是它所做的一切

The iBeacon protocol is only for transmitting / discovering beacon IDs and calculating their proximity. That is all that it does.

除此之外的任何其他内容都必须单独完成 - 大概是使用CoreBluetooth或iOS的新 Multipeer Connectivity 功能。事实上,发现附近的用户并在他们之间传输数据正是Multipeer Connectivity的目的。

Anything additional to that would have to be done separately - presumably using CoreBluetooth, or iOS's new Multipeer Connectivity functionality. In fact, discovering nearby users and transmitting data between them is precisely what Multipeer Connectivity is intended for.

这篇关于如何在iBeacons之间发送一些数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆