Difference between revisions of "Phonegap Healthcare Adapter Bluetooth Implementation"
Cwdesautels (talk | contribs) (→Bluetooth Profiles) |
Cwdesautels (talk | contribs) (→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 13:11, 17 August 2012
NexJ Medical Peripheral Mobile Adapter Will be designed to enable NexJ's Mobile Healthcare solutions to interact with Bluetooth peripherals.
- Main article: Phonegap Healthcare Adapter
Contents
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
- Objective C
- C, C++ syntax is viable
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
- Example exploring interactions with Bluetooth devices using Android Bluetooth API's