Get UUID, Major, Minor from established connection

Hey!
I’m so far loving the Estimote environment but I’m a bit stuck here, any help would be appreciated.

We are currently developing an Android APP and I need to be get the UUID, Major, Minor once I established a connection with the beacon. The reason of doing this is checking with our own servers if the values mentioned are up to date and if they are not update them (Usually what happens when we get the beacons with factory values).
Right now I’ve been unable to find in the documentation how to do this. So far I’ve got

connectionProvider.connectToService(new DeviceConnectionProvider.ConnectionProviderCallback() {
  @Override
  public void onConnectedToService() {
    connection = connectionProvider.getConnection(configurableDevice);
    connection.connect(new DeviceConnectionCallback() {
      @Override
      public void onConnected() {
        String UUID=connection.settings.beacon.proximityUUID().toString();
      }
    }
  }
}

but proximityUUID doesn’t return a UUID. It’s a DeviceSetting
Any ideas? If you want some points you can also answer in my StackOverflow question

You need to do something like shown here: Reading device setting

i.e.:

connection.settings.deviceInfo.proximityUUID().get(new SettingCallback<java.util.UUID>() {
  @Override 
  public void onSuccess(final java.util.UUID value) {

  }

  @Override public void onFailure(DeviceConnectionException exception) {

  }
});

This is because the SDK will actually read the UUID value from the beacon, which is an asynchronous operation, hence the onSuccess and onFailure callbacks.