// generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from px4_msgs:msg/GpsInjectData.idl
// generated code does not contain a copyright notice

// IWYU pragma: private, include "px4_msgs/msg/gps_inject_data.h"


#ifndef PX4_MSGS__MSG__DETAIL__GPS_INJECT_DATA__STRUCT_H_
#define PX4_MSGS__MSG__DETAIL__GPS_INJECT_DATA__STRUCT_H_

#ifdef __cplusplus
extern "C"
{
#endif

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

// Constants defined in the message

/// Constant 'ORB_QUEUE_LENGTH'.
enum
{
  px4_msgs__msg__GpsInjectData__ORB_QUEUE_LENGTH = 8
};

/// Constant 'MAX_INSTANCES'.
enum
{
  px4_msgs__msg__GpsInjectData__MAX_INSTANCES = 2
};

/// Struct defined in msg/GpsInjectData in the package px4_msgs.
typedef struct px4_msgs__msg__GpsInjectData
{
  /// time since system start (microseconds)
  uint64_t timestamp;
  /// unique device ID for the sensor that does not change between power cycles
  uint32_t device_id;
  /// length of data
  uint16_t len;
  /// LSB: 1=fragmented
  uint8_t flags;
  /// data to write to GPS device (RTCM message)
  uint8_t data[300];
} px4_msgs__msg__GpsInjectData;

// Struct for a sequence of px4_msgs__msg__GpsInjectData.
typedef struct px4_msgs__msg__GpsInjectData__Sequence
{
  px4_msgs__msg__GpsInjectData * data;
  /// The number of valid items in data
  size_t size;
  /// The number of allocated items in data
  size_t capacity;
} px4_msgs__msg__GpsInjectData__Sequence;

#ifdef __cplusplus
}
#endif

#endif  // PX4_MSGS__MSG__DETAIL__GPS_INJECT_DATA__STRUCT_H_
