Added packet id validation to sensor commands.