Difference between revisions of "Phonegap Healthcare Adapter Bluetooth Implementation"
(→Android) |
Cwdesautels (talk | contribs) (→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/ | + | *** [https://gist.github.com/3410454.js] |
− | |||
− |
Revision as of 09:37, 21 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