Changed Error / OK / WAIT / ID to integer values