if you don't need Wi-Fi, use a Lightning Cable and musicIO MIDI-only version. This is also built in to newer iOS/OS X versions. You enable the iPad as an audio source in Audio/MIDI Settings and the MIDI ports appear.
musicIO MIDI
http://musicioapp.com/iosMidi