10986ab12SMaksim Yevmenkin.\" Copyright (c) 2003 Maksim Yevmenkin <m_evmenkin@yahoo.com> 20986ab12SMaksim Yevmenkin.\" All rights reserved. 30986ab12SMaksim Yevmenkin.\" 40986ab12SMaksim Yevmenkin.\" Redistribution and use in source and binary forms, with or without 50986ab12SMaksim Yevmenkin.\" modification, are permitted provided that the following conditions 60986ab12SMaksim Yevmenkin.\" are met: 70986ab12SMaksim Yevmenkin.\" 1. Redistributions of source code must retain the above copyright 80986ab12SMaksim Yevmenkin.\" notice, this list of conditions and the following disclaimer. 90986ab12SMaksim Yevmenkin.\" 2. Redistributions in binary form must reproduce the above copyright 100986ab12SMaksim Yevmenkin.\" notice, this list of conditions and the following disclaimer in the 110986ab12SMaksim Yevmenkin.\" documentation and/or other materials provided with the distribution. 120986ab12SMaksim Yevmenkin.\" 130986ab12SMaksim Yevmenkin.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 140986ab12SMaksim Yevmenkin.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 150986ab12SMaksim Yevmenkin.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 160986ab12SMaksim Yevmenkin.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 170986ab12SMaksim Yevmenkin.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 180986ab12SMaksim Yevmenkin.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 190986ab12SMaksim Yevmenkin.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 200986ab12SMaksim Yevmenkin.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 210986ab12SMaksim Yevmenkin.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 220986ab12SMaksim Yevmenkin.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 230986ab12SMaksim Yevmenkin.\" SUCH DAMAGE. 240986ab12SMaksim Yevmenkin.\" 250986ab12SMaksim Yevmenkin.\" $Id: sdpcontrol.8,v 1.1 2003/09/08 02:27:27 max Exp $ 260986ab12SMaksim Yevmenkin.\" $FreeBSD$ 270986ab12SMaksim Yevmenkin.\" 280986ab12SMaksim Yevmenkin.Dd September 7, 2003 290986ab12SMaksim Yevmenkin.Dt SDPCONTROL 8 300986ab12SMaksim Yevmenkin.Os 310986ab12SMaksim Yevmenkin.Sh NAME 320986ab12SMaksim Yevmenkin.Nm spdcontrol 330986ab12SMaksim Yevmenkin.Nd SDP configuration utility 340986ab12SMaksim Yevmenkin.Sh SYNOPSIS 350986ab12SMaksim Yevmenkin.Nm 360986ab12SMaksim Yevmenkin.Op Fl h 370986ab12SMaksim Yevmenkin.Fl a Ar BD_ADDR 380986ab12SMaksim Yevmenkin.Ar command 390986ab12SMaksim Yevmenkin.Op Ar parameters ... 400986ab12SMaksim Yevmenkin.Sh DESCRIPTION 410986ab12SMaksim YevmenkinThe 420986ab12SMaksim Yevmenkin.Nm 430986ab12SMaksim Yevmenkinutility connects to the remote device with the specified BD_ADDR and attempts 440986ab12SMaksim Yevmenkinto send query via Service Discovery Protocol (SDP). 450986ab12SMaksim YevmenkinThe 460986ab12SMaksim Yevmenkin.Nm 470986ab12SMaksim Yevmenkinutility will use Service Search Attribute Request and will print results to 480986ab12SMaksim Yevmenkinthe standard output and error messages to the standard error. 490986ab12SMaksim Yevmenkin.Pp 500986ab12SMaksim YevmenkinThe options are as follows: 510986ab12SMaksim Yevmenkin.Bl -tag -width indent 520986ab12SMaksim Yevmenkin.It Fl a Ar BD_ADDR 530986ab12SMaksim YevmenkinConnect to the remote device with the specified BD_ADDR. 540986ab12SMaksim YevmenkinExample: 550986ab12SMaksim Yevmenkin.Fl a Li 00:01:02:03:04:05 . 560986ab12SMaksim Yevmenkin.It Fl h 570986ab12SMaksim YevmenkinDisplay usage message and exit. 580986ab12SMaksim Yevmenkin.It Ar command 590986ab12SMaksim YevmenkinOne of the supported commands (see below). 600986ab12SMaksim YevmenkinSpecial command 610986ab12SMaksim Yevmenkin.Cm help 620986ab12SMaksim Yevmenkincan be used to obtain the list of all supported commands. 630986ab12SMaksim YevmenkinTo get more information about specific command use 640986ab12SMaksim Yevmenkin.Cm help Ar command . 650986ab12SMaksim Yevmenkin.It Ar parameters 660986ab12SMaksim YevmenkinOne or more optional space separated command parameters. 670986ab12SMaksim Yevmenkin.El 680986ab12SMaksim Yevmenkin.Sh COMMANDS 690986ab12SMaksim YevmenkinThe currently supported node commands in 700986ab12SMaksim Yevmenkin.Nm 710986ab12SMaksim Yevmenkinare: 720986ab12SMaksim Yevmenkin.Pp 730986ab12SMaksim Yevmenkin.Bl -tag -offset indent -compact 740986ab12SMaksim Yevmenkin.It Cm Browse 750986ab12SMaksim Yevmenkin.It Cm Search 760986ab12SMaksim Yevmenkin.El 770986ab12SMaksim Yevmenkin.Sh CAVEAT 780986ab12SMaksim YevmenkinCurrently, the 790986ab12SMaksim Yevmenkin.Nm 800986ab12SMaksim Yevmenkinutility only implements client side functionality. 810986ab12SMaksim Yevmenkin.Pp 820986ab12SMaksim YevmenkinThe 830986ab12SMaksim Yevmenkin.Nm 840986ab12SMaksim Yevmenkinutility only request the following attributes from the remote SDP server: 850986ab12SMaksim Yevmenkin.Bl -enum -offset indent -compact 860986ab12SMaksim Yevmenkin.It 870986ab12SMaksim YevmenkinService Record Handle 880986ab12SMaksim Yevmenkin.It 890986ab12SMaksim YevmenkinService Class ID List 900986ab12SMaksim Yevmenkin.It 910986ab12SMaksim YevmenkinProtocol Descriptor List 920986ab12SMaksim Yevmenkin.It 930986ab12SMaksim YevmenkinBluetooth Profile Descriptor List 940986ab12SMaksim Yevmenkin.El 950986ab12SMaksim Yevmenkin.Sh DIAGNOSTICS 960986ab12SMaksim Yevmenkin.Ex -std 970986ab12SMaksim Yevmenkin.Sh SEE ALSO 980986ab12SMaksim Yevmenkin.Xr sdp 3 990986ab12SMaksim Yevmenkin.Sh AUTHORS 1000986ab12SMaksim Yevmenkin.An Maksim Yevmenkin Aq m_evmenkin@yahoo.com 101