diff --git a/client/mgmt.c b/client/mgmt.c
index e9ebb3d..6fd4388 100644
--- a/client/mgmt.c
+++ b/client/mgmt.c
bt_shell_noninteractive_quit(EXIT_SUCCESS);
}
-static struct option get_flags_options[] = {
+static const struct option get_flags_options[] = {
{ "help", 0, 0, 'h' },
{ "type", 1, 0, 't' },
{ 0, 0, 0, 0 }
bt_shell_noninteractive_quit(EXIT_SUCCESS);
}
-static struct option set_flags_options[] = {
+static const struct option set_flags_options[] = {
{ "help", 0, 0, 'h' },
{ "type", 1, 0, 't' },
{ "flags", 1, 0, 'f' },
bt_shell_noninteractive_quit(EXIT_SUCCESS);
}
-static struct option disconnect_options[] = {
+static const struct option disconnect_options[] = {
{ "help", 0, 0, 'h' },
{ "type", 1, 0, 't' },
{ 0, 0, 0, 0 }
discovery = true;
}
-static struct option find_service_options[] = {
+static const struct option find_service_options[] = {
{ "help", no_argument, 0, 'h' },
{ "le-only", no_argument, 0, 'l' },
{ "bredr-only", no_argument, 0, 'b' },
discovery = true;
}
-static struct option find_options[] = {
+static const struct option find_options[] = {
{ "help", 0, 0, 'h' },
{ "le-only", 1, 0, 'l' },
{ "bredr-only", 1, 0, 'b' },
bt_shell_noninteractive_quit(EXIT_SUCCESS);
}
-static struct option stop_find_options[] = {
+static const struct option stop_find_options[] = {
{ "help", 0, 0, 'h' },
{ "le-only", 1, 0, 'l' },
{ "bredr-only", 1, 0, 'b' },
passkey_notify, mgmt, NULL);
}
-static struct option pair_options[] = {
+static const struct option pair_options[] = {
{ "help", 0, 0, 'h' },
{ "capability", 1, 0, 'c' },
{ "type", 1, 0, 't' },
bt_shell_noninteractive_quit(EXIT_SUCCESS);
}
-static struct option cancel_pair_options[] = {
+static const struct option cancel_pair_options[] = {
{ "help", 0, 0, 'h' },
{ "type", 1, 0, 't' },
{ 0, 0, 0, 0 }
bt_shell_noninteractive_quit(EXIT_SUCCESS);
}
-static struct option unpair_options[] = {
+static const struct option unpair_options[] = {
{ "help", 0, 0, 'h' },
{ "type", 1, 0, 't' },
{ 0, 0, 0, 0 }
bt_shell_noninteractive_quit(EXIT_SUCCESS);
}
-static struct option irks_options[] = {
+static const struct option irks_options[] = {
{ "help", 0, 0, 'h' },
{ "local", 1, 0, 'l' },
{ "file", 1, 0, 'f' },
bt_shell_noninteractive_quit(EXIT_SUCCESS);
}
-static struct option block_options[] = {
+static const struct option block_options[] = {
{ "help", 0, 0, 'h' },
{ "type", 1, 0, 't' },
{ 0, 0, 0, 0 }
print("Remote OOB data added for %s (%u)", addr, rp->type);
}
-static struct option remote_oob_opt[] = {
+static const struct option remote_oob_opt[] = {
{ "help", 0, 0, '?' },
{ "type", 1, 0, 't' },
{ 0, 0, 0, 0 }
bt_shell_noninteractive_quit(EXIT_SUCCESS);
}
-static struct option conn_info_options[] = {
+static const struct option conn_info_options[] = {
{ "help", 0, 0, 'h' },
{ "type", 1, 0, 't' },
{ 0, 0, 0, 0 }
bt_shell_noninteractive_quit(EXIT_SUCCESS);
}
-static struct option add_device_options[] = {
+static const struct option add_device_options[] = {
{ "help", 0, 0, 'h' },
{ "action", 1, 0, 'a' },
{ "type", 1, 0, 't' },
bt_shell_noninteractive_quit(EXIT_SUCCESS);
}
-static struct option del_device_options[] = {
+static const struct option del_device_options[] = {
{ "help", 0, 0, 'h' },
{ "type", 1, 0, 't' },
{ 0, 0, 0, 0 }
"\t -n, --local-name \"local-name\" flag");
}
-static struct option advsize_options[] = {
+static const struct option advsize_options[] = {
{ "help", 0, 0, 'h' },
{ "connectable", 0, 0, 'c' },
{ "general-discov", 0, 0, 'g' },
"\tadd-adv -u 180d -u 180f -d 080954657374204C45 1");
}
-static struct option add_adv_options[] = {
+static const struct option add_adv_options[] = {
{ "help", 0, 0, 'h' },
{ "uuid", 1, 0, 'u' },
{ "adv-data", 1, 0, 'd' },
"\tadd-ext-adv-params -r 0x801 -x 0x802 -P 2M -g 1");
}
-static struct option add_ext_adv_params_options[] = {
+static const struct option add_ext_adv_params_options[] = {
{ "help", 0, 0, 'h' },
{ "duration", 1, 0, 'd' },
{ "timeout", 1, 0, 't' },
"\tadd-ext-adv-data -u 180d -u 180f -d 080954657374204C45 1");
}
-static struct option add_ext_adv_data_options[] = {
+static const struct option add_ext_adv_data_options[] = {
{ "help", 0, 0, 'h' },
{ "uuid", 1, 0, 'u' },
{ "adv-data", 1, 0, 'd' },
return true;
}
-static struct option add_monitor_rssi_options[] = {
+static const struct option add_monitor_rssi_options[] = {
{ "help", 0, 0, 'h' },
{ "high-threshold", 1, 0, 'R' },
{ "low-threshold", 1, 0, 'r' },