Descriptionchromeos/dbus: Add fake D-Bus clients for GATT client-mode.
Added fake implementations of GATT service, characteristic, and descriptor
clients. A new "Low Energy" fake device is introduced, which uses the fake
GATT clients to simulate the Heart Rate Service.
BUG=351229
TEST=1. device_unittests, chromeos_unittests.
2. Build and run chrome for Linux with "chromeos=1". Run Bluetooth device
discovery, connect to the device named "Bluetooth 4.0 Heart Rate Monitor".
Watch the debug output (vmodule="*bluetooth_gatt*=2") for the GATT clients,
which should create fake heart rate service and descriptors and update the
measurement value at regular intervals.
R=keybuk@chromium.org, stevenjb@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259022
Patch Set 1 #
Total comments: 3
Patch Set 2 : Rebased & Changed code to create LE device on simulation step 1 and update RSSI on following steps. #
Total comments: 2
Patch Set 3 : Fixed nit. #Patch Set 4 : Fixed bluetooth_chromeos_unittest #Patch Set 5 : Rebased. #Messages
Total messages: 7 (0 generated)
|