Difference between revisions of "Phonegap Healthcare Adapter Bluetooth Implementation"

From CDOT Wiki
Jump to: navigation, search
(Android)
(Android)
Line 36: Line 36:
 
** [http://developer.android.com/guide/topics/connectivity/bluetooth.html Bluetooth Library]
 
** [http://developer.android.com/guide/topics/connectivity/bluetooth.html Bluetooth Library]
 
** [http://jayxie.com/mirrors/android-sdk/resources/samples/BluetoothChat/index.html Sample: BluetoothChat]
 
** [http://jayxie.com/mirrors/android-sdk/resources/samples/BluetoothChat/index.html Sample: BluetoothChat]
*** [https://gist.github.com/3410454.js]
+
*** [https://gist.github.com/3410454 Code]

Revision as of 10:38, 21 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