updateAdapterState = function(adapterState) {
      UI.getInstance().setAdapterState(adapterState.address, adapterState.name);
      self.updateDiscoveryToggleState(adapterState.discovering);
    }
Sets up the UI for the given service by retrieving its characteristic and
setting up notifications.