Skip to content

How to enable pairing feature

Kaoru Shoji edited this page Jan 27, 2015 · 2 revisions

Some BLE MIDI devices may request Pairing. If the App needs connection with such devices, enable the Pairing feature on the library.
If this Pairing feature enabled, the pairing process will begin when the device will first attached.

The configuration method is below,

  • BleMidiCentralProvider.setRequestPairing(boolean needsPairing)
  • BleMidiPeripheralProvider.setRequestPairing(boolean needsPairing)

This feature is disabled by default.

Limitations for JellyBean MR2

At Android SDK API Level 18, there is no Bluetooth pairing feature.
The configuration method can be called, but it's ignored at API Level 18 devices.