RADAR-base/radar-android-pebble

Name: radar-android-pebble

Owner: RADAR-CNS

Owner: RADAR-CNS

Description: Pebble plugin for RADAR passive remote monitoring app

Created: 2017-03-23 11:05:23.0

Updated: 2017-10-09 14:30:01.0

Pushed: 2017-11-07 09:31:01.0

Homepage: null

Size: 2251

Language: C

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Pebble RADAR-pRMT plugin

Pebble plugin for the RADAR-AndroidApplication app, to be run on an Android 4.4 (or later) device with Bluetooth Low Energy (Bluetooth 4.0 or later), to interact with wearable devices.

Installation

First, add the plugin code to your application:

sitories {
maven { url  'http://dl.bintray.com/radar-cns/org.radarcns' }


ndencies {
compile 'org.radarcns:radar-android-pebble:0.1-alpha.1'

To run this app with a Pebble device, the RADAR-CNS app must be installed on the Pebble. For now, install the Pebble SDK on your machine. Go to the pebble/ directory. There we can use the Pebble command line tools. First, build the app with

le build

Then run the following sequence:

  1. Pair the Pebble with the app on the endpoint.
  2. Disable Bluetooth on the endpoint.
  3. Enable Bluetooth on your phone.
  4. Pair the Pebble with the Pebble app on your phone.
  5. Open the developer menu on the Pebble app on your phone and enable developer mode.
  6. Install the app with pebble install --phone 1.2.3.4 with the IP address stated in the Pebble app on your phone.
  7. Disable Bluetooth on your phone. If desired, remove the pairing with your phone and the Pebble 2 device.
  8. Enable Bluetooth on the endpoint.

The RADAR-CNS Pebble app will now send data to the endpoint.

Contributing

Code should be formatted using the Google Java Code Style Guide, except using 4 spaces as indentation. Make a pull request once the code is working.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.