None of that makes any sense!
HIDs require less current than conventional incandescent bulbs.
I had HID fogs on my SLK, I bought them as the fogs were used as the get you to your door light and looked nice when the whole car was lit up at the front at night.
Strictly speaking the colour temperature of HIDs is less than optimal for increasing visibility in fog, so ideally you should not fit them for function purposes.
The yellower stock light bulbs produce a light that is more penetrative into fog and therefore better for visibility.
If there is a can detection signal on any lighting circuit, it looks for consistent current drain. It will detect an HID (if not expecting it) because the current drain on start up is high then it drops below the expected level once the HID ignites. If you have a blown bulb detection function, the power to the bulb will be cycled on and off until it sees the correct current draw. This causes the bulbs to flash.
Fogs are never expected to be HID by the manufacturer for the reasons I stated above, so you can't recode to make them work. You can fit an inline inductor or an in parallel capacitor. This smooths the current flow that the circuitry detects so it thinks the HID is a regular bulb. You can buy these on ebay for £10 if thats what you want.