Bluetooth: Move bt_data_parse to dedicated source file
This moves bt_data_parse function outside of hci_core.c. Having it in separate file makes unit testing easier as the function do not use kernel objects, thus can be used in unit tests without a need for adding any mocks. Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
This commit is contained in:
parent
61559bfe3a
commit
871db2d277
3 changed files with 46 additions and 32 deletions
|
@ -34,6 +34,7 @@ if(CONFIG_BT_HCI_HOST)
|
|||
uuid.c
|
||||
addr.c
|
||||
buf.c
|
||||
data.c
|
||||
hci_core.c
|
||||
hci_common.c
|
||||
id.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue