Improved validation of PID command responses