Thank you, creating a QUuid solved the problem

Tom

On 10/8/2020 4:21 AM, Christian Kandeler wrote:
On Wed, 7 Oct 2020 20:58:31 -0400
tom spencer via Interest <[email protected]> wrote:

Background info - I am working with a Polar H10 heart rate sensor - the
sensor provides both heart rate and ecg data.

I have no problem creating a QLowEnergyService object when I am dealing
with heart rate. The problem lies with attempting to create the service
object for ecg. The createServiceObject takes a QBluetoothUuid, problem
is ecg is not one of the GATT standard items and is not contained in
QBluetoothUuid.
What do you mean by that? There are some convenience enums in QBluetoothUuid, 
but also various constructors taking e.g. a QUuid. So it seems trivial to 
construct a QBluetoothUuid with an arbitrary value, does it not?


Christian
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest

Reply via email to