From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> --- android/client/if-gatt.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/android/client/if-gatt.c b/android/client/if-gatt.c index 72f97ba..301262b 100644 --- a/android/client/if-gatt.c +++ b/android/client/if-gatt.c @@ -1503,8 +1503,13 @@ static void test_command_p(int argc, const char **argv) static struct method client_methods[] = { STD_METHODH(register_client, "[<uuid>]"), STD_METHODCH(unregister_client, "<client_if>"), +#if ANDROID_VERSION >= PLATFORM_VER(5, 0, 0) + STD_METHODCH(scan, "[1|0]"), + STD_METHODCH(connect, "<client_if> <addr> [<is_direct>] [<transport]"), +#else STD_METHODCH(scan, "<client_if> [1|0]"), STD_METHODCH(connect, "<client_if> <addr> [<is_direct>]"), +#endif STD_METHODCH(disconnect, "<client_if> <addr> <conn_id>"), STD_METHODCH(refresh, "<client_if> <addr>"), STD_METHODCH(search_service, "<conn_id> [<uuid>]"), -- 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