Skip to content

Instantly share code, notes, and snippets.

View shubhankar000's full-sized avatar

shubhankar000

View GitHub Profile
@santolucito
santolucito / ESP32_UDP_AP.ino
Last active April 21, 2023 20:06
Sending UDP on ESP32 in AP mode
#include <WebServer.h>
#include <WiFi.h>
#include <WiFiUdp.h>
// the IP of the machine to which you send msgs - this should be the correct IP in most cases (see note in python code)
#define CONSOLE_IP "192.168.1.2"
#define CONSOLE_PORT 4210
const char* ssid = "ESP32";
const char* password = "12345678";
WiFiUDP Udp;