I am completely new at this of connecting mobile apps to the companion computer. I am implementing the app in android studio based on the example for mobile apps, I am at a loss trying to image how the host program looks like. Do I just connect the phone to the wifi on companion computer and then the code running in it just receives the data? What happens when they lose connection? can I for example have the drone or system go to the last GPS position sent by the mobile app? finally can they just reconnect when they are in range again?
I know those are a lot of general doubts but I want to make sure I can procced with a simple design. Any help will be appreciated!