#ifndef STATION_UTILS_H_
#define STATION_UTILS_H_

#include <Arduino.h>

namespace STATION_Utils {

    void    nearTrackerInit();
    const String getNearTracker(uint8_t position);

    void    deleteListenedTrackersbyTime();
    void    checkListenedTrackersByTimeAndDelete();
    void    orderListenedTrackersByDistance(const String& callsign, float distance, float course);
    void    checkStandingUpdateTime();
    void    sendBeacon(uint8_t type);
    void    checkTelemetryTx();
    void    saveIndex(uint8_t type, uint8_t index);
    void    loadIndex(uint8_t type);

}

#endif