Coder Social home page Coder Social logo

ble-test's Introduction

ble-test

A set of tests for the Go ble library github.com/go-ble/ble

Making a snap

The following steps were followed to make this into a snap.

  1. mkdir snap
  2. mkdir ble-test
  3. cd ble-test
  4. snapcraft init
  5. vim snap/snapcraft.yaml
name: ble-test
version: git
summary: Bluetooth test
description: |
  Bluetooth test

grade: devel
confinement: devmode

parts:
  ble-test:
    source: .
    plugin: go
    go-importpath: github.com/RobHumphris/ble-test

apps:
  ble-test:
    command: ble-test
  1. git clone https://github.com/RobHumphris/ble-test.git
  2. cd ble-test
  3. snapcraft
  4. sudo snap install ble-test_0+git.cb54c62_amd64.snap --devmode --dangerous
  5. Registered the snap name ble-snap https://dashboard.snapcraft.io/register-snap/
  6. snapcraft login
  7. snapcraft push ble-test_0+git.cb54c62_amd64.snap

To get the snap running on the Dell Edge Gateway 3001 (obviously the version numbers and ip addresses will change...)

  1. scp ./ble-test_0+git.cb54c62_amd64.snap [email protected]:~
  2. Login to the Gateway ssh [email protected]
  3. sudo snap install ble-test_0+git.cb54c62_amd64.snap --devmode --dangerous
  4. sudo ble-test

ble-test's People

Contributors

robhumphris avatar

Watchers

 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.