How the VentiVader app works

 

Software Technical Stack for Ventivader 


The current software platform and technical stack for Ventivader consists of the following modules/platforms. 

  1. Universal native iOS app (iPhone/iPad) 
  2. Universal native android app (phone/tablet)
  3. Ventivader BLE middleware running on RasberryPi 4 Model B. 
  4. Ventivader GUI app running on RasberryPi 4 Model B.


Technology Stack


  1. iOS app developed using Swift 5.5, iOS native SDKs, XCode 11.4 and open-source SDKs/tools.
  2. Android apps are developed using Kotlin, Android SDKs, Android Studio and open-source SDKs/tools.
  3. Rasberry Pi middleware and apps are developed using Python3 scripts running on Raspbian. The BLE service is a GATT server developed using Blue Z 5.0. The UI app running on Raspberry Pi is developed using Tkinter. 
  4. We have an experimental Arduino board where the user can control the inputs to ventivader via apps. The current air interface between apps and Ardunio device is Wifi. 


Native iOS/Android apps 


The apps are developed using native iOS and android tools & frameworks provided by Apple and Google. Authentication is done using OpenID based OAuth2 protocols. All API calls are secured over SSL. Both Wifi and BLE layers will be secured via API tokens. There is no user data being persisted currently on the mobile device. In the future if data needs to be persisted on device it will be secured by security best practices recommended by iOS and android technologies (secure enclave/keychain/secure shared preferences/encrypted client database).


Raspberry Pi Middleware


The Raspberry Pi middleware consists of Python3 scripts to 

  1. Run a GATT service on the rPi over BLE
  2. Transmit/Receive a BLE characteristic to/from apps
  3. Program GPIO pins on rPI to control solenoid valves on Ventivader. 
  4. Program GPIO pins on rPi to read/write data to/from pressure & flow control sensors. 


Ventivader Service


Ventivader Service is a HIPAA compliant API and microservices layer hosted in a cloud infrastructure. The data is secured by industry-standard SHA-256 encryption. 

image365

VentiVader System Diagram