bthost(1)
NAME
Arrayvalues
SYNOPSIS
bthost [-bhp] host_or_protocol
DESCRIPTION
Array/etc/bluetooth/hosts and /etc/bluetooth/protocols files.
Arraye.g., ``my.cell.phone''.
Arrayattempts to interpret it as an assigned number.
The options are as follows:
-b Produce brief output.
-h Display usage message and exit.
-p Activate protocol mode.
- Arrayis an example that demonstrates all of the possibilities:
- % bthost localhost
Host localhost has address FF:FF:FF:00:00:00
% bthost ff:ff:ff:00:00:00
Host FF:FF:FF:00:00:00 has name localhost
% bthost -b localhost
FF:FF:FF:00:00:00
% bthost -b ff:ff:ff:00:00:00
localhost
% bthost do.not.exists
do.not.exists: Unknown host
% bthost 0:0:0:0:0:0
00:00:00:00:00:00: Unknown host
% bthost -p sdp
Protocol/Service Multiplexor sdp has number 1
% bthost -p 3
Protocol/Service Multiplexor rfcomm has number 3
% bthost -bp HID-Control
17
% bthost -p foo
foo: Unknown Protocol/Service Multiplexor
FILES
/etc/bluetooth/hosts
/etc/bluetooth/protocols
EXIT STATUS SEE ALSO
bluetooth(3), bluetooth.hosts(5), bluetooth.protocols(5)