diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-11-23 14:09:03 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-11-23 14:09:03 +0100 |
commit | 745dcb2e327360481a42975110e8e88b38c48e6d (patch) | |
tree | 5374f867cf31c2aae8c2cde2426a4b3d1d5e8479 | |
parent | 7ca8db9cfaad5c282cb76e6fe3db74524a2df379 (diff) | |
download | bluez-745dcb2e327360481a42975110e8e88b38c48e6d.tar.gz |
lib: Add data structures for Get Advertising Size Information command
-rw-r--r-- | lib/mgmt.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/mgmt.h b/lib/mgmt.h index b370a33d3..d76bdbbf5 100644 --- a/lib/mgmt.h +++ b/lib/mgmt.h @@ -515,6 +515,19 @@ struct mgmt_rp_remove_advertising { uint8_t instance; } __packed; +#define MGMT_OP_GET_ADV_SIZE_INFO 0x0040 +struct mgmt_cp_get_adv_size_info { + uint8_t instance; + uint32_t flags; +} __packed; +#define MGMT_GET_ADV_SIZE_INFO_SIZE 5 +struct mgmt_rp_get_adv_size_info { + uint8_t instance; + uint32_t flags; + uint8_t max_adv_data_len; + uint8_t max_scan_rsp_len; +} __packed; + #define MGMT_EV_CMD_COMPLETE 0x0001 struct mgmt_ev_cmd_complete { uint16_t opcode; |