- Tue Apr 18, 2017 5:24 am
We have developed a portable (battery powered) data collection equipment to be used in the field and it has to communicate with an Android tablet used as front end (GUI) for the equipment.
Currently we use a commercial WiFi module we have put on a board of our own and configured to implement a WiFi Access Point to which the tablet connects.
Then our App on the tablet will open a TCP port (2101 I think it is) on the WiFi module to control the equipment and download data from the system. The WiFi module is connected to the equipment using RS232 at 38400 baud. So port 2101 just transfers data between the network and RS232 without doing anything with the passing data. This works OK as it is right now.
The problem here is that all the time our tablet connects to the equipment AP it instantly loses Internet connectivity so the data retrieved cannot be forwarded to the home server for processing.
My hope is that WiFi Direct could be used since by what I have read it implies that the Android device does not lose the Internet connection via mobile broadband in the process.
Can the ESP8266 do this?
If so is there some sample project available to study?
Wifi-Direct should indeed be able to keep the mobile connection (much like you can still browse the Youtube app, while casting content to your Chromecast/AppleTV/Directly to TV.
However, normal behaviour of Android devices would be to terminate the mobile interenet connection, so it could be that it's a settings controlled by the specific app in question.
Depending on your Android version, you might be able to find the following setting:
'Mobile Data Always Active', which might help you out?
stern0m1 wrote:I to wish for wi-fi direct. I think this is very valuable.
The datasheets mention it supports it, but I have searched high and low and there is no documentation on how to implement. The most I found is over herehttps://github.com/esp8266/Arduino/issues/2343 where it is mentioned that with freertos its possible. I think wifi direct functionality will have to be created, it does not to be part of the sdk's.
I am actively trying to come up with a solution. I will update if come up with anything. Please let me know if you find a solution. I think we need a real experienced low level firmware developer to create this for us. I am willing to pay for it.
I'm also still looking for a solution but I also think we might need a firmware developer for this. I'm willing to pay for it as well.
So, if a developer happens to read this topic and thinks he/she can help out name your price!