summaryrefslogtreecommitdiff
path: root/android/client
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2014-11-12 11:09:21 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-11-13 14:30:18 +0100
commit77a48be1129ca9dbc44fb035105cd3144ee97538 (patch)
tree4fd0134dfd7ebe78bcd7581ef86e0fc83c78fb90 /android/client
parent022a64e7a16999fb1c4e20f7810e83597e96f2de (diff)
downloadbluez-77a48be1129ca9dbc44fb035105cd3144ee97538.tar.gz
android/client: Fix help for bt_create_bond command
Diffstat (limited to 'android/client')
-rw-r--r--android/client/if-bt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/client/if-bt.c b/android/client/if-bt.c
index f83e148f3..2b9c455d5 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>]"),