head 1.5; access; symbols pkgsrc-2014Q4:1.4.0.12 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.10 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.8 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.6 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.4 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.2 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.3.0.10 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.8 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.6 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.4 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.2 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.2.0.2 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.1.1.1.0.10 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.8 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.6 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.4 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.2 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2014.12.30.08.39.13; author plunky; state dead; branches; next 1.4; commitid xDe1iwc4jmyyC24y; 1.4 date 2013.09.10.14.44.03; author joerg; state Exp; branches; next 1.3; commitid znAIfcBo14LyWT4x; 1.3 date 2012.05.21.07.01.32; author plunky; state Exp; branches; next 1.2; 1.2 date 2012.02.15.09.30.23; author plunky; state Exp; branches; next 1.1; 1.1 date 2010.12.19.20.20.43; author plunky; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.12.19.20.20.43; author plunky; state Exp; branches 1.1.1.1.8.1 1.1.1.1.10.1; next ; 1.1.1.1.8.1 date 2014.12.27.10.45.25; author plunky; state dead; branches; next 1.1.1.1.8.2; commitid Zhdxw2THSI8SpF3y; 1.1.1.1.8.2 date 2014.12.27.11.59.22; author plunky; state Exp; branches; next ; commitid k1YWkRBu6qN8PF3y; 1.1.1.1.10.1 date 2012.02.15.09.17.17; author plunky; state Exp; branches; next 1.1.1.1.10.2; 1.1.1.1.10.2 date 2012.02.15.09.26.54; author plunky; state Exp; branches; next ; desc @@ 1.5 log @update to latest upstream version. Major changes include hcidump has now been merged with the main BlueZ distribution, so the version number reflects that release hcidump is moved from sbin to bin (and man section 8 -> 1) TCP/IP server mode was removed parsing added for SAP and SMP profiles, and A2MP signals @ text @$NetBSD: patch-ah,v 1.4 2013/09/10 14:44:03 joerg Exp $ --- parser/parser.h.orig 2012-11-30 08:29:41.000000000 +0000 +++ parser/parser.h @@@@ -36,7 +36,7 @@@@ struct frame { uint32_t data_len; void *ptr; uint32_t len; - uint16_t dev_id; + char *dev_id; uint8_t in; uint8_t master; uint16_t handle; @@@@ -134,9 +134,9 @@@@ static inline void p_indent(int level, s localtime_r(&t, &tm); printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, - tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); + tm.tm_hour, tm.tm_min, tm.tm_sec, (unsigned long)f->ts.tv_usec); } else - printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); + printf("%8lu.%06lu ", f->ts.tv_sec, (unsigned long)f->ts.tv_usec); } printf("%c ", (f->in ? '>' : '<')); parser.state = 1; @ 1.4 log @Fix format string. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.3 2012/05/21 07:01:32 plunky Exp $ @ 1.3 log @update to BlueZ hcidump 2.4 This release adds support for A2MP, L2CAP create/move channel, SAP and additional AVRCP decoding. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.2 2012/02/15 09:30:23 plunky Exp $ d3 1 a3 1 --- parser/parser.h.orig 2012-04-20 19:28:19.000000000 +0000 d14 12 @ 1.2 log @update to BlueZ HCIdump 2.2, changes are basically increased parsing for L2CAP packets, new parsing for AVCTP and AVRCP protocols, some endian bugfixes and the archive now contains the files needed from bluez-libs so we don't need to get that separately. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.1.1.1 2010/12/19 20:20:43 plunky Exp $ d3 1 a3 1 --- parser/parser.h.orig 2011-12-22 00:18:58.000000000 +0000 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- parser/parser.h.orig 2007-02-18 03:39:02.000000000 +0000 d5 1 a5 1 @@@@ -35,7 +35,7 @@@@ struct frame { @ 1.1.1.1 log @HCIdump reads raw HCI data coming from and going to a Bluetooth device and prints to screen commands, events and data in a human-readable form. Optionally, the dump can be written to a file rather than parsed, and the dump file can be parsed in a subsequent moment. This is a patched standalone version not requiring bluez-libs, suitable for use with the netbt Bluetooth stack [originating] in NetBSD. -- the sysutils/hcidump package (which this will replace) is a descendent of a previous version of the bluez-hcidump package. @ text @@ 1.1.1.1.8.1 log @there is a later version already in pkgsrc as sysutils/netbt-hcidump @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.1.1.1 2010/12/19 20:20:43 plunky Exp $ @ 1.1.1.1.8.2 log @re-add these files. (previous commit my mistake, wrong tag) @ text @@ 1.1.1.1.10.1 log @update to BlueZ HCIdump 2.2, changes are basically increased parsing for L2CAP packets, new parsing for AVCTP and AVRCP protocols, some endian bugfixes and the archive now contains the files needed from bluez-libs so we don't need to get that separately. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.1.1.1 2010/12/19 20:20:43 plunky Exp $ d3 1 a3 1 --- parser/parser.h.orig 2011-12-22 00:18:58.000000000 +0000 d5 1 a5 1 @@@@ -36,7 +36,7 @@@@ struct frame { @ 1.1.1.1.10.2 log @revert previous (sorry, was supposed to be on HEAD) @ text @d3 1 a3 1 --- parser/parser.h.orig 2007-02-18 03:39:02.000000000 +0000 d5 1 a5 1 @@@@ -35,7 +35,7 @@@@ struct frame { @