Open main menu

CDOT Wiki β

Changes

Phonegap Healthcare Adapter Bluetooth Spec

1,514 bytes removed, 20:37, 26 January 2014
no edit summary
== Process Description of {{Admon/obsolete}} [[Category: NexJ_Express]][[category: NexJ Express PhoneGap]][[category: NexJ Express Research]] '''''NexJ Medical Peripheral Mobile Adapter''''' Will be designed to enable NexJ's Mobile Healthcare solutions to interact with Bluetooth Communication ==peripherals. : ''{{Main|Mobile Medical Device Integration}}'': ''{{See Also|Phonegap Healthcare Adapter Bluetooth Implementation|Phonegap Healthcare Adapter Design}}''
[[File:NexjPhoneGap.png|right]]== Bluetooth Details ==
=== Bluetooth Profile ===
mobile devices, including iOS and Android smartphones/tablets.
== Process Description of Bluetooth Communication == [[File:NexjPhoneGap.png|right]] === Communication Process Description for unpaired devices in brief: ===
* Enable Bluetooth on the mobile device and set the device to discoverable mode (as slave device).
* 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.
=== Communication Packet ===
Communication packet consists of two sections: the dataheader section and the data section.
==== Header Section ====
 
{| class="wikitable sortable" border="1" cellpadding="2" width="800px"
! Offset!! Type!! Field
|-
| 0 || Integer (2 byte) || Packet type (always equal to 2)
|-
| 2 || Integer (4 byte) || Packet length (exclusive of 60 byte of data header)
|-
| 6 || Integer (2 byte) || Device type – 767 or 02FF (Hex) for UA-767PBT, 321 or 0141 (Hex) for UC-321PBT
|-
| 8 || Byte || Flag
|-
| 9 || Integer (2 byte) || Year of measurement
|-
| 11 || Byte || Month of measurement
|-
| 12 || Byte || Day of measurement
|-
| 13 || Byte || Hour of measurement
|-
| 14 || Byte || Minute of measurement
|-
| 15 || Byte || Second of measurement
|-
| 16 || Integer (2 byte) || Year of transmission
|-
| 18 || Byte || Month of transmission
|-
| 19 || Byte || Day of transmission
|-
| 20 || Byte || Hour of transmission
|-
| 21 || Byte || Minute of transmission
|-
| 22 || Byte || Second of transmission
|-
| 23 || Byte (6) || Bluetooth ID of remote unit
|-
| 29 || Byte (6) || Bluetooth ID of access point (null)
|-
| 35 || Byte (12) || Serial Number of A&D PBT Series
|-
| 47 || Byte (10) || Reserved
|-
| 57 || Byte || Device Battery Status (Note 1)
|-
| 58 || Byte || Reserved
|-
| 59 || Byte || Device Firmware Revision and Hardware Revision (Note 2)
|}
==== Data Section ====
===== Blood Pressure Device Specification =====
 
{| class="wikitable sortable" border="1" cellpadding="2" width="500px"
! Offset!! Type!! Field
|-
| 0-1 || Printable Hex || Valid (= “80”) Non-“80” means invalid BP measurement.
|-
| 2-3 || Printable Hex || Systolic – Diastolic
|-
| 4-5 || Printable Hex || Diastolic
|-
| 6-7 || Printable Hex || Pulse rate per minute
|-
| 8-9 || Printable Hex || Mean Arterial Pressure (MAP)
|}
===== Glucose Device Specification =====
Kilogram Mode
 
{| class="wikitable" border="1" cellpadding="2" width="500px"
| S || T || , || + || 1 || 2 || 5 || . || 1 || 0 || k || g || <CR> || <LF>
|}
 
Pound Mode
 
{| class="wikitable" border="1" cellpadding="2" width="500px"
| S || T || , || + || 0 || 4 || 0 || 5 || . || 2 || l || b || <CR> || <LF>
|}