tools/btmgmt: Add device flags commands
authorTedd Ho-Jeong An <tedd.an@intel.com>
Wed, 26 May 2021 05:13:07 +0000 (22:13 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:35 +0000 (19:08 +0530)
commitb64f7cc270514312fb6e4ef52dca03cd34061dd5
tree3429e5f41062cc3a4d540faa386d82a99d9b6fc6
parentee8a2f6a9cc60bb078c330bbe2e3d4edd5619a81
tools/btmgmt: Add device flags commands

This patch adds commands for get/set device flags mgmt ops.

Usage:

get-flags [-t type] <address>
        -t type    Address Type
                      0 BR/EDR
                      1 LE Public
                      2 LE Random

set-flags [-f flags] [-t type] <address>
        -t type    Address Type
                      0 BR/EDR
                      1 LE Public
                      2 LE Random
        -f flags   Device flag.
                      1 Remote Wake Enable

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/btmgmt.c