Skip to content

electronshepherds/otslib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

otslib is an implementation of the Bluetooth Object Transfer Service (OTS) Client. It is a work in progress and currently does not support all functionality outlined by the OTS Specification.

Built With

Getting Started

The library can be incorporated into a yocto build system using the meta-electronshepherds bitbake layer. Alternatively it can be built manually using the following steps.

Further documentation for the library can be found here.

Prerequisites

To build the library some minimal requirements are needed.

bluez

The needed bluez requirement can be satisfied by installing the bluetooth development package:

sudo apt-get install libbluetooth-dev

gattlib

The needed gattlib requirement is a bit harder to satisfy. You must build and install the library manually:

  1. Get gattlib
git clone https://github.com/labapart/gattlib.git
  1. Build gattlib
cd gattlib
mkdir build
cd build
cmake -DGATTLIB_BUILD_DOCS=OFF -DCMAKE_BUILD_TYPE=Release ..
make
  1. Install gattlib
sudo make install

Build and Install

Before you can use the library you must build it.

  1. Get otslib
git clone https://github.com/electronshepherds/otslib.git
  1. Build otslib
mkdir build
cd build
cmake ..
make
  1. Install otslib
sudo make install

Usage

Usage examples can be found in the examples directory.

Contributing

Contributions are welcome! Please submit a pull request if you would like to contribute to this project.

License

Distributed under the MIT License. See LICENSE.txt for more information.

Acknowledgments

About

Bluetooth Object Transfer Service Library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published