You might want to register with GameKit. I just used it to connect two iPods via Bluetooth. Apple has done all the hard work and with just a few lines of code, you can find an iPod to search for Bluetooth devices. If you run your own Wi-Fi networks, you can even do iPod / iPhone searches for a printer using Bluetooth or Wi-Fi relatively easily.
source
share