diff options
author | MichaĆ Narajowski <michal.narajowski@codecoup.pl> | 2016-09-18 12:34:38 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2016-09-18 16:11:40 +0200 |
commit | 3bb8bd1badab8aef3224b394387e5f6bd37239b0 (patch) | |
tree | cc357078a9367b7d7d1e38e9dde7026d118e76b6 /lib/mgmt.h | |
parent | 8b1c08b05a3946a2bac6cbca3c179dc53215fffe (diff) | |
download | bluez-3bb8bd1badab8aef3224b394387e5f6bd37239b0.tar.gz |
lib/mgmt: Add Set Appearance command definition
Diffstat (limited to 'lib/mgmt.h')
-rw-r--r-- | lib/mgmt.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/mgmt.h b/lib/mgmt.h index 8de2616c2..798a05e48 100644 --- a/lib/mgmt.h +++ b/lib/mgmt.h @@ -541,6 +541,11 @@ struct mgmt_rp_read_ext_info { uint8_t eir[0]; } __packed; +#define MGMT_OP_SET_APPEARANCE 0x0043 +struct mgmt_cp_set_appearance { + uint16_t appearance; +} __packed; + #define MGMT_EV_CMD_COMPLETE 0x0001 struct mgmt_ev_cmd_complete { uint16_t opcode; @@ -827,6 +832,7 @@ static const char *mgmt_op[] = { "Get Advertising Size Information", /* 0x0040 */ "Start Limited Discovery", "Read Extended Controller Information", + "Set Appearance", }; static const char *mgmt_ev[] = { |