18616174857 / android-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App Setup

Getting Started

git clone git@bitbucket.org:yrobotinc/android-app.git

Making changes

  • Create own git branch off of: master, e.g feature/front-end
  • Create pull request to master when ready to merge so we can view code changes

Code Overview

  • The android-app project started from this project: https://github.com/adafruit/Bluefruit_LE_Connect_Android_V2, which is available on the Google Play store if you want to test out their released version. Many of the views and source files have been removed or modified.

  • The project uses MPAndroidChart for plotting data. A modified version of MPChartLib is in the root directory android-app/MPChartLib.

  • BLE 4.0+ (UART service only) is used for communication with the device.

  • Additional Code Overview ...


System Context

Full Hardware System
[    Exosuit "Device"   ]   <->   [ Android Device ]

K66 <--(SPI)--> nRF52832 <--(BLE)--> [Android App]
Mock System (Android-only)
            [          Android Device          ]

            [Mock BLE Communication <-> Android App]

Mock Hardware Module

This will function as a simulated back-end to temporarily replace bluetooth communication with our device to avoid relying on any hardware dependencies.

This module doesn't exist yet, but will be created and pushed to the repository.

The interface to your code will be something like:

// Rx
public void onUartRx(@NonNull byte[] data);

// Tx
public void sendUartTx(@NonNull byte[] data);

The encoding and decoding of these byte arrays will also be documented.


Android Device Support

Currently we are developing for:

  • Samsung Galaxy Tab A (2019, 10.1")
  • Samsung Galaxy S8+

About


Languages

Language:Java 100.0%