summaryrefslogtreecommitdiff
path: root/usr.bin/sdpquery
diff options
context:
space:
mode:
authorplunky <plunky@NetBSD.org>2009-12-05 16:54:13 +0000
committerplunky <plunky@NetBSD.org>2009-12-05 16:54:13 +0000
commite16149e27c73cb0a54f78df0a1c8624599c02b7c (patch)
tree530acae44ce2c4defa2a07c42928f16a6c83c7b4 /usr.bin/sdpquery
parent0a653c3d77d6353d7ae3dac29f595705fbd9b147 (diff)
add alias for Plug'n'Play Information service UUID.
(This is sometimes used in HID devices to provide manufacturer information)
Diffstat (limited to 'usr.bin/sdpquery')
-rw-r--r--usr.bin/sdpquery/command.c6
-rw-r--r--usr.bin/sdpquery/sdpquery.14
2 files changed, 7 insertions, 3 deletions
diff --git a/usr.bin/sdpquery/command.c b/usr.bin/sdpquery/command.c
index 75cdfdaa991..db4297ac2ef 100644
--- a/usr.bin/sdpquery/command.c
+++ b/usr.bin/sdpquery/command.c
@@ -1,4 +1,4 @@
-/* $NetBSD: command.c,v 1.2 2009/10/06 19:21:17 plunky Exp $ */
+/* $NetBSD: command.c,v 1.3 2009/12/05 16:54:13 plunky Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: command.c,v 1.2 2009/10/06 19:21:17 plunky Exp $");
+__RCSID("$NetBSD: command.c,v 1.3 2009/12/05 16:54:13 plunky Exp $");
#include <bluetooth.h>
#include <err.h>
@@ -82,6 +82,8 @@ static struct alias {
"OPUSH", "Object Push Service" },
{ SDP_SERVICE_CLASS_PANU,
"PANU", "Personal Area Networking User Service" },
+ { SDP_SERVICE_CLASS_PNP_INFORMATION,
+ "PNP", "PNP Information Service" },
{ SDP_UUID_PROTOCOL_RFCOMM,
"RFCOMM", "RFCOMM Protocol" },
{ SDP_UUID_PROTOCOL_SDP,
diff --git a/usr.bin/sdpquery/sdpquery.1 b/usr.bin/sdpquery/sdpquery.1
index 9205fa29270..e70f68083a1 100644
--- a/usr.bin/sdpquery/sdpquery.1
+++ b/usr.bin/sdpquery/sdpquery.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: sdpquery.1,v 1.13 2009/10/06 21:39:58 wiz Exp $
+.\" $NetBSD: sdpquery.1,v 1.14 2009/12/05 16:54:13 plunky Exp $
.\"
.\" Copyright (c) 2006 Itronix Inc.
.\" All rights reserved.
@@ -178,6 +178,8 @@ Object Exchange Protocol
Object Push Service
.It PANU
Personal Area Networking User Service
+.It PNP
+Plug'n'Play Information Service
.It RFCOMM
RFCOMM Protocol
.It SDP