Changes

Jump to: navigation, search

Phonegap Healthcare Adapter

11 bytes removed, 16:02, 8 August 2012
no edit summary
== Problem ==
[[File:nexjMobile.png|thumb|leftright]]  
NexJ's mobile health solution requires its smartphone health coach application to have the ability to read medical measurement data from Bluetooth-capable devices, The devices included in the initial project proposal are as follows: blood pressure device, glucose level measuring device and a weight measuring device.
 
The health coach application will be designed to use PhoneGap, a rising technology that blurs the line between mobile operating systems. Implementing native Bluetooth adapters becomes only part of the solution. The health coach application will interact with a unified API in JavaScript to retrieve data from Bluetooth-capable medical peripherals.
 
The unified JavaScript API will be developed to utilize Phonegap's JavaScript API to make native code calls. These native calls will focus on a medical Bluetooth device adapter which also must be implemented. This Bluetooth adapter will have be extended for each supported measuring device and implemented on each supported mobile operating system.
* iOS 4.3 +
* Bluetooth SPP capable
 
=== [http://docs.phonegap.com/en/2.0.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android Android] ===
* Eclipse 3.6.2 +
* Understand iOS best practice development.
* Understand iOS PhoneGap plugin best practices.
 
==== Android ====
* Bluetooth does '''not''' work on the emulator.
* Understand ADK best practice development.
* Understand ADK PhoneGap plugin best practices.
 
=== PhoneGap API ===
* Design a unified API in JavaScript that will allow the NexJ application to interact with Bluetooth devices.
* Define a project architecture that facilitates multiple device compatibility.
 
=== Blood Pressure Device ===
==== iOS ====
* Create native Bluetooth adapter for this device.
 
==== Android ====
* Create native Bluetooth adapter for this device.
 
=== Glucose Level Device ===
==== iOS ====
* Extend native Bluetooth adapter for this device.
 
==== Android ====
* Extend native Bluetooth adapter for this device.
 
=== Weight Scale Device ===
==== iOS ====
=== Slave devices/Access Points ===
mobile devices, including iOS and Android smartphones/tablets.
 
 
=== Communication Process Description for unpaired devices in brief:===
*Enable Bluetooth on the mobile device and set the device to discoverable mode (as slave device).
*Once the PIN is matched, the A&D Bluetooth device sends the measurement data to the mobile device using the specified format such as weight scale packet followed by the Confirmation Packet Response.
*Upon the success of connection, the two devices are paired. Then PIN code is no longer needed afterward.
 
=== Communication Process Description for paired devices in brief: ===
*Enable Bluetooth on the mobile device and set the device to discoverable mode.
*Make a measurement on selected A&D Bluetooth device. Upon the completion of measurement, the A&D Bluetooth device checks its memory for previously paired address of mobile device and directly sends the measurement data to the mobile device using the specified format, followed by the Confirmation Packet Response.
 
=== Transmission Specification ===
==== Header Section ====
===== Glucose Device Specification =====
===== Weight Scale Specification =====
 
== Project Repository ==
** A bitbucket issue, example: ''issue-14 OR bug-14''
** A feature name, example: ''cryptography-bug''
 
== Resources ==

Navigation menu