Index: device/bluetooth/bluetooth_remote_gatt_descriptor_mac.mm |
diff --git a/device/bluetooth/bluetooth_remote_gatt_descriptor_mac.mm b/device/bluetooth/bluetooth_remote_gatt_descriptor_mac.mm |
index d867349abf338719329b1e7f4bb25d29eebd5751..761e842318da1e86861c2352b61ff11ee734ffc9 100644 |
--- a/device/bluetooth/bluetooth_remote_gatt_descriptor_mac.mm |
+++ b/device/bluetooth/bluetooth_remote_gatt_descriptor_mac.mm |
@@ -74,4 +74,9 @@ CBDescriptor* BluetoothRemoteGattDescriptorMac::GetCBDescriptor() const { |
return cb_descriptor_.get(); |
} |
+std::string BluetoothRemoteGattDescriptorMac::ToString() const { |
+ return std::string("<BluetoothRemoteGattServiceMac ") + GetIdentifier() + |
+ ", characteristic " + gatt_characteristic_->GetIdentifier() + ">"; |
ortuno
2017/03/14 00:34:33
Same here. The UUID would be more useful.
|
+} |
+ |
} // namespace device. |