As an application-oriented session layer protocol, OBEX encapsulates information data with object model and specifies ?transmission applications with session protocol; it has been widely used in various applications implemented by employing the information transmission as the underlying. OBEX is the underlying protocol of file transfer profile. In this article we introduce the OBEX protocol from object model and session protocol aspects and parse its binding implementation on file transfer. We also describe in detail the transplant steps of Android Bluetooth structure and build the OBEX programming platform of Antroid, moreover, we achieve the file or folder transfer between Android devices as well.%OBEX作为一种面向应用的会话层协议,以对象模型封装信息数据,以会话协议规范传输应用,在以信息传输为底层实现的各项应用中得到广泛的应用.OBEX是文件传输剖面的底层协议.从对象模型和会话协议两方面介绍OBEX协议,并解析其在文件传输上的绑定实现.详细介绍Android蓝牙结构的移植过程,建立Android的OBEX开发平台,并实现了Android设备间的文件或文件夹传输.
展开▼