Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-doc
Path: blob/main/documentation/manual-pages/ja/man1/bthost.1
18093 views
.\" Copyright (c) 2003 Maksim Yevmenkin <[email protected]>
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" %Id: bthost.1,v 1.7 2003/05/21 22:19:00 max Exp %
.\" %FreeBSD: src/usr.bin/bluetooth/bthost/bthost.1,v 1.2 2004/05/19 10:43:34 ru Exp %
.\"
.\" $FreeBSD$
.Dd May 8, 2003
.Dt BTHOST 1
.Os
.Sh ̾��
.Nm bthost
.Nd Bluetooth �ۥ���̾�ȥץ��ȥ��륵���ӥ��ޥ���ץ쥯���ͤ򸡺�����
.Sh ��
.Nm
.Op Fl bhp
.Ar host_or_protocol
.Sh ����
.Nm
�桼�ƥ���ƥ��� Bluetooth �ۥ��Ȥȥץ��ȥ��륵���ӥ��ޥ���ץ쥯��
(Protocol Service Multiplexor (PSM)) �ͤ˴ؤ������򸡺����ޤ���
���ξ���ϡ�
.Pa /etc/bluetooth/hosts
��
.Pa /etc/bluetooth/protocols
�ե����뤫���������ޤ���
.Pp
�ۥ��ȥ⡼�ɤǤϡ��ۥ���̾�� Bluetooth ���ɥ쥹�δ֤�ñ���Ѵ�����ޤ���
�����ϡ��ۥ���̾�� Bluetooth ���ɥ쥹�Τɤ���Ǥ⹽���ޤ���
�ܥץ������ϡ��ǽ�ˡ�Bluetooth ���ɥ쥹�Ȥ��Ʋ�᤹�뤳�Ȥ��ߤޤ���
���줬���Ԥ���ȡ��ۥ���̾�Ȥ��Ƥ�����갷���ޤ���
Bluetooth ���ɥ쥹�ϥ�����ˤ�ä�ʬΥ���줿 6 �Ĥ� 16 �ʿ��Х��Ȥ���
����ޤ����㤨�С�
.Dq Li 01:02:03:04:05:06
�Ǥ���
�ۥ���̾�ϥɥåȤˤ�ä�ʬΥ���줿̾����������ޤ���
�㤨�С�
.Dq Li my.cell.phone
�Ǥ���
.Pp
�ץ��ȥ���⡼�ɤǤϡ��ץ��ȥ��륵���ӥ��ޥ���ץ쥯��̾��
������Ƥ�줿���δ֤�ñ���Ѵ�����ޤ���
�����ϡ��ץ��ȥ��륵���ӥ��ޥ���ץ쥯��̾�ޤ��ϳ�����Ƥ�줿����
�ɤ���Ǥ⹽���ޤ���
�ܥץ������ϡ��ǽ�ˡ�������Ƥ�줿���ͤȤ��Ʋ�᤹�뤳�Ȥ��ߤޤ���
.Pp
���ץ����ϼ����̤�Ǥ�:
.Bl -tag -width indent
.It Fl b
�ʷ�ʽ��Ϥ���Ф��ޤ���
.It Fl h
����ˡ�Υ�å�������ɽ�����ơ���λ���ޤ���
.It Fl p
�ץ��ȥ���⡼�ɤ�ͭ���ˤ��ޤ���
.El
.Pp
.Nm
�桼�ƥ���ƥ���ɸ����Ϥ˷�̤���Ϥ���
ɸ�२�顼�˥��顼��å���������Ϥ��ޤ���
���Ϥ�¿���ˤ錄��ޤ���
�����ˤ��β�ǽ���Τ��٤Ƥ���򼨤��ޤ�:
.Bd -literal -offset indent
% 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
.Ed
.Sh ��Ϣ�ե�����
.Bl -tag -width ".Pa /etc/bluetooth/hosts" -compact
.It Pa /etc/bluetooth/hosts
.It Pa /etc/bluetooth/protocols
.El
.Sh ����
.Ex -std
.Sh ��Ϣ����
.Xr bluetooth 3 ,
.Xr bluetooth.hosts 5 ,
.Xr bluetooth.protocols 5
.Sh ���
.An Maksim Yevmenkin Aq [email protected]