Trailer stability function of ESP does not require any electrical connection between the towcar and trailer. Trailer stability (or, more correctly, instability) is detected by sensing the lateral acceleration of the back of the towcar, i.e. TSP detects any "tail wagging the dog". The necessary sensor for this function is on board the towcar.