Giter Club home page Giter Club logo

bleconf's Introduction

blemanager

About

blemanager is a configuration management system that uses BLE as a transport. The intent is to use this application to do out-of-box system setup and post setup diagnostics.

Architecture

The native transport is GATT over BLE. The server supports the Device Information Service and a non-standard Diagnostics service.

The Device Infomormation Service can be found in the GATT profile specs here: https://www.bluetooth.com/specifications/gatt

The Diagnostics service defines the following GATT characteristics (service uuid - 0xFDB9)

  1. Device Status - 1f113f2c-cc01-4f03-9c5c-4b273ed631bb
  2. Firmmware Download Status - 915f96a6-3788-4271-a7ea-6820e98896b8
  3. WebPA Status - 9d5d3aae-51e3-4767-a055-59febd71de9d
  4. WiFi Radio1 Status - 59a99d5a-3d2f-4265-af13-316c7c76b1f0
  5. WiFi Radio2 Status - 9d6cf473-4fa6-4868-bf2b-c310f38df0c8
  6. RF Status - 91b9497e-634c-408a-9f77-8375b1461b8b

Implementation Details

This code was originally developed on Raspberry Pi running Raspian using BlueZ with HCI and c++ 11. The code is strucuted in such a way that it should be easy to provide additional transports like TCP, other BLE APIs, etc.

Dependencies

  • Hostapd 2.8
  • BlueZ 5.47
  • cJSON 1.7.12

Build

  1. Set these three
export HOSTAPD_HOME=/home/pi/work/hostapd-2.8/
export BLUEZ_HOME=/home/pi/work/bluez-5.47
export CJSON_HOME=/home/pi/work/cJSON-1.7.12/
  1. make

BLE Advertisement and GATT Characteristics

BLE Advertisement

BLE Advertisement

Device Information Service

Device Information Service

Diagnostics Service

Diagnostics Service

bleconf's People

Contributors

vijs avatar

Watchers

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.