This is hardware related question. But also software related.
I am making an Android app using bluetooth. And I tested my devices with wifi and bluetooth.
And the result is:
1. Wifi ON, connected & Bluetooth ON(possibile)
2. Wifi ON, connected & Bluetooth ON, connecting to bluetooth product such as ear buds (possible)
3. Wifi ON, connected & Bluetooth ON, connecting to other mobile devices (impossible)
4. Wifi ON, disconnected & Bluetooth ON, connecting to other mobile devices (impossible)
When I try 3 and 4 cases. I get a popup message
Can't use Bluetooth tethering while connected to Wi-Fi network
I'd like to make an app that send data between two devices. And each device might be connected to Wifi.
For example, the app uses Bluetooth to connect other mobile phone and also internet for getting & sending data to the server.
At that time, the internet connection could be Wifi. So, It shouldn't be disconnected.
One of the reason that I found says Bluetooth uses 2.4Hz, and it is the same Hz of 802.11.
according to here, It's kind of true.
It says,
802.11 Provides up to 2Mbps transmission in the 2.4GHz band
802.11b Provides up to 11Mbps transmission in the 2.4GHz band
802.11a Provides up to 54Mbps transmission in the 5GHz band
802.11g Provides up to 54Mbps transmission in the 2.4GHz band
802.11n Provides up to 450Mbps transmission in the 2.4/5GHz band
However, I don't get it because we can connect it to wireless ear phones over Wifi.
Could you explain its behaviour? And what can I do? Or should I just make an app that uses only Bluetooth without wifi?