Giter VIP home page Giter VIP logo

libblepp's Introduction

libble++
---------

Implementation of Bluetooth Low Energy functions in modern C++, without
the BlueZ DBUS API.

Includes:
* Scanning for bluetooth packets

* Implementation of the GATT profile and ATT protocol

* Lots of comments, complete with references to the specific part of
  the Bluetooth 4.0 standard.

* Example programs

Design:

Clean, modern C++ with callbacks. Feed it with lambdas (or whatever you like)
to perform an event happens. Access provided to the raw socket FD, so 
you can use select(), poll() or blocking IO.



The example programs are:

* lescan_simple: Simplest possible program for scanning for devices. Only 2 non boilerplate lines.

* lescan: A "proper" scanning program that cleans up properly. It's got the same 2 lines of BLE related code and a bit of pretty standard unix for dealing with non blocking I/O and signals.

* temperature: A program for logging temperature values from a device providing a standard temperature characteristic. Very short to indicate the usave, but not much error checking.


Building the library
--------------------

There are currently autoconf (./configure) and CMake options. It's not
a complex library to build, so either option should work fine.

libblepp's People

Contributors

edrosten avatar dylanetaft avatar evg-zhabotinsky avatar dirkheinke avatar ajuniper avatar ebostijancic avatar miek avatar niklasad1 avatar

Watchers

Itamar Hassin avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.