QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
RTCMMavlink::PackResult Struct Reference

#include <RTCMMavlink.h>

Public Attributes

QList< GpsRtcmPacketpackets
 
uint8_t nextSequenceId = 0
 

Detailed Description

Pack one RTCM blob into GPS_RTCM_DATA packets per MAVLink rules.

  • size 0: no packets
  • size <= 180: one unfragmented packet
  • 181..720: fragmented; exact multiples of 180 with fewer than 4 fragments get a final zero-length fragment (required by MAVLink / ArduPilot / PX4)
  • size > 720: stream as successive unfragmented chunks (protocol cannot reassemble more than 720 bytes in one sequence)
Parameters
sequenceIdstarting sequence id (0..31); advanced for each logical message
Returns
packets plus the next sequence id to use

Definition at line 53 of file RTCMMavlink.h.

Member Data Documentation

◆ nextSequenceId

uint8_t RTCMMavlink::PackResult::nextSequenceId = 0

Definition at line 56 of file RTCMMavlink.h.

Referenced by RTCMMavlink::pack(), and RTCMMavlink::RTCMDataUpdate().

◆ packets

QList<GpsRtcmPacket> RTCMMavlink::PackResult::packets

Definition at line 55 of file RTCMMavlink.h.

Referenced by RTCMMavlink::pack(), and RTCMMavlink::RTCMDataUpdate().


The documentation for this struct was generated from the following file: