GithubHelp home page GithubHelp logo

gswebspace / gateway-config Goto Github PK

View Code? Open in Web Editor NEW

This project forked from helium/gateway-config

0.0 0.0 0.0 1.78 MB

The Helium configuration application. Enables configuring the Helium Hotspot over Bluetooth

License: Apache License 2.0

Makefile 0.44% Erlang 99.01% Shell 0.54%

gateway-config's Introduction

Travis License Erlang Versions Build Tool

gateway-config

The Helium configuration application. Manages the configuration of the Helium Hotspot over Bluetooth, and ties together various services over dbus.

Features

  • Exposes a GATT BLE tree for configuring the hotspot over Bluetooth.
  • Signals gateway configuration (public key and Wi-Fi credentials) over dbus.
  • Listens for GPS location on SPI and signals the current Position of the hotspot over dbus.

Install

To build this project, make sure you have libdbus-1-dev (or its equivalent) and cmake installed on your development machine.

To run this project, make sure you have dbus, bluez and connman installed and running on your development machine.

Clone the repo and make a release of the package:

git clone https://github.com/helium/gateway-config.git
cd gateway-config
make && make release

Copy the generated release to its final destination.

cp -R _build/prod/rel/gateway_config /opt/gateway_config

Copy the dbus config file into the system.d folder to set permissions for the config application. The exact location of dbus configuration may differ on your Linux installation.

cp -R _build/prod/rel/gateway_config/config/com.helium.Config.conf /etc/dbus-1/system.d/

Restart dbus to pick up the new configuration. This varies per Linux distribution.

On a Void Linux development system:

sudo sv restart dbus

Start the gateway-config service.

On the Helium Hotspot the service is started on system boot.

On a development system you can start the service by starting a rebar shell:

sudo ./rebar3 shell

Or cd to the release directory and run the service in the background:

cd _build/prod/rel/gateway_config
sudo bin/gateway_config start

gateway-config's People

Contributors

madninja avatar fvasquez avatar vagabond avatar evanmcc 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.