Question

I want to make an app that connects to devices in the near vecinity and exchanges data. I want to have as high range as possible using the phone's hardware.

1.What can I use and which is better: the bluetooth or wifi?

2.What is the range I can expect?

Was it helpful?

Solution

For relatively small networks (fewer than 8 nodes), Bluetooth would work, but would have very limited range (~10m).

WiFi would be a good solution if you can guarantee that you're going to have a wireless router available to route messages. Currently, Android does not offer an Ad-hoc solution for small networks using standard WiFi. Range of WiFi can differ based on a lot of factors, but you can expect 35-100m.

You should probably take a look at WiFi Direct (WiFi P2P). It is similar to Bluetooth in terms of creating a network, but has longer range. It is important to note that WiFi P2P is only supported on newer Android devices (API level 14 and up).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top