Wiki

This version (10 May 2021 11:41) was approved by Rajiv Mulay.

Android SDK

Description

The ADI Study Watch provides an object-oriented interface for interacting with ADI's VSM study watch platform. User application can use the SDK to receive complete bytes packets over a physical interface (USB or BLE) and decode it. The functionality is organized into applications, manages the sensors, system-level functionality (i.e. file system), and algorithms. The hierarchy of objects within the SDK mirrors the applications present on the device. Each application has its own object within the SDK hierarchy, which is used to interact with that application.

Brief guide on using the SDK

  • Firmware Setup - To set up firmware for the Study Watch follow the steps provided in Firmware Upgrade Guide
  • Getting started with SDK - For details click Using SDK

Sample Implementations

Example 1: Streaming EDA sensor data - Start and subscribe to the EDA stream; the watch starts sending stream through BLE, SDK receives packets and sends back to the user callback for EDA data.

Example 2: Taking input from internal storage file - Reading a file in android can be tricky, this example explaining how to write dcb from a file to the Study watch.

Example 3: Running SDK commands in ExecutorService - How to run SDK commands on a separate thread as an executor service; this allows users to run commands without blocking their UI threads.

Example 4: Streaming ADPD sensor data - configurations required to stream all 4 LEDs simultaneously for ADPD.

SDK Documentation

Documentation is located at - SDK Documentation

resources/healthcare/android-sdk.txt · Last modified: 10 May 2021 11:41 by Rajiv Mulay