I am developing an app which allows multiple phones near each other to exchange information over wifi. It uses UDP broadcast to find all devices using my app connected to the SAME wifi router. It works just fine.
The problem I have is that most large venues like schools and big restaurants have multiple free/public routers or access points under the same name. I've tested my app a lot in these situations and find 2 phones side by side getting ip addresses in 2 or more different subnets. They can't use my app.
I have seen some discussions on the forum about Adafruit and MQTT. Are these things which would allow my app to bridge multiple nearby routers or somehow find my users in nearby (same building or floor) areas? I don't want my users to have to pay a fee or subscribe to connect to such a service since my app is free (with ads).
I'm pretty vague on this right now and need to know if this is an area that I should be pursuing or if there is something else I could be doing to connect nearby devices on multiple routers. The Adafruit web is pretty confusing.