Fake gps to Ardupilot pixhawk 6c

I have tried using an HDOP of 0.6 and satellites_visible set to 15. I applied the values from the topic ‘Faking GPS for indoor light show’, but Mission Planner still displays ‘GPS2: FIX’ in red."