aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVille Tervo <ville.tervo@nokia.com>2010-09-29 16:56:20 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2010-09-30 10:27:47 +0300
commitc82d5e375ca2ae38d4152be6be58483061e2003c (patch)
tree9a4266f7933932029a08d4f0f4550f7a88f32571
parent652ae93351acf4510956eaa034283ce2d951eea8 (diff)
downloadbluez-hcidump-c82d5e375ca2ae38d4152be6be58483061e2003c.tar.gz
bluez-hcidump-c82d5e375ca2ae38d4152be6be58483061e2003c.tar.xz
bluez-hcidump-c82d5e375ca2ae38d4152be6be58483061e2003c.zip
Add master/slave parsing for le_conn_complete event
-rw-r--r--parser/hci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/parser/hci.c b/parser/hci.c
index 250ba58..ca72d88 100644
--- a/parser/hci.c
+++ b/parser/hci.c
@@ -3239,7 +3239,9 @@ static inline void evt_le_conn_complete_dump(int level, struct frame *frm)
evt_le_connection_complete *evt = frm->ptr;
p_indent(level, frm);
- printf("status 0x%2.2x handle %d\n", evt->status, btohs(evt->handle));
+ printf("status 0x%2.2x handle %d, role %s\n",
+ evt->status, btohs(evt->handle),
+ evt->role ? "slave" : "master");
}
static inline void le_meta_ev_dump(int level, struct frame *frm)