public static void STEUERN_ANTRIEBE() { var steuern_antriebe = new DS2Message(DeviceAddress.HeadlightVerticalAimControl, 0x1C, 0x00, 0x00, 0x00, 0xFF); var kbusMessage = steuern_antriebe.ToIKBusMessage(); KBusManager.Instance.EnqueueMessage(kbusMessage); }
static void ProcessDiagnosticMessageFromIBusAndForwardToDBus(Message m) { if (m.Data[0] == 0xA0 && m.SourceDevice != DeviceAddress.NavigationEurope) // 0xA0 - DIAG OKAY { Thread.Sleep(100); var message = new DS2Message(m.SourceDevice, m.Data); DBusManager.Instance.EnqueueMessage(message); } }