From 7fbea8e4421d04d23747ad4dbcc31aa2d10e0c74 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 18 Nov 2003 11:38:31 +0000 Subject: Display all 8 bytes of the features --- tools/hciconfig.c | 10 +++++++--- tools/hcitool.c | 3 ++- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/hciconfig.c b/tools/hciconfig.c index 932ec4e7..ee7afb75 100644 --- a/tools/hciconfig.c +++ b/tools/hciconfig.c @@ -97,13 +97,17 @@ void print_link_mode(struct hci_dev_info *di) void print_dev_features(struct hci_dev_info *di, int format) { if (!format) { - printf("\tFeatures: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x\n", + printf("\tFeatures: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x\n", di->features[0], di->features[1], - di->features[2], di->features[3] ); + di->features[2], di->features[3], + di->features[4], di->features[5], + di->features[6], di->features[7] ); } else { - printf("\tFeatures: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x\n%s\n", + printf("\tFeatures: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x\n%s\n", di->features[0], di->features[1], di->features[2], di->features[3], + di->features[4], di->features[5], + di->features[6], di->features[7], lmp_featurestostr(di->features, "\t\t", 3)); } } diff --git a/tools/hcitool.c b/tools/hcitool.c index 59235270..cd546735 100644 --- a/tools/hcitool.c +++ b/tools/hcitool.c @@ -462,8 +462,9 @@ static void cmd_info(int dev_id, int argc, char **argv) } if (hci_read_remote_features(dd, handle, features, 20000) == 0) { - printf("\tFeatures: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x\n%s\n", + printf("\tFeatures: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x\n%s\n", features[0], features[1], features[2], features[3], + features[4], features[5], features[6], features[7], lmp_featurestostr(features, "\t\t", 3)); } -- cgit