Skip to content

samdware/openice-lite-example-masimo-rad8

Repository files navigation

OpenICE-lite Example: Masimo Rad-8 Dongle

Build Status

This repository provides an example of using the OpenICE-lite Core to collect data from a Masimo Rad-8 device and publish through the MQTT broker.

Requirements

In order to run the application, you need:

  • Java 1.8 installed
  • MQTT Broker credential

Configuration

You can configure the application via the included masimo.properties file. Detailed options can be referred from OpenICE-lite Core API documentation. These are some basic options:

  • project_name: default root for the MQTT topic
  • broker: MQTT broker address (in the form of tcp://address:port, separated by commas if using a broker cluster)
  • username: (optional) user name to login to the MQTT broker
  • password: (optional) password to login to the MQTT broker
  • device-port: serial port identifier (e.g., ttyUSB0)

How to use

To run the application, execute the following commands:

  • On Unix system
./gradlew run
  • On Windows system
gradlew.bat run

DISCLAIMER

USE OF THIS SOFTWARE IN ANY WAY AND RELIANCE ON THE CONTENTS IS DONE AT THE USER'S DISCRETION AND RISK. YOU HEREBY AGREE THAT YOU WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGE OR HARM THAT RESULTS FROM SUCH USE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About

OpenICE-lite Example: Masimo Rad-8 Dongle

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages