Giter Site home page Giter Site logo

wcisc's Introduction

Wirelessly Controlled Implantable System for Chronotherapy

This repository is for the mobile application part for the project Wirelessly Controlled Implantable System for Chronotherapy (WCISC).

App - Hardware Communication

The application and the external device adops the following messages for communication. Due to the buffer size of the characteristic of the external device, the length of the string used for communication should be less than 20.

Description Format
app -> configuration -> external device "c:%.2f;%.2f", configuration.timeInterval, configuration.dosage
app -> start signal (automatic) -> external device "a:%.2f", configuration.dosage
app -> start signal (manual) -> external device "i:%.2f", dosage
app -> stop signal -> external device "s:"
external device -> infusion log -> app "l:%d;%d", (int)dosage, status

The status given by external device have the following meaning:

  • 0: injection done
  • 1: external device not aligned
  • 2: external device cannot trigger injection
  • 3: pump needs refill

To Do List

  • Move the clock trigger from application to external device, so that the application runs in background, the external device runs automatically and send log data to app every time.
  • Enable the application to fetch configuration and status data from external device, so that it enables multiple application instances to control the same external device.
  • Logic on application that checks the configuration safety.
  • Prevent malicious connection to the external device.

wcisc's People

Contributors

frost-lee avatar

Watchers

James Cloos avatar  avatar

Forkers

sengeiou

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.