====== Configuring obex-data-server ======
This document describes configuring of obex-data-server **__0.4__** and later versions.
==== Configuration files ====
Configuration files are usually located at **/etc/obex-data-server** (this might be different according to file system prefix you choose while building ods)
^ File ^ Description ^
| ''**capability.xml**'' | Template for FTP capability object (x-obex/capability) served by FTP server |
| ''**imaging_capabilities.xml**'' | Template for BIP Imaging capabilities object (x-bt/img-capabilities) served by BIP server|
==== Configuration variables ====
There are several variables that can be included in otherwise static configuration files. Variable is defined using this syntax:
{$[|]}
Examples of variables:
{$ODS_VER}
{$MEM_FREE}
{$MEM_FREE|/mnt/drive}
List of variables currently available:
^ Variable ^ Description ^
| ''**{$ODS_VER}**'' | This is replaced with obex-data-server version in use |
| ''**%%{$MEM_FREE|}%%**'' | Replaced by free space on selected path. path argument is optional (if not specified, path of running server is used) |
| ''**%%{$MEM_USED|}%%**'' | Same as MEM_FREE, but provides used space on selected path. |