/*
 * MIT License
 * Author: Mark Allyn
 *
 * rpi_receiver.h — stub for future Raspberry Pi AIS/ADS-B receivers.
 *
 * Each RPiReceiver will listen on a serial or network socket for
 * data frames from one Raspberry Pi and expose a getTargets() method
 * that TrafficCop calls during its poll loop.
 *
 * v1: no RPis installed; getTargets() returns 0.
 */

#pragma once
#include <array>
#include "target_buffer.h"

class RPiReceiver {
public:
    explicit RPiReceiver(int /*rpiIndex*/) {}

    // Returns the number of valid targets filled in `out`.
    int getTargets(std::array<TargetState, MAX_TARGETS>& out) {
        (void)out;
        return 0;  // no hardware yet
    }
};
