Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d938afcb authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

service/example: Heart Rate Server: advertise UUID

am: 4e9ad4ac

* commit '4e9ad4ac':
  service/example: Heart Rate Server: advertise UUID
parents 70694724 4e9ad4ac
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -46,7 +46,8 @@ class CLIBluetoothLowEnergyCallback

    LOG(INFO) << "Registered BLE client with ID: " << client_id;

    std::vector<uint8_t> data;
    /* Advertising data: 16-bit Service UUID: Heart Rate Service */
    std::vector<uint8_t> data{0x03, 0x03, 0x0D, 0x18};
    base::TimeDelta timeout;

    bluetooth::AdvertiseSettings settings(