mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-26 05:34:23 +08:00
Show controller type and bus type for every device
This commit is contained in:
parent
4aa4bdb16a
commit
3e0db2b27a
@ -1587,10 +1587,12 @@ static void print_dev_hdr(struct hci_dev_info *di)
|
||||
|
||||
ba2str(&di->bdaddr, addr);
|
||||
|
||||
printf("%s:\tType: %s\n", di->name, hci_dtypetostr(di->type) );
|
||||
printf("\tBD Address: %s ACL MTU: %d:%d SCO MTU: %d:%d\n",
|
||||
addr, di->acl_mtu, di->acl_pkts,
|
||||
di->sco_mtu, di->sco_pkts);
|
||||
printf("%s:\tType: %s Bus: %s\n", di->name,
|
||||
hci_typetostr(di->type >> 4),
|
||||
hci_bustostr(di->type & 0x0f));
|
||||
printf("\tBD Address: %s ACL MTU: %d:%d SCO MTU: %d:%d\n",
|
||||
addr, di->acl_mtu, di->acl_pkts,
|
||||
di->sco_mtu, di->sco_pkts);
|
||||
}
|
||||
|
||||
static void print_dev_info(int ctl, struct hci_dev_info *di)
|
||||
|
Loading…
Reference in New Issue
Block a user