summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2011-02-28 15:18:51 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2011-03-01 16:16:37 -0300
commit7e018c6e02e39faa3b12f144390be4942bd316e6 (patch)
treeaf473746a7499db07d293fa2e00fc11fbfe6db6f /tools
parent265059a149c78e780bdbed275feb250ab5276a65 (diff)
downloadbluez-7e018c6e02e39faa3b12f144390be4942bd316e6.tar.gz
hcitool: Change commands struct formating
Diffstat (limited to 'tools')
-rw-r--r--tools/hcitool.c58
1 files changed, 29 insertions, 29 deletions
diff --git a/tools/hcitool.c b/tools/hcitool.c
index 1184b6bc2..894515695 100644
--- a/tools/hcitool.c
+++ b/tools/hcitool.c
@@ -2746,35 +2746,35 @@ static struct {
void (*func)(int dev_id, int argc, char **argv);
char *doc;
} command[] = {
- { "dev", cmd_dev, "Display local devices" },
- { "inq", cmd_inq, "Inquire remote devices" },
- { "scan", cmd_scan, "Scan for remote devices" },
- { "name", cmd_name, "Get name from remote device" },
- { "info", cmd_info, "Get information from remote device" },
- { "spinq", cmd_spinq, "Start periodic inquiry" },
- { "epinq", cmd_epinq, "Exit periodic inquiry" },
- { "cmd", cmd_cmd, "Submit arbitrary HCI commands" },
- { "con", cmd_con, "Display active connections" },
- { "cc", cmd_cc, "Create connection to remote device" },
- { "dc", cmd_dc, "Disconnect from remote device" },
- { "sr", cmd_sr, "Switch master/slave role" },
- { "cpt", cmd_cpt, "Change connection packet type" },
- { "rssi", cmd_rssi, "Display connection RSSI" },
- { "lq", cmd_lq, "Display link quality" },
- { "tpl", cmd_tpl, "Display transmit power level" },
- { "afh", cmd_afh, "Display AFH channel map" },
- { "lp", cmd_lp, "Set/display link policy settings" },
- { "lst", cmd_lst, "Set/display link supervision timeout" },
- { "auth", cmd_auth, "Request authentication" },
- { "enc", cmd_enc, "Set connection encryption" },
- { "key", cmd_key, "Change connection link key" },
- { "clkoff", cmd_clkoff, "Read clock offset" },
- { "clock", cmd_clock, "Read local or remote clock" },
- { "lescan", cmd_lescan, "Start LE scan" },
- { "lewladd", cmd_lewladd, "Add device to LE White List" },
- { "lecc", cmd_lecc, "Create a LE Connection" },
- { "ledc", cmd_ledc, "Disconnect a LE Connection" },
- { "lecup", cmd_lecup, "LE Connection Update" },
+ { "dev", cmd_dev, "Display local devices" },
+ { "inq", cmd_inq, "Inquire remote devices" },
+ { "scan", cmd_scan, "Scan for remote devices" },
+ { "name", cmd_name, "Get name from remote device" },
+ { "info", cmd_info, "Get information from remote device" },
+ { "spinq", cmd_spinq, "Start periodic inquiry" },
+ { "epinq", cmd_epinq, "Exit periodic inquiry" },
+ { "cmd", cmd_cmd, "Submit arbitrary HCI commands" },
+ { "con", cmd_con, "Display active connections" },
+ { "cc", cmd_cc, "Create connection to remote device" },
+ { "dc", cmd_dc, "Disconnect from remote device" },
+ { "sr", cmd_sr, "Switch master/slave role" },
+ { "cpt", cmd_cpt, "Change connection packet type" },
+ { "rssi", cmd_rssi, "Display connection RSSI" },
+ { "lq", cmd_lq, "Display link quality" },
+ { "tpl", cmd_tpl, "Display transmit power level" },
+ { "afh", cmd_afh, "Display AFH channel map" },
+ { "lp", cmd_lp, "Set/display link policy settings" },
+ { "lst", cmd_lst, "Set/display link supervision timeout" },
+ { "auth", cmd_auth, "Request authentication" },
+ { "enc", cmd_enc, "Set connection encryption" },
+ { "key", cmd_key, "Change connection link key" },
+ { "clkoff", cmd_clkoff, "Read clock offset" },
+ { "clock", cmd_clock, "Read local or remote clock" },
+ { "lescan", cmd_lescan, "Start LE scan" },
+ { "lewladd", cmd_lewladd, "Add device to LE White List" },
+ { "lecc", cmd_lecc, "Create a LE Connection" },
+ { "ledc", cmd_ledc, "Disconnect a LE Connection" },
+ { "lecup", cmd_lecup, "LE Connection Update" },
{ NULL, NULL, 0 }
};