Reading MAVLink data via C# .Net framework

Hello friends
I am developing an application in C# .NET Framework. I want to read Mavlink data and send commands over TCP. For now I can only read heartbeat.

I define the mavlink_request_data_stream_t structure in mavlink.cs. The code is below. But I don’t know what to do next, I would appreciate if you can help me.

MAVLink.mavlink_request_data_stream_t reqdata = new MAVLink.mavlink_request_data_stream_t
{
    req_message_rate = 10,
    target_system = 1,
    target_component = 0,
    req_stream_id = 0,
    start_stop = 1
};
1 Like