summaryrefslogtreecommitdiff
path: root/android/tester-gatt.c
diff options
context:
space:
mode:
authorGrzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>2014-10-17 15:38:16 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-10-24 14:04:33 +0200
commit9314547b1e80ec0fb23c3eea4d44bdcc4d26eb25 (patch)
treee4e8f9ec01a4f688a57ae8d0b13f19a4654334b5 /android/tester-gatt.c
parentfbf70daad46d036958bca73d322317abb15a14ae (diff)
downloadbluez-9314547b1e80ec0fb23c3eea4d44bdcc4d26eb25.tar.gz
android/tester: Add att pdu remote receive debug log
This adds additional logs with received opcode of att pdu by remote
Diffstat (limited to 'android/tester-gatt.c')
-rw-r--r--android/tester-gatt.c2
1 files changed, 2 insertions, 0 deletions
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.");