diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-07-02 20:57:45 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-02 20:57:45 +0200 |
commit | f8eecdc8f7a82de43aec65d87d6a4de1f337eac0 (patch) | |
tree | 7af2b800b023200abd96809e461f9cc134fabb4b /monitor/control.c | |
parent | 2517c3cb65e460efccd66175eae80c45beb153b6 (diff) | |
download | bluez-f8eecdc8f7a82de43aec65d87d6a4de1f337eac0.tar.gz |
monitor: Decode Unconfigured Index Added control event
Diffstat (limited to 'monitor/control.c')
-rw-r--r-- | monitor/control.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/monitor/control.c b/monitor/control.c index c4568d807..f00fe5844 100644 --- a/monitor/control.c +++ b/monitor/control.c @@ -70,6 +70,13 @@ static void free_data(void *user_data) free(data); } +static void mgmt_unconf_index_added(uint16_t len, const void *buf) +{ + printf("@ Unconfigured Index Added\n"); + + packet_hexdump(buf, len); +} + static void mgmt_index_added(uint16_t len, const void *buf) { printf("@ Index Added\n"); @@ -688,6 +695,9 @@ void control_message(uint16_t opcode, const void *data, uint16_t size) case MGMT_EV_NEW_CONN_PARAM: mgmt_new_conn_param(size, data); break; + case MGMT_EV_UNCONF_INDEX_ADDED: + mgmt_unconf_index_added(size, data); + break; default: printf("* Unknown control (code %d len %d)\n", opcode, size); packet_hexdump(data, size); |