Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By sohialsadiq
#31412 Hi,
can anyone help me,How to check which client is connected to WiFi server.

sort of DHCP server, i want to check which device is connected & its mac address.


system runs fine it generate ip address to connected devices.

void wifi_data()

{


WiFiClient client = server.available(); // Wait for a new client



data =client.readStringUntil('\n');
Serial.print("data is =");
Serial.println(data);


client.println(temp);
client.println(hum);
client.println(Motion);


client.println(timer_status);
client.println(pin_data);
pin_data="";
Serial.print("timer_status");
Serial.println(timer_status);
client.stop();





}