Skip to content

Commit

Permalink
Merge branch 'release/0.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Daisuke Baba committed Apr 5, 2018
2 parents 6a2e0a6 + 3b3ce35 commit 5e0a720
Show file tree
Hide file tree
Showing 20 changed files with 11,459 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ gulpfile.js
*.tgz
*.zip
*.log
*.pyc
.dockerignore
.node-version
*.test.js
*.test.js.map
deps/smartmeshsdk/ApiExplorer.egg-info
deps/smartmeshsdk/build
deps/smartmeshsdk/dist
deps/smartmeshsdk/installed_files.txt
deps/smartmeshsdk/python_exec_name
installed_files.txt
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@ language: node_js
node_js:
- 6.13
- 8.10
python:
- 2.7

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- bluez

sudo: require

install:
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
- $CXX --version
- sudo pip install pyserial
- npm install --unsafe-perm
- npm install
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
node-red-contrib-smartmesh
===

A Node-RED node for SmartMesh® USB Manager.
[![GitHub release](https://img.shields.io/github/release/CANDY-LINE/node-red-contrib-smartmesh.svg)](https://github.com/CANDY-LINE/node-red-contrib-smartmesh/releases/latest)
[![master Build Status](https://travis-ci.org/CANDY-LINE/node-red-contrib-smartmesh.svg?branch=master)](https://travis-ci.org/CANDY-LINE/node-red-contrib-smartmesh/)

# ALPHA RELEASE

Node-RED nodes for Analog Devices' SmartMesh® IP Motes and Manager

# Prerequisites

1. Python 2.7 (Python 2.6/3.x are NOT supported)
1. PySerial 3.4+

# How to install

Expand All @@ -11,6 +21,7 @@ For Windows users, use Docker or other Linux box VM to start Node-RED in order t

Run the following commands:
```
sudo pip install pyserial
cd ~/.node-red
npm install node-red-contrib-smartmesh
```
Expand All @@ -21,14 +32,14 @@ When you have trouble with connecting your BLE devices, reset your HCI socket by

```
# STOP Node-RED first!!
sudo hciconfig hci0 reset
```
And restart Node-RED.

## CANDY RED users

Run the following commands:
```
sudo pip install pyserial
cd $(npm -g root)/candy-red
sudo npm install --unsafe-perm node-red-contrib-smartmesh
```
Expand All @@ -50,6 +61,15 @@ $ NODE_ENV=development npm run build
$ NODE_ENV=development npm pack
```

### Shrinkwrap

```
$ rm -fr node_modules; \
rm -f npm-shrinkwrap.json; \
nodenv local 8.10.0; \
npm install;npm run freeze
```

# Revision History

* 0.1.0
Expand Down
6 changes: 6 additions & 0 deletions deps/python/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Python Files depending on SmartMesh SDK
===

1. path_hack.py ... A script to inject runtime additional dependencies
1. smsdk_install_verifier.py ... A script for verifying SmartMesh SDK installation
1. oapclient_proxy.py files ... OAP Client Proxy code
Loading

0 comments on commit 5e0a720

Please sign in to comment.