zephyrproject-rtos/zephyr

Bluetooth, host: API to expose local controller version & manufacturer info to application

オープン

#41,754 opened on 2022/01/12

 (3 件のコメント) (0 件のリアクション) (1 人の担当者)C (9,144 件のフォーク)batch import
EnhancementGood first issuearea: APIarea: Bluetootharea: Bluetooth Host

Repository metrics

Stars
 (15,249 個のスター)
PR merge metrics
 (平均マージ 4d 21h) (30d で 1,000 merged PRs)

説明

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.

コントリビューターガイド