unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (FreeBSD-5.4-RELEASE)
Page:
Section:
Apropos / Subsearch:
optional field

SDPCONTROL(8)             BSD System Manager's Manual            SDPCONTROL(8)

NAME
     spdcontrol -- SDP query utility

SYNOPSIS
     spdcontrol -h
     spdcontrol -a address command [parameters ...]
     spdcontrol -l [-c path] command [parameters ...]

DESCRIPTION
     The spdcontrol utility attempts to query specified Service Discovery Pro-
     tocol (SDP) server.  Remote SDP servers are identified by their address.
     Connection to the local SDP server is made via control socket.  The
     spdcontrol utility will use Service Search Attribute Request and will
     print results to the standard output and error messages to the standard
     error.

     The options are as follows:

     -a address
             Connect to the remote device with the specified address.  The
             address can be specified as BD_ADDR or name.  If name was speci-
             fied then the spdcontrol utility will attempt to resolve the name
             via bt_gethostbyname(3).

     -c path
             Specify path to the control socket.  The default path is
             /var/run/sdp.

     -h      Display usage message and exit.

     -l      Query the local SDP server via the control socket.

     command
             One of the supported commands (see below).  Special command help
             can be used to obtain the list of all supported commands.  To get
             more information about specific command use help command.

     parameters
             One or more optional space separated command parameters.

COMMANDS
     The currently supported node commands in spdcontrol are:

           Browse
           Search

CAVEAT
     The spdcontrol utility only implements client side functionality.

     The spdcontrol utility only requests the following attributes from the
     SDP server:

           1.   Service Record Handle
           2.   Service Class ID List
           3.   Protocol Descriptor List
           4.   Bluetooth Profile Descriptor List

DIAGNOSTICS
     The spdcontrol utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
     bluetooth(3), sdp(3)

AUTHORS
     Maksim Yevmenkin <m_evmenkinATyahoo.com>

BSD                            September 7, 2003                           BSD