I am aware that Raspberry Pi's are able to be set up as Bluetooth beacons to broadcast data (such as URLs) by following protocols like Eddystone or iBeacon, however I am wondering if it is possible to create a beacon using WiFi? I have a new RPI 3 Model B with inbuilt WiFi and would like to use that over Bluetooth.
The data I want to broadcast is a 'code' only several characters long and ultimately I want to be able to detect this code on an Android device, say by an Android application's background service running and listening for the exact code. I would then use the detection of the code to kick off an action within the Android application, thereby making a 'proximity beacon' out of the RPI.
I'd like to however, achieve this in a connection-less way so that the Android device is not required to connect to the RPI before being able to detect the code. Therefore setting up the RPI as a WiFi Access Point, or just detecting a WiFi network name (SSID) is not preferred.
Any tips or suggestions on if this is possible would be greatly appreciated, thanks.