| SDPQUERY(1) | General Commands Manual | SDPQUERY(1) |
sdpquery — Service
Discovery Protocol query utility
sdpquery |
[-NRX] [-d
device] -a
address command
[parameters ...] |
sdpquery |
[-NRX] [-c
path] -l
command [parameters ...] |
The sdpquery utility attempts to query the
specified Service Discovery Protocol (SDP) server. Remote SDP servers are
identified by their address. Connection to the local SDP server is made via
the control socket. The sdpquery utility retrieves
complete Service Records as directed and prints each record's attribute
ID/value list to standard output and error messages to standard error.
The options are as follows:
-a
addresssdpquery utility attempts to resolve the name via
bt_gethostbyname(3).
If no remote address is given, sdpquery attempts
to contact a local SDP server via the control socket.-c
path-d
devicesdpquery utility will use the best available.-l-N-R-XThe currently supported commands in
sdpquery are:
Browse
[group]Record
handle [handle...]Search
uuid [uuid...]Note that in order for a record to match, it must contain all the UUIDs in the ServiceSearchPattern and the maximum number is 12.
The sdpquery utility exits 0 on
success, and >0 if an error occurs.
The sdpquery command first appeared in
FreeBSD 5.3 as sdpcontrol.
It was ported to NetBSD 4.0 under its present name
by Iain Hibbert under the sponsorship of Itronix,
Inc.
Maksim Yevmenkin
<m_evmenkin@yahoo.com>
Iain Hibbert for Itronix, Inc.
| October 6, 2009 | NetBSD 11.0 |