#ifndef RADIO_COMPONENT
#define RADIO_COMPONENT

#define LORA_POWER_LOW 2
#define LORA_POWER_HIGH 20
#define LORA_POWER_MAX_MAYBE_UNSAFE 22

#define LORA_TX_POWER LORA_POWER_LOW

#define TAG_RADIO "RADIO"

#include "packets.h"

void lora_comms_task(void *pvParameters);
void lora_receive_task(void *pvParameters);

extern TelemetryPacket telemetryPacket;
extern uint8_t packetReadiness;
extern SemaphoreHandle_t loraRadioMutex;

#endif