zephyrproject-rtos/zephyr
Bluetooth, host: API to expose local controller version & manufacturer info to application
开放
#41,754 创建于 2022年1月12日
EnhancementGood first issuearea: APIarea: Bluetootharea: Bluetooth Host
仓库指标
- 星标
- (15,249 个星标)
- PR 合并指标
- (平均合并 4天 21小时) (30 天内合并 1,000 个 PR)
描述
Now one can print local controller and HCI info using BT_INFO, originating from https://github.com/zephyrproject-rtos/zephyr/blob/45a693a2a92412c8677cae9c3111bb4369272f42/subsys/bluetooth/host/hci_core.c#L3081
This is good, but it is desirable to have this information available to the application trough an API.
Something similar to bt_dev_get_info() which returns bt_dev as a pointer, or it could be more specific, returning one of the
hci_version;
lmp_version;
hci_revision;
lmp_subversion;
manufacturer;
Parameters.