diff --git a/OBD.NET/OBD.NET.Common/Devices/ELM327.cs b/OBD.NET/OBD.NET.Common/Devices/ELM327.cs index 4f0218c..85594ad 100644 --- a/OBD.NET/OBD.NET.Common/Devices/ELM327.cs +++ b/OBD.NET/OBD.NET.Common/Devices/ELM327.cs @@ -88,7 +88,7 @@ namespace OBD.NET.Common.Devices throw; } } - + /// /// Sends the AT command. /// @@ -153,6 +153,9 @@ namespace OBD.NET.Common.Devices if (DataReceivedEventHandlers.TryGetValue(dataType, out IDataEventManager dataEventManager)) dataEventManager.RaiseEvent(this, obdData, timestamp); + if (DataReceivedEventHandlers.TryGetValue(typeof(IOBDData), out IDataEventManager genericDataEventManager)) + genericDataEventManager.RaiseEvent(this, obdData, timestamp); + return obdData; } }