This command will display a detailed list of information about your device. There are a few interesting variations of the “fastboot oem…” command that will work with different parameters – fastboot oem device-info.
It will show the list of devices connected to your PC.
Flashing devices Android Open Source Project Web