Changes

Jump to: navigation, search

Phonegap Healthcare Adapter

78 bytes added, 11:48, 8 August 2012
Project Functionality Description
== Project Functionality Description ==
 
[[File:NexjPhoneGap.png]]
=== Project task ===
=== Slave devices/Bluetooth® Access Points ===
mobile devices, including iOS and Android smartphones/tablets.
[[File:NexjPhoneGap.png]]
=== PhoneGap Plugin Functionalities ===
The PhoneGap plugins to be developed on iOS and Android should have the following JavaScript functions:
==== 1. Enable Bluetooth====
This function turns on Bluetooth on the mobile device.
==== 2. Disable Bluetooth====
This function turns off Bluetooth on the mobile device.
==== 3. List Bluetooth Devices====
This function search and list all detected Bluetooth devices.
==== 4. List Paired Devices====
This function lists all A&D Bluetooth devices which have bound to the mobile smartphone/tablet.
==== 5. Unpair device====
This function removes an A&D Bluetooth device from paired device list.
==== 6. Start Listing====
* This function starts Bluetooth communication as SPP server on the mobile device through native application and makes the device available to receive the health measurements from A&D Bluetooth devices.
* This function should be called after Bluetooth is enabled on the mobile device.
* Upon the record successfully stored (Other situations are not covered here for conciseness), the access point needs to wait for about 250msec and to return “Data Accepted” within “Acknowledge & Configuration Packet” back to the master device ( A&D PBT series device).
* Shows mobile user with message that a measurement was successfully received.
==== 7. Stop Listing====
This function stops the SPP server on the mobile device.
==== 8. Get recently received records====
This function return received measurements in different ways:
* All records in brief
1
edit

Navigation menu