title: BLE obtain uuid encoded in advertising packet
body: <p>Im trying to get UUID of ble device. I was following android developers guide and so far I can get only device name and rssi. Im trying to get Uuid of the device that comes to scanning method that looks like this:</p>
  
  <pre><code>    public void onLeScan(final BluetoothDevice device, int rssi,byte[] scanRecord) {
  
          ParcelUuid[] myUUid =device.getUuids();
          for(ParcelUuid a :myUUid){
              Log.d("UUID",a.getUuid().toString());
          }
          String s = new String(scanRecord);
          int len = scanRecord.length;
          String scanRecords =new String(scanRecord) ;
  
  
  
          deviceMap.put(device.getName().toString(), rssi);
          Message msg = MainActivity.myHandler.obtainMessage();
          Bundle bundle = new Bundle();
          bundle.putCharSequence("dev_name", device.getName().toString());
          bundle.putCharSequence("rssi", Integer.toString(rssi));
          msg.setData(bundle);
          MainActivity.myHandler.sendMessage(msg);
     }
  </code></pre>
  
  <p>this returns  - btif_gattc_upstreams_evt: Event 4096 </p>