logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sdptool - control and interrogate SDP servers

Author

       Maxim Krasnyansky <maxk@qualcomm.com>, Edd Dumbill <ejad@debian.org>

Commands

       The following commands are available.  In all cases bdaddr specifies the device to search or browse.   If
       local is used for bdaddr, then the local SDP database is searched.

       Services  are  identified  and  manipulated with a 4-byte record_handle (NOT the service name). To find a
       service's record_handle, look for the "Service RecHandle" line in the search or browse results

       search[--bdaddrbdaddr][--tree][--raw][--xml]service_name
              Search for services..

              Known  service  names  are  DID, SP, DUN, LAN, FAX, OPUSH, FTP, HS, HF, HFAG, SAP, NAP, GN,  PANU,
              HCRP, HID, CIP, A2SRC, A2SNK, AVRCT, AVRTG, UDIUE, UDITE and SYNCML.

       browse[--tree][--raw][--xml][bdaddr]
              Browse all available services on the device specified by a Bluetooth address as a parameter.

       records[--tree][--raw][--xml]bdaddr
              Retrieve all possible service records.

       add[--handle=N--channel=N]
              Add a service to the local SDP database.

              You can specify a handle for this record using the --handle option.

              You can specify a channel to add the service on using the --channel option.

              NOTE:  Local  adapters configuration will not be updated and this command should  be used only for
              SDP testing.

       delrecord_handle
              Remove a service from the local SDP database.

              NOTE: Local adapters configuration will not be updated and this command should be  used  only  for
              SDP testing.

       get[--tree][--raw][--xml][--bdaddrbdaddr]record_handle
              Retrieve a service from the local SDP database.

       setattrrecord_handleattrib_idattrib_value
              Set or add an attribute to an SDP record.

       setseqrecord_handleattrib_idattrib_values
              Set or add an attribute sequence to an SDP record.

Description

sdptool(1)  provides  the  interface for performing SDP queries on Bluetooth devices, and administering a
       local SDP database.

Examples

          $ sdptool browse 00:80:98:24:15:6D
          $ sdptool browse local
          $ sdptool add DUN
          $ sdptool del 0x10000

Name

       sdptool - control and interrogate SDP servers

Options

--help Displays help on using sdptool.

Reporting Bugs

Resources

Synopsis

sdptool [OPTIONS] [COMMAND [PARAMETERS]]

See Also