• armansito@chromium.org's avatar
    bluetoothLowEnergy: Send onServiceAdded after all characteristics are discovered · 522f0fc0
    armansito@chromium.org authored
    This CL makes the following changes:
    
      - Add support for the new "Characteristics" and "Descriptors" properties
        exposed under org.bluez.GattService1 and org.bluez.GattCharacteristic1,
        respectively.
    
      - Add device::BluetoothGattService::Observer::GattDiscoveryCompleteForService
        event, which gets called after the first PropertiesChanged signal is
        received for the "Characteristics" property of a service.
    
      - Change BluetoothLowEnergyEventRouter, so that it sends the "onServiceAdded"
        event not in GattServiceAdded but in GattDiscoveryCompleteForService.
    
    BUG=394537
    TEST=browser_tests:BluetoothLowEnergyApiTest,
    device_unittests:BluetoothGattChromeOSTest
    
    Review URL: https://codereview.chromium.org/402303002
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284955 0039d316-1c4b-4281-b951-d872f2087c98
    522f0fc0
bluetooth_gatt_service_client.h 3.25 KB