Iam working on a HealthCare project atm. we are making a test setup where we use a Motorola Razr Max with android 4.0.4 as Gateway. The phone's BLE will communicate with a BLE Chip from IT. The reason for picking a Motorola Razr maxx was because IT had it listed on a link! under which phones supported BLE.
But but Motorola's BLE API from android 4.0 upgrade dosnt work.
I have also tried BroadComs BLE API on the phone - but it isnt supported by the phones BLE chip - so I didnt get fare here.
So my Question here. what will you suggest I do from here ?
Do u know any android phones where Broadcoms API i working in android 4.0.4 - IT says the HTC 1 X - have a working BLE API - Have any1 tried it ?
Do anyone if motorola is coming with the bug fixes? (The Motorola Developmer support team in Denmark - dont know shit about there own software/hardware.)
------ UPDATE --------
Iam trying to get the Motorola to work - and now it dont fail the BLE support = Great :)
Iam using the Motorola_ICS_R2 API. But when I run the profile sample - it will not compile - because of _ BluetoothDevice.ACTION_GATT and BluetoothDevice.EXTRA_GATT what is it Iam missing before I can run the Profile Sample?
Here you'll find the libraries and examples you need to work with a Motorola Razr on ICS (Ice Cream Sandwich). Look for " Motorola Handset SDK Addons " and " Motorola ICS R2 ".
The Addon comes with two examples, you have to study them yourself, there is no actual API-documentation out there, but a proper explanation how the API works you'll find here.
I can assure you the API-examples work relatively fine with TI's CC2540DVK Keyfob and a Motorola Razr (XT910). All you have to do is to take care about to use valid UUID's!
...Update...
Fresh start in Eclipse (Indigo) with Android SDK (v20) and Motorola ICS R2 sample:
Now choose an existing primary service of your sensor device, i.e. 0x180A (Device Information):
public static final ParcelUuid HRM = ParcelUuid
.fromString("0000180A-0000-1000-8000-00805f9b34fb");
Build and run
It depends on your sensor device how far you get with the sample, but you should at least get a connection and get some characteristics. See the LogCat output.
Regards,
PeterVanPansen