A method of compensation for current-sensor gain errors in an electric machine drive 14 includes a high frequency carrier signal electrically injected into the electric machine 14. By this mask pattern, the position and band gap of the recombination layers are controlled. A second message is received from the communication network, the second message meeting a filtering condition stored in the memory device such that an alert device is not triggered to provide an alert of second message.