diff --git a/tools/mesh-cfgclient.c b/tools/mesh-cfgclient.c
index 1c617a3..200eb5b 100644
--- a/tools/mesh-cfgclient.c
+++ b/tools/mesh-cfgclient.c
struct l_dbus_message *msg,
void *user_data)
{
+ const char *prompt = "Enter AlphaNumeric code on remote device:";
char *str;
if (!l_dbus_message_get_arguments(msg, "s", &str)) {
return l_dbus_message_new_error(msg, dbus_err_fail, NULL);
}
- bt_shell_printf(COLOR_YELLOW "Enter AlphaNumeric code on remote device: %s\n" COLOR_OFF, str);
+ bt_shell_printf(COLOR_YELLOW "%s %s\n" COLOR_OFF, prompt, str);
return l_dbus_message_new_method_return(msg);
}
NULL);
/* TODO: Other properties */
l_dbus_interface_method(iface, "DisplayString", 0, disp_string_call,
- "", "s", "value");
+ "", "s", "value");
l_dbus_interface_method(iface, "DisplayNumeric", 0, disp_numeric_call,
"", "su", "type", "number");
l_dbus_interface_method(iface, "PromptNumeric", 0, prompt_numeric_call,
- "u", "s", "type");
+ "u", "s", "number", "type");
l_dbus_interface_method(iface, "PromptStatic", 0, prompt_static_call,
- "ay", "s", "type");
+ "ay", "s", "data", "type");
}
static bool register_agent(void)