Parent: cf7795a6ad50ab379bb6a0dceff2b0dc99ed5456
Author: Daniel Winkler <danielwinkler@google.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-10-30 02:45:21
Tree: d5481d835847b8d65534d235e7f4fa10705e3c48
advertising: Query LE TX range at manager initialization This patch calls the new MGMT command to get controller capabilities, and parses the min and max LE tx power range when the manager is initialized. This will be used to populate a client-facing dbus entry so that the client will know the advertising capabilities of the controller before registering an advertisement. This patch is tested by manually verifying the data is parsed correctly from the MGMT response.
Diffstat
| M | lib/mgmt.h | | | 14 | ++++++++++- - - - |
| M | src/adapter.c | | | 4 | ++++ |
| M | src/adapter.h | | | 1 | + |
| M | src/advertising.c | | | 56 | ++++++++++++++++++++++++++++++++++++++++ |
| M | tools/btmgmt.c | | | 12 | ++++++- - - - - - |
5 files changed, 77 insertions(+), 10 deletions(-)