From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> --- android/client/if-bt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/client/if-bt.c b/android/client/if-bt.c index f83e148..2b9c455 100644 --- a/android/client/if-bt.c +++ b/android/client/if-bt.c @@ -876,7 +876,11 @@ static struct method methods[] = { STD_METHODCH(get_remote_services, "<addr>"), STD_METHOD(start_discovery), STD_METHOD(cancel_discovery), +#if ANDROID_VERSION >= PLATFORM_VER(5, 0, 0) + STD_METHODCH(create_bond, "<addr> [<transport>]"), +#else STD_METHODCH(create_bond, "<addr>"), +#endif STD_METHODCH(remove_bond, "<addr>"), STD_METHODCH(cancel_bond, "<addr>"), STD_METHODCH(pin_reply, "<address> [<pin>]"), -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html