OpenOBEX-1.7.2

Introduction to OpenOBEX

The OpenOBEX package contains a library that implements Object Exchange Protocol used for binary file transfers between devices.

This package is known to build and work properly using an LFS-8.1 platform.

Package Information

OpenOBEX Dependencies

Required

CMake-3.9.1 and libusb-1.0.21

Recommended

Optional

Doxygen-1.8.13, libxslt-1.1.29, OpenJDK-1.8.0.141, and xmlto-0.0.28

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/openobex

Installation of OpenOBEX

OpenOBEX installs a udev rule that requires a group named plugdev. Create that group as the root user:

groupadd -g 90 plugdev

Install OpenOBEX by running the following commands:

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=/usr      \
      -DCMAKE_INSTALL_LIBDIR=/usr/lib  \
      -DCMAKE_BUILD_TYPE=Release       \
      -Wno-dev                         \
      .. &&
make

This package does not come with a test suite.

Now, as the root user:

make install &&
if [ -d /usr/share/doc/openobex ]; then
  mv -fv /usr/share/doc/{openobex,openobex-1.7.2}
fi

Command Explanations

-DCMAKE_BUILD_TYPE=Release: This switch is used to apply higher level of the compiler optimizations.

-Wno-dev: This switch is used to suppress warnings that are meant for the author of the CMakeLists.txt files.

mv -fv ...: Moves the documentation to a versioned directory, if it has been created.

Contents

Installed Program: obex-check-device
Installed Library: libopenobex.so
Installed Directory: /usr/include/openobex, /usr/lib/cmake/OpenObex-1.7.1, and /usr/share/doc/openobex-1.7.1

Short Descriptions

obex-check-device

is a tool that helps udev find connectable OBEX USB devices.

libopenobex.so

contains the OpenOBEX API functions.

Last updated on 2017-08-28 20:59:34 -0700