title: Qt Bluetooth Low Energy - Problems using non standard GATT
body: <p>I have a device without knowing the used gatt profile, I only know that is something "homemade" and not anything known on the bluetooth-database. </p>
  
  <p>In Linux the command </p>
  
  <pre><code>gatttool -i hci0  -b xx:xx:xx:xx:xx:xx  --char-read --handle=42
  </code></pre>
  
  <p>returns the value as expected (with the target device mac at xx:xx:xx:xx:xx:xx).</p>
  
  <p>In Qt I am using the Heartbeat-Example from <a href="http://doc-snapshot.qt-project.org/qt5-5.4/qtbluetooth-heartlistener-example.html" rel="nofollow noreferrer">http://doc-snapshot.qt-project.org/qt5-5.4/qtbluetooth-heartlistener-example.html</a>
  there they connect using a gattprofile, QBluetoothUuid::HeartRate and QBluetoothUuid::HeartRateMeasurement</p>
  
  <p>I wasn't able to modify the example code in a way to read handle 42.
  Can you explain where I have to put which values, that it connects to the "standard profile" as the gattool command does? If I use gatttool in interactive mode and ask primary it returns two uuids, but using them instead of the QBluetoothUuid::HeartRate did not work.</p>