That makes a lot of sense. Thanks for the detail.
The App doesn't know if you have left the network unless it attempts a connection. But you don't want it to automatically check for a connection, like it does now. For example, you leave the app open and the iPhone goes to sleep (the screen goes black). The App will ask you which server to use when it awakens. Another example is when you switch from the App to another app and then go back to the App. Again, the App will ask you which server to use when it awakens. This would have to be an option since many users would prefer the automatic connection. Are we on the right track?
YES, EXACTLY! I agree; it
would have to be an option, for the exact reason you stated.
//break//
Would it be possible to add this logic before the app asks which server to connect to:
Following a successful connection to a RCP server (RCP_server_current), App polls and stores the device's current gateway IP address (gIP_sucess)
Upon open/wake from sleep, App polls the device's current gateway IP address (gIP_current) and compares gIP_current with gIP_sucess
If match
connect to RCP_server_current.
else
ask user for RCP server
If that's not possible, I'd still be thrilled with the option to have the app ask me every time which server to connect to.