this is an ESP32 program running on nodemcu-esp32s module or any pin-to-pin compatible module. this ESP32 device is designed to collect enviroment sensor data and broadcast via its own WiFi Access Point(AP) on UDP port 3333. Any one who wants to receive its data, can do by listening on port 3333 (UDP mode) after joining the Wifi AP established by the device.
Select the instructions depending on Espressif chip installed on your development board: