Bluetooth: host: Refactor out advertiser roles from hci_core to adv

Refactor out the advertiser roles handling from hci_core.c to its own
source file in adv.c.
Advertising roles consists of legacy and extended advertiser, and
periodic advertiser.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2021-03-08 14:30:34 +01:00 committed by Johan Hedberg
commit 53cea4719d
7 changed files with 1671 additions and 1629 deletions

View file

@ -36,6 +36,10 @@ if(CONFIG_BT_HCI_HOST)
hci_common.c
id.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_BROADCASTER
adv.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_OBSERVER
scan.c