Communicating between two smartphones without using a Cellular Tower - Peer to Peer

最后都变了- 提交于 2019-12-23 18:48:07

问题


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)


回答1:


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.




回答2:


Bluetooth is your best bet, but even in an open field 50 meters would be too far apart.



来源:https://stackoverflow.com/questions/3484794/communicating-between-two-smartphones-without-using-a-cellular-tower-peer-to-p

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!