From 784ef1cd3186d13eddb597a5209eadba188e9d20 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 23 Dec 2013 16:40:54 +0100 Subject: [PATCH] android/bluetooth: Print command opcode in DUT mode functions Print command opcode in handle_le_test_mode_cmd and handle_dut_mode_send_cmd. This is valuable information on what kind of HCI command the Java layer tries to send. --- android/bluetooth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/bluetooth.c b/android/bluetooth.c index bece3b4e7..b687ef98c 100644 --- a/android/bluetooth.c +++ b/android/bluetooth.c @@ -2932,7 +2932,7 @@ static void handle_dut_mode_send_cmd(const void *buf, uint16_t len) return; } - error("dut_mode_send not supported"); + error("dut_mode_send not supported (cmd opcode %u)", cmd->opcode); /* TODO */ @@ -2950,7 +2950,7 @@ static void handle_le_test_mode_cmd(const void *buf, uint16_t len) return; } - error("le_test_mode not supported"); + error("le_test_mode not supported (cmd opcode %u)", cmd->opcode); /* TODO */ -- 2.47.3