Mavlink to FrSky S.Port Passthru Converter for LRS or PX4 Pro

Hi Eric,

I have encountered an issue with your converter running on my TXMOD inside an X10S to feed yaapu´s windget. My radio keeps reporting “motors armed” and “motors disarmed” in rapid succession in flight and if on the ground the current flight mode repeatedly.
I also think I know the cause, because it started doing this after I have connected a mavlink based parachute system to the UAV. This device has the same sysID as the FC and only a different compID. I suspect the following is happening: your converter processes both streams at the same time and my device reports 0 for the MAV_MODE_FLAG but the FC uses this flag properly. Your converter must use the last heartbeat message, regardless of sysID/compID to determine the armed state and thus the rapid armed-disarmed messages.

I am still running an older version (2.65.4), so it might have been fixed. I don´t know how cour code handles different mavlink systems and components, but it would be nice if it would only process data from the actual autopilot.
You could achieve this by only processing data from a specific sysID and compID, that you determine from the heartbeat messages. You could check for a valid autopilot by looking at the MAV_AUTOPILOT value inside heartbeat packages for supported autopilots.

Is this something you could/would implement, or should I search for alternative solutions for my problem?