I'm trying to use two phones in my car as a reversing camera: one being the camera and the other being the viewer. I have the software but the problem is I can't get it to work using two phones. I can get it to work using a third phone as the hotspot gateway. The problem seems to be I can't seem to communicate with any app running on the device running the hotspot yet they all have the same ip range. One machine is running a http server accessing the camera (similar to "IP webcam" app) and one is running software accessing the web server (in this case a web browser). There is no internet component. I assume this is being blocked because of some sort of security feature. I see no technical reason why it can't work.
I have tested this using HTC one, HTC DesireHD, Samsung galaxy camera and other various friend's phones so it seems to be consistent across android. Not an odd feature of some type of phone. Android 5 has not helped either. If it is a security feature do I need to root the device running the hotspot to overcome it? Any pointers to discussions on this subject would be very helpful.
I have searched many similar threads but most are discussing tethering issues or connecting through to the internet. Not sure what keywords to use. I have also tried "Hotspot control" app which did not work although I don't think it relates to this issue.
e.g How to make two android devices to communicate through TCP This has the right title but then goes on about NAT translation which is not related. Others go on about DNS. Just a simple DHCP server (which the hotspot has) and a router?
So in essence this is simply getting a local tcp/ip network set up between two android devices so apps can talk to each other. I would have thought this was quite straight forward. Hotspot is almost there as a solution.