Affix in a Nutshell: Affix - Open Source Bluetooth Protocol Stack for Linux | ||
---|---|---|
Prev | Appendix A. Installation instructions | Next |
The affix package installs programs, libraries, system scripts, configuration files and developer header files. The complete set is the following:
Table A-2. Affix components
Component | Description |
---|---|
/usr/bin/btctl | Main Affix control program. |
/usr/bin/btsrv | Affix server. Manage Bluetooth devices, services, link keys, PIN codes. |
/usr/bin/btobex | OBEX server: provides Bluetooth FTP and Object Pushing. |
/usr/bin/btftp | OBEX client: provides Bluetooth FTP and Object Pushing. |
/usr/bin/btmodem | Modem emulator (for emulating DUN over LAN). |
/usr/lib/libaffix.so | Core library: HCI API, Affix System API. |
/usr/lib/libaffix_utils.so | Affix utils. |
/usr/lib/libaffix_sdp.so | SDP service client library. |
/usr/lib/libaffix_sdpsvc.so | SDP service provider library. |
/usr/lib/libaffix_obex.so | OBEX library. |
/etc/affix/hwinit | Hardware initialization script. |
/etc/affix/hwinit.map | Device configuration database. |
/etc/affix/hwinit.opts | Device initialization parameters: name, class, security, scanning. |
/etc/affix/btsrv.conf | Affix server configuration program. |
/etc/affix/btsrv-gui | Affix server graphical helper (called by "btsrv"). |
/etc/affix/ppp_server | DUN and LAN PPP server initialization script (called by "btsrv"). |
/etc/affix/serial | Serial Port Profile server script (called by "btsrv"). |
/usr/include/affix/btcore.h | Core user space API data structures and functions declarations. |
/usr/include/affix/utils.h | Generic data structures and functions declarations. |
/usr/include/affix/sdp.h | SDP data types and identifiers. |
/usr/include/affix/sdpclt.h | SDP service client functions. |
/usr/include/affix/sdpsrv.h | SDP service provider functions. |
/usr/include/affix/obex.h | OBEX data structures and functions. |
The following requirements have to be fulfilled in order to install and use Affix package.
Install "affix-kernel" package. It installs necessary header files to /usr/include/affix directory, required to compile "affix" package.
Install "openobex" package. It is required if you would like to use Affix OBEX functionality.
Install "python" and "python GTK" library. It is used by PIN code helper application (/etc/affix/btsrv-gui).
In order to properly compile affix-kernel package please follow these steps:
Copy affix-xxx.tgz package to any directory (e.g. /usr/src/).
Unpack it: tar xvfz affix-xxx.tgz
Configure it: ./configure [options]
configure script accepts following options (--enable-FEATURE):
enable audio support (default): --enable-audio
enable SDP support (default): --enable-sdp
enable OBEX support (default): --enable-obex
enable Hands Free support - experimental: --enable-hfp
enable debugging support: --enable-debug
Compile it: make
Install it: make install
This step requires root privilege.
btctl - main control tool. So please consult "btctl" manual page for that.