head 1.3; access; symbols pkgsrc-2014Q4:1.2.0.24 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.22 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.20 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.18 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.16 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.14 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.12 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.10 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.8 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.6 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.4 pkgsrc-2012Q2-base:1.2 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.3 date 2014.12.30.08.39.13; author plunky; state dead; branches; next 1.2; commitid xDe1iwc4jmyyC24y; 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.3 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-ad,v 1.2 2012/02/15 09:30:23 plunky Exp $ --- lib/hci_lib.h.orig 2011-12-22 00:18:58.000000000 +0000 +++ lib/hci_lib.h @@@@ -30,6 +30,7 @@@@ extern "C" { #endif +#if 0 struct hci_request { uint16_t ogf; uint16_t ocf; @@@@ -142,11 +143,15 @@@@ char *hci_bustostr(int bus); char *hci_typetostr(int type); char *hci_dtypetostr(int type); char *hci_dflagstostr(uint32_t flags); +#endif char *hci_ptypetostr(unsigned int ptype); +#if 0 int hci_strtoptype(char *str, unsigned int *val); char *hci_scoptypetostr(unsigned int ptype); int hci_strtoscoptype(char *str, unsigned int *val); +#endif char *hci_lptostr(unsigned int ptype); +#if 0 int hci_strtolp(char *str, unsigned int *val); char *hci_lmtostr(unsigned int ptype); int hci_strtolm(char *str, unsigned int *val); @@@@ -154,9 +159,13 @@@@ int hci_strtolm(char *str, unsigned int char *hci_cmdtostr(unsigned int cmd); char *hci_commandstostr(uint8_t *commands, char *pref, int width); +#endif char *hci_vertostr(unsigned int ver); +#if 0 int hci_strtover(char *str, unsigned int *ver); +#endif char *lmp_vertostr(unsigned int ver); +#if 0 int lmp_strtover(char *str, unsigned int *ver); char *lmp_featurestostr(uint8_t *features, char *pref, int width); @@@@ -225,6 +234,7 @@@@ static inline int hci_filter_test_opcode { return (f->opcode == opcode); } +#endif #ifdef __cplusplus } @ 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-ad,v 1.1.1.1 2010/12/19 20:20:43 plunky Exp $ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- bluetooth/hci_lib.h.orig 2010-09-30 08:53:08.000000000 +0000 +++ bluetooth/hci_lib.h d13 1 a13 1 @@@@ -135,11 +136,15 @@@@ char *hci_bustostr(int bus); d29 1 a29 1 @@@@ -147,9 +152,13 @@@@ int hci_strtolm(char *str, unsigned int d43 1 a43 1 @@@@ -218,6 +227,7 @@@@ static inline int hci_filter_test_opcode @ 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-ad,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-ad,v 1.1.1.1 2010/12/19 20:20:43 plunky Exp $ d3 2 a4 2 --- lib/hci_lib.h.orig 2011-12-22 00:18:58.000000000 +0000 +++ lib/hci_lib.h d13 1 a13 1 @@@@ -142,11 +143,15 @@@@ char *hci_bustostr(int bus); d29 1 a29 1 @@@@ -154,9 +159,13 @@@@ int hci_strtolm(char *str, unsigned int d43 1 a43 1 @@@@ -225,6 +234,7 @@@@ static inline int hci_filter_test_opcode @ 1.1.1.1.10.2 log @revert previous (sorry, was supposed to be on HEAD) @ text @d3 2 a4 2 --- bluetooth/hci_lib.h.orig 2010-09-30 08:53:08.000000000 +0000 +++ bluetooth/hci_lib.h d13 1 a13 1 @@@@ -135,11 +136,15 @@@@ char *hci_bustostr(int bus); d29 1 a29 1 @@@@ -147,9 +152,13 @@@@ int hci_strtolm(char *str, unsigned int d43 1 a43 1 @@@@ -218,6 +227,7 @@@@ static inline int hci_filter_test_opcode @