main.c
// human-readable output for wifi mode
human-readable output for wifi mode
human - readable output for wifi mode
const char* wifi_mode_to_string(wifi_mode_t mode) {
  switch (mode) {
    case 0: return "OFF (NULL MODE)";
    case 1: return "STATION";
    case 2: return "SOFT AP";
    case 3: return "STATION+AP";
    default: return "?? WIFI MODE UNKNOWN ??";
  }
}
const char * wifi_mode_to_string ( wifi_mode_t mode ) { switch ( mode ) { case 0 : return " " ; case 1 : return " " ; case 2 : return " " ; case 3 : return " " ; default : return " " ; } }
human-readable output for wifi mode
human - readable output for wifi mode