void m_spokes_RawDataReceived(object sender, RawDataReceivedArgs e) { string odpreport = System.Text.Encoding.UTF8.GetString(e.m_datarawbytes); if (m_activeConnection != null) // todo only do this if subscribed to relevant service? { // ok, let's try to break out those head tracking quatenions... m_quatproc.ProcessODPReport(odpreport); } }
void m_spokes_RawDataReceived(object sender, RawDataReceivedArgs e) { // Args: raw message hex, typeid (int) reserved for future use, options string reserved for future use OnPltEvent(new PltEventArgs(PltEventType.RawDataReceived, e.m_datareporthex, "0", "")); }