1. Connect WDS or equivalent to the vehicle DLC-2 16-pin connector located as shown in the figure.

2. Perform KOEO/KOER self-test.
After repair procedureMazda 6 Service Manual: Adaptive Front Lighting System (AFS) (Some models)
The adaptive front lighting system (AFS) automatically adjusts the headlight
beams to the left or right in conjunction with the operation of the steering wheel
after the headlights have been turned on and the vehicle speed is about 2 km/h (2
mph) or higher.
A system malfunction or operation c ...
Mazda 6 Service Manual: Dtc c1148, c1158, c1168, c1178, c1233, c1234, c1235, c1236
Caution
When attaching the tester lead to the ABS (ABS/TCS) HU/CM harness
connector, the SST (49 G066 001) must be used. (See ABS (ABS/TCS) HU/CM
INSPECTION.)
Diagnostic procedure
...