- if( fread(buf, 512, 1, pipe) == 0 ) return -1; // Flush!
-
- // Send password
- fputs(gsDoor_Password, pipe);
- fputs("\n", pipe);
- if( fread(buf, 512, 1, pipe) == 0 ) return -1; // Flush!
-
- // ATH1 - Unlock door
- fputs("ATH1\n", pipe);
- if( fread(buf, 512, 1, pipe) == 0 ) return -1; // Flush!