I have a Raspberry Pi Zero W running Raspbian OS which is connected to a few sensors. I can broadcast the sensor data from the Pi to my Android tablet for display. I've written a UDP socket/client code which works fine while behind my router, but now I have to take the instrument/sensor out into the field where there is no network (WAN or LAN).
How do I set up the communications to broadcast the data from the Pi to my tablet through a direct wireless connection? I'm assuming an ad-hoc connection would suffice? Maybe something better? Assuming an ad-hoc connection is what I need, how do I set it up on the Pi? Would I have to set this up on both devices or just the Pi (or just the tablet)?