btmgmt: Add le command

This commit is contained in:
Johan Hedberg 2012-02-22 16:43:43 +02:00
parent ef084d1ebd
commit b7772ee442

View File

@ -1191,6 +1191,11 @@ static void cmd_hs(int mgmt_sk, uint16_t index, int argc, char **argv)
cmd_setting(mgmt_sk, index, MGMT_OP_SET_HS, argc, argv);
}
static void cmd_le(int mgmt_sk, uint16_t index, int argc, char **argv)
{
cmd_setting(mgmt_sk, index, MGMT_OP_SET_LE, argc, argv);
}
static void class_rsp(int mgmt_sk, uint16_t op, uint16_t id, uint8_t status,
void *rsp, uint16_t len, void *user_data)
{
@ -1755,6 +1760,7 @@ static struct {
{ "linksec", cmd_linksec, "Toggle link level security" },
{ "ssp", cmd_ssp, "Toggle SSP mode" },
{ "hs", cmd_hs, "Toggle HS Support" },
{ "le", cmd_le, "Toggle LE Support" },
{ "class", cmd_class, "Set device major/minor class" },
{ "disconnect", cmd_disconnect, "Disconnect device" },
{ "con", cmd_con, "List connections" },