在不使用蜂窝塔的情况下在两部智能手机之间进行通信 - 点对点
假设我有 2 部手机,彼此相距 50 米,我想从手机 A 向手机 B 发送一个非常小的数据包,而不使用任何与蜂窝塔的通信。
为了使其更简单,我想构建一个应用程序,为同一半径(同一区域)的 2 个手机实现点对点连接。
如今使用智能手机技术这是否可行? (以安卓为例)
Lets say I have 2 mobile phones which are 50 meters away from each other and I would like to send a very small packet of data from mobile-A to mobile-B, without using any communication to cellular tower.
To make it simpler, I would like to build an app which implements a Peer to Peer connection for 2 mobiles in the same radius (in the same area).
Is this feasible using the technology of smartphones these days? (Android for example)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不可以。移动网络获得许可的无线电服务因国家/地区而异,但据我所知,没有一个允许这种临时通信。
50 米对于 WiFi 来说是一个延伸距离,尤其是对于天线不太理想的手机而言。蓝牙也即将推出。
No. The radio services the mobile networks are licensed under vary by country, but none that I know of allows for that kind of ad-hoc communication.
50 meters would be a stretch for WiFi, especially in a pair of handsets with less-than-ideal antennas. Bluetooth would also be right out.
蓝牙是您最好的选择,但即使在开阔的场地,50 米的距离也太远了。
Bluetooth is your best bet, but even in an open field 50 meters would be too far apart.