A PSD-based fingerprinting approach to detect IoT device spoofing