Metadata-Version: 2.1
Name: obex-capabilities
Version: 0.1.1
Summary: Simple script to generate OBEX capabilities XML filesat runtime for Bluetooth OBEX support
Home-page: https://www.postmarketos.org
Author: postmarketOS Developers
Author-email: info@postmarketos.org
License: GPLv3
Keywords: obex capabilities bluetooth
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE

# obex-capabilities

obex-capabilities is a simple script to generate OBEX capabilities XML files at 
runtime for Bluetooth OBEX support.

Interacts with oFono or ModemManager to retrieve the current network name,
IMEI, Mobile Country Code (MCC) and mobile Network Code (MNC).
This information is advertised to BlueZ's `obexd`.
If no modem is available, IMEI is replaced by `machine-id` and the network 
information is not advertised to `obexd`.

## Dependencies

- dbus-python: Interacting with DBus interfaces
- pytest: Test framework
- setuptools: Packaging

## Build & install

**Build**
```
python3 setup.py build
```

**Tests**
```
pytest
```

**Installation**
```
python3 setup.py install
```

## OBEX Capability specification

https://www.irda.org/standards/pubs/OBEX13.pdf

## License

[GPL-3.0-or-later](LICENSE)
