-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Milestone
Description
MockLink currently shares the LinkInterface mavlinkChannel() with the QGC side for encoding outgoing messages. It only uses its own _mavlinkAuxChannel for parsing incoming bytes. This means:
- MockLink piggy-backs on QGC's signing context rather than maintaining its own independent signing state
- MockLink can't independently decide whether to sign outgoing messages
- MockLink can't use a different signing key than QGC
- It doesn't accurately simulate a real vehicle which has fully independent MAVLink channels
Proposed change: Switch all mavlink_msg_*_pack_chan(..., mavlinkChannel(), ...) calls in MockLink (and its sub-handlers: MockLinkMissionItemHandler, MockLinkCamera, MockLinkGimbal, MockLinkFTP) to encode on _mavlinkAuxChannel instead. This would allow MockLink to maintain its own signing state independently, enabling proper end-to-end signing testing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels