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

Commit 4e9ad4ac authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

service/example: Heart Rate Server: advertise UUID

Change-Id: Iaf7950e9af73926ec7bfb37189882ba8fad4123c
parent af005551
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -46,7 +46,8 @@ class CLIBluetoothLowEnergyCallback


    LOG(INFO) << "Registered BLE client with ID: " << client_id;
    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;
    base::TimeDelta timeout;


    bluetooth::AdvertiseSettings settings(
    bluetooth::AdvertiseSettings settings(