mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-19 10:05:09 +08:00
btmgmt: Add le command
This commit is contained in:
parent
ef084d1ebd
commit
b7772ee442
@ -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" },
|
||||
|
Loading…
Reference in New Issue
Block a user