Difference between revisions of "Phonegap Healthcare Adapter Bluetooth Implementation"

From CDOT Wiki
Jump to: navigation, search
(Bluetooth Profiles)
(Android)
Line 33: Line 33:
 
=== Android ===
 
=== Android ===
 
* Example exploring interactions with Bluetooth devices using Android Bluetooth API's
 
* Example exploring interactions with Bluetooth devices using Android Bluetooth API's
** [http://jayxie.com/mirrors/android-sdk/resources/samples/BluetoothChat/index.html Sample]
+
** [http://developer.android.com/guide/topics/connectivity/bluetooth.html Bluetooth Library]
 +
** [http://jayxie.com/mirrors/android-sdk/resources/samples/BluetoothChat/index.html Chat Sample]

Revision as of 14:11, 17 August 2012


NexJ Medical Peripheral Mobile Adapter Will be designed to enable NexJ's Mobile Healthcare solutions to interact with Bluetooth peripherals.

Bluetooth Profiles

A Bluetooth profile is a wireless interface specification for Bluetooth-based communication between devices. Bluetooth communication protocols in the programming interface of iOS and Android are transparent.

iOS

  • iOS 3+ SDK supports Bluetooth 2.2 devices.
    • Profiles for Bluetooth 2.2 devices are specified here.
  • iOS 5+ SDK supports low energy Bluetooth devices(Bluetooth 4.0).

Android

  • SDK supports Bluetooth 2.2
  • No Support for Bluetooth 4.0

Supported Languages

iOS

Android

  • Supports Java, equivalent to Java SE 6
  • C, C++ support via the Android NDK

SDK Examples

iOS

  • Enabling Bluetooth on the iOS simulator
  • Example program interfacing with Bluetooth low energy temperature sensor using the SDK's CoreBluetooth class

Android