I am attempting to connect to a bluetooth peripheral device using bluetooth 4.0 (LE). I am following the guide from the android developer page found here.
I have already successfully built this application on iOS, and this is my first time working with Android. I am running version 4.4. I want to be able to check the UUID of the peripheral found (just like I do on iOS) when the android device does a bluetooth search. I am not sure how to do this but I believe it happens in this method:
public void onLeScan(BluetoothDevice device, int rssi, byte[] scanRecord) {
Log.i(TAG, "New LE Device: " + device.getName() + " @ " + rssi);
//DETERMINE UUID OF PERIPHERAL
}
Can anyone please tell me how this can be done?
Thanks!