Results 1 to 5 of 5

Thread: Bluetooth low energy private service support

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2016
    Posts
    14
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Bluetooth low energy private service support

    As per the examples provided on the Qt website, UUIDs of the adopted services can be used, however, is it possible to search a private service on the basis of UUID?
    Below is the snippet of the code that is used to access the heart rate service:
    void HeartRate::serviceDiscovered(const QBluetoothUuid &gatt)
    {
    if (gatt == QBluetoothUuid(QBluetoothUuid::HeartRate)) {
    setMessage("Heart Rate service discovered. Waiting for service scan to be done...");
    foundHeartRateService = true;
    }
    }

    Is it possible to replace HeartRate with another private service, if yes, then could anyone provide the steps to achieve the same.
    Last edited by user03; 19th August 2016 at 21:17.

Similar Threads

  1. Replies: 7
    Last Post: 22nd August 2016, 17:35
  2. Replies: 2
    Last Post: 17th May 2016, 11:33
  3. Bluetooth Low Energy
    By flemingp in forum Newbie
    Replies: 0
    Last Post: 4th May 2016, 21:01
  4. Bluetooth feature support on Windows 7
    By saraswathi in forum Qt Programming
    Replies: 0
    Last Post: 15th February 2016, 09:33
  5. Bluetooth - support question
    By Talei in forum Qt Programming
    Replies: 0
    Last Post: 16th January 2013, 06:56

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.