SAE J2534-2 defines optional features for a device that performs ECU reprogramming on other non-emission ECUs as well. SAE J2534-1 defines features for a device that performs ECU reprogramming of emission ECUs (and could also apply to non-emission ECUs). There are two parts to SAE J2534 -> -1 and -2.
Its purpose is to create an API (Application Programming Interface) which would be adopted by all vehicle manufacturers, allowing the Independent Aftermarket (IAM) the ability to reprogram ECU’s without the need for a special dealer-only tool. J2534 is an interface standard designed by SAE (Society of Automotive Engineers) and mandated by the US EPA (Environmental Protection Agency) for vehicle ECU reprogramming.