SDPCONTROL(8)
π sdpcontrol(8) π
okay so welcome to sdpcontrol, bestie β straight out of the System Manager's Manual, section 8, and it is literally the Bluetooth Service Discovery Protocol query utility β¨ no cap.
π NAME π
sdpcontrol β Bluetooth Service Discovery Protocol query utility π¦
β¨ SYNOPSIS β¨
sdpcontrol -h
sdpcontrol -a address command [parameters ...]
sdpcontrol -l [-c path] command [parameters ...]
π¦ DESCRIPTION π¦
So the sdpcontrol utility attempts to query the specified Service Discovery Protocol (SDP) server. Remote SDP servers are identified by their address, and connection to the local SDP server is made via the control socket. The sdpcontrol utility uses Service Search Attribute Requests and prints results to standard output and error messages to standard error. it's giving "tiny utility, very focused" energy π
The options are as follows β yes, all of them, we don't skip:
-a addressβ connect to the remote device with the specified address. The address can be specified asBD_ADDRor a name. If a name was specified, thesdpcontrolutility attempts to resolve the name viabt_gethostbyname(3). π«Ά-c pathβ specify path to the control socket. The default path is/var/run/sdp. iconic default, honestly.-hβ display usage message and exit. short and sweet, periodt.-lβ query the local SDP server via the control socket. staying home, vibe check passed πcommandβ one of the supported commands (see below). The special commandhelpcan be used to obtain a list of all supported commands. To get more information about a specific command, usehelp command. iykyk π₯parametersβ one or more optional space separated command parameters.
π₯ COMMANDS π₯
The currently supported node commands in sdpcontrol are:
BrowseSearch
that's the whole roster, and honestly? they ate. π
π EXIT STATUS π
The sdpcontrol utility exits 0 on success, and >0 if an error occurs. simple as that, no dramatic plot twist π
π SEE ALSO π
bluetooth(3), sdp(3) β go read those too, bestie, they're literally right there π
π AUTHORS π
Maksim Yevmenkin <m_evmenkin@yahoo.com> β main character energy, we love to see it π
π CAVEATS π
The sdpcontrol utility only implements client side functionality. so don't come for it expecting server behavior, okay? π
The sdpcontrol utility only requests the following attributes from the SDP server:
- Service Record Handle
- Service Class ID List
- Protocol Descriptor List
- Bluetooth Profile Descriptor List
that's the list, that's the whole list, fr fr π
mwah π this lil page is from Debian, dated February 7, 2015 β now go query something cute π«Άβ¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2003 Maksim Yevmenkin <m_evmenkin@yahoo.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms