mgmt: Use a common structure for powered, discoverable and connectable

The events, commands and responses to these modes are represented by
identical management messages. By having a unified struct for all of
them quite a lot of code can simplified and reused.
2 files changed