prog.c:3:1: error: unknown type name 'String'
String SSID;
^
prog.c:4:1: error: unknown type name 'String'
String Pass;
^
prog.c:6:13: warning: implicitly declaring library function 'strtok' with type 'char *(char *, const char *)'
char *get = strtok(incoming, " ");
^
prog.c:6:13: note: include the header <string.h> or explicitly provide a declaration for 'strtok'
prog.c:6:13: error: initializer element is not a compile-time constant
char *get = strtok(incoming, " ");
^~~~~~~~~~~~~~~~~~~~~
prog.c:7:24: error: use of undeclared identifier 'NULL'
char *request = strtok(NULL, " ");
^
prog.c:8:22: error: use of undeclared identifier 'NULL'
char *rtype = strtok(NULL, " ");
^
prog.c:13:16: error: use of undeclared identifier 'NULL'
if (request != NULL)
^
prog.c:18:12: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
if (!strcmp(part, "STA"))
^
prog.c:18:12: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
prog.c:20:14: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned int)'
if (!strncmp(part, "ID=", 3))
^
prog.c:20:14: note: include the header <string.h> or explicitly provide a declaration for 'strncmp'
prog.c:22:18: warning: implicit declaration of function 'String' is invalid in C99 [-Wimplicit-function-declaration]
SSID = String(part + 3);
^
prog.c:23:11: error: use of undeclared identifier 'Serial'
Serial.print("\n");
^
prog.c:24:11: error: use of undeclared identifier 'Serial'
Serial.print("SSID: ");
^
prog.c:25:11: error: use of undeclared identifier 'Serial'
Serial.print(SSID);
^
prog.c:32:11: error: use of undeclared identifier 'Serial'
Serial.print("\n");
^
prog.c:33:11: error: use of undeclared identifier 'Serial'
Serial.print("PWD: ");
^
prog.c:34:11: error: use of undeclared identifier 'Serial'
Serial.print(Pass);
^
prog.c:39:11: error: use of undeclared identifier 'Serial'
Serial.print("\n");
^
prog.c:40:11: error: use of undeclared identifier 'Serial'
Serial.print("Not Found");
^
prog.c:42:21: error: use of undeclared identifier 'NULL'
part = strtok(NULL, "/");
^
4 warnings and 15 errors generated.