Translation

(itstool) path: sect3/para
The <acronym>OBEX</acronym> server and client are implemented by <application>obexapp</application>, which can be installed using the <package>comms/obexapp</package> package or port.
123/1830
Context English Chinese (Simplified) (zh_CN) State
The list of services registered with the local <acronym>SDP</acronym> server can be obtained by issuing a <acronym>SDP</acronym> browse query via the local control channel:
通过本地控制通道发起<acronym>SDP</acronym>浏览查询,可以获得在本地<acronym>SDP</acronym>服务器上注册的服务列表:
<prompt>#</prompt> <userinput>sdpcontrol -l browse</userinput>
<prompt>#</prompt> <userinput>sdpcontrol -l browse</userinput>
<acronym>OBEX</acronym> Object Push (<acronym>OPUSH</acronym>)
<acronym>OBEX</acronym> 对象推送 (<acronym>OPUSH</acronym>)
<primary>OBEX</primary>
<primary>OBEX</primary>
Object Exchange (<acronym>OBEX</acronym>) is a widely used protocol for simple file transfers between mobile devices. Its main use is in infrared communication, where it is used for generic file transfers between notebooks or <acronym>PDA</acronym>s, and for sending business cards or calendar entries between cellular phones and other devices with Personal Information Manager (<acronym>PIM</acronym>) applications.
对象交换(<acronym>OBEX</acronym>)是一种广泛使用的协议,用于移动设备之间的简单文件传输。它主要用于红外通信,用于在笔记本和<acronym>PDA</acronym>之间传输文件,以及在手机和其他带有个人信息管理器(<acronym>PIM</acronym>)应用程序的设备之间发送名片或日历条目。
The <acronym>OBEX</acronym> server and client are implemented by <application>obexapp</application>, which can be installed using the <package>comms/obexapp</package> package or port.
<acronym>OBEX</acronym>服务器和客户端由<application>obexapp</application>实现,可以从 ports 或 package 安装<package>comms/obexapp</package>。
The <acronym>OBEX</acronym> client is used to push and/or pull objects from the <acronym>OBEX</acronym> server. An example object is a business card or an appointment. The <acronym>OBEX</acronym> client can obtain the <acronym>RFCOMM</acronym> channel number from the remote device via <acronym>SDP</acronym>. This can be done by specifying the service name instead of the <acronym>RFCOMM</acronym> channel number. Supported service names are: <literal>IrMC</literal>, <literal>FTRN</literal>, and <literal>OPUSH</literal>. It is also possible to specify the <acronym>RFCOMM</acronym> channel as a number. Below is an example of an <acronym>OBEX</acronym> session where the device information object is pulled from the cellular phone, and a new object, the business card, is pushed into the phone's directory.
<acronym>OBEX</acronym>客户端用于从<acronym>OBEX</acronym>服务器推送和/或拉取对象。一个例子是一张名片或一个预约。<acronym>OBEX</acronym>客户端可以通过<acronym>SDP</acronym>从远程设备获取<acronym>RFCOMM</acronym>通道号。这可以通过指定服务名称而非 <acronym>RFCOMM</acronym> 通道号来实现。支持的服务名称有:<literal>IrMC</literal>、<literal>FTRN</literal>和<literal>OPUSH</literal>。也可以直接指定 <acronym>RFCOMM</acronym> 通道号(数字)。下面是一个<acronym>OBEX</acronym>会话的例子,在这个例子中,设备信息对象被从手机中拉出,一个新的对象,即名片,被推送到手机的目录中。
<prompt>%</prompt> <userinput>obexapp -a 00:80:37:29:19:a4 -C IrMC</userinput>
obex&gt; get telecom/devinfo.txt devinfo-t39.txt
Success, response: OK, Success (0x20)
obex&gt; put new.vcf
Success, response: OK, Success (0x20)
obex&gt; di
Success, response: OK, Success (0x20)
<prompt>%</prompt> <userinput>obexapp -a 00:80:37:29:19:a4 -C IrMC</userinput>
obex&gt; get telecom/devinfo.txt devinfo-t39.txt
Success, response: OK, Success (0x20)
obex&gt; put new.vcf
Success, response: OK, Success (0x20)
obex&gt; di
Success, response: OK, Success (0x20)
In order to provide the <acronym>OPUSH</acronym> service, <citerefentry><refentrytitle>sdpd</refentrytitle><manvolnum>8</manvolnum></citerefentry> must be running and a root folder, where all incoming objects will be stored, must be created. The default path to the root folder is <filename>/var/spool/obex</filename>. Finally, start the <acronym>OBEX</acronym> server on a valid <acronym>RFCOMM</acronym> channel number. The <acronym>OBEX</acronym> server will automatically register the <acronym>OPUSH</acronym> service with the local <acronym>SDP</acronym> daemon. The example below shows how to start the <acronym>OBEX</acronym> server.
为了提供<acronym>OPUSH</acronym>服务,需要运行<citerefentry><refentrytitle>sdpd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,并且创建一个根文件夹,用于存储所有传入对象。根文件夹的默认路径是<filename>/var/spool/obex</filename>。最后,在有效的<acronym>RFCOMM</acronym>信道号上启动<acronym>OBEX</acronym>服务器。<acronym>OBEX</acronym>服务器将自动将<acronym>OPUSH</acronym>服务注册到本地<acronym>SDP</acronym>守护进程。下面的示例演示如何启动<acronym>OBEX</acronym>服务器。
<prompt>#</prompt> <userinput>obexapp -s -C 10</userinput>
<prompt>#</prompt> <userinput>obexapp -s -C 10</userinput>
Serial Port Profile (<acronym>SPP</acronym>)
串口配置文件 (<acronym>SPP</acronym>)

Loading…

The <acronym>OBEX</acronym> server and client are implemented by <application>obexapp</application>, which can be installed using the <package>comms/obexapp</package> package or port.
<acronym>OBEX</acronym>服务器和客户端由<application>obexapp</application>实现,可以从 ports 或 package 安装<package>comms/obexapp</package>。
a month ago
Browse all component changes

Glossary

English Chinese (Simplified) (zh_CN)
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect3/para
Labels
No labels currently set.
Source string location
book.translate.xml:64768
Source string age
9 months ago
Translation file
books/zh_CN/handbook.po, string 10582