If you are a technician attempting to diagnose the issue, the following tools are industry standards, but they require hardware interaction (using "JTAG" adapters or test points), not just a USB cable:
: The software sent a series of commands to the phone’s baseband processor. iphone 7 imei repair tool