From 9314547b1e80ec0fb23c3eea4d44bdcc4d26eb25 Mon Sep 17 00:00:00 2001 From: Grzegorz Kolodziejczyk Date: Fri, 17 Oct 2014 15:38:16 +0200 Subject: [PATCH] android/tester: Add att pdu remote receive debug log This adds additional logs with received opcode of att pdu by remote --- android/tester-gatt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/tester-gatt.c b/android/tester-gatt.c index d12361959..c0065a759 100644 --- a/android/tester-gatt.c +++ b/android/tester-gatt.c @@ -1457,6 +1457,8 @@ static void gatt_cid_hook_cb(const void *data, uint16_t len, void *user_data) const uint8_t *pdu = data; struct iovec *gatt_pdu = queue_peek_head(t_data->pdus); + tester_debug("Received att pdu with opcode 0x%02x", pdu[0]); + switch (pdu[0]) { case L2CAP_ATT_EXCHANGE_MTU_REQ: tester_print("Exchange MTU request received."); -- 2.47.3