Here can you see how to configure two iPads to synchronize song selection.

The "short-distance" connection trys automatically to find the best available connection mode, Bluetooth or WLAN.

If you want to use "Wireless MIDI" instead of the "short-distance connection" select MIDI as connection mode and additionally configure Wireless MIDI as explained here.