to review complete the getdevicedata