title: Qt BLE For Android: Cannot read value of characteristic for Custom Service
body: <p>Here is the setup:</p>
  
  <p>A coworker created a small firmware that changes the value of a custom characteristic within a custom service (non standard unique 128 bit UUID) about once every second. The device used to transmit uses a BLE (Bluetooth low power) implementation.</p>
  
  <p>I needed to implement a small App (as a working example ONLY) to monitor said value. However I've run into a small problem. I've follwed the instructions here: <a href="http://doc.qt.io/qt-5/qtbluetooth-le-overview.html" rel="nofollow noreferrer">http://doc.qt.io/qt-5/qtbluetooth-le-overview.html</a> and I've manged to discover the service and "read it" (I get us UUID) by using this code:</p>
  
  <pre><code>void BLETest::on_stateChanged(QLowEnergyService::ServiceState state){
  #ifdef DBUG
      logger-&gt;out("Service Monitor State: " + lowEnergyServiceStateToString(state),Logger::LC_ORANGE);
  #endif
  
      if (state == QLowEnergyService::ServiceDiscovered){
          QString chars = "";
          QList&lt;QLowEnergyCharacteristic&gt; clist = monitoredService-&gt;characteristics();
          for (int i = 0; i &lt; clist.size(); i++){
              chars = clist.at(i).uuid().toString() + " - " + clist.at(i).name() + ": " + QString(clist.at(i).value());
              chars = chars + ". Value size: " + QString::number(clist.at(i).value().size()) + "&lt;br&gt;";
          }
          if (chars.isEmpty()){
              chars = "No characteristics found";
          }
          logger-&gt;out(chars);
      }
  
  }
  </code></pre>
  
  <p>Now this prints the UUID of the service but the size of the value byte array is zero. Using another (private App) we can actually see the value field for the characteristic in that service changing. Furthermore, even though there was a connection done to the service's object characteristicChanged singal, that signal is never triggered, which I imagine is because the characteristic value can't be read. </p>
  
  <p>My question is: Is there anything wrong with the code that you can't think of? Or is it simply that is not possible to monitor custom services and characteristics with the current BLE implementation of Qt Bluetooth? </p>
  
  <p>PD: I'm using Qt 5.7.1</p>