#include <WiFi.h>

void setup() {
  Serial.begin(115200);
  delay(1000);
  
  // Initialize WiFi
  WiFi.begin("Wokwi-GUEST", "");

  // Wait for WiFi connection
  while (WiFi.status() != WL_CONNECTED) {
    delay(1000);
    Serial.println("Connecting to WiFi...");
  }

  // Set the new hostname
  WiFi.setHostname("Sennheiser_IE600_KK");

  // Print the updated hostname
  Serial.print("Updated Hostname: ");
  Serial.println(WiFi.getHostname());
}

void loop() {
  // Your main code here
}