LoRa_APRS_iGate/include/lora_utils.h

38 lines
1.1 KiB
C
Raw Permalink Normal View History

2025-07-15 22:28:23 +02:00
/* Copyright (C) 2025 Ricardo Guzman - CA2RXU
*
* This file is part of LoRa APRS iGate.
*
* LoRa APRS iGate is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* LoRa APRS iGate is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with LoRa APRS iGate. If not, see <https://www.gnu.org/licenses/>.
*/
2023-06-04 16:10:39 +02:00
#ifndef LORA_UTILS_H_
#define LORA_UTILS_H_
2023-06-07 23:25:50 +02:00
#include <Arduino.h>
2024-02-25 14:53:16 +01:00
2023-06-07 23:25:50 +02:00
namespace LoRa_Utils {
2023-06-04 16:10:39 +02:00
2024-05-31 02:04:46 +02:00
void setup();
void sendNewPacket(const String& newPacket);
2025-04-24 16:36:08 +02:00
String receivePacketFromSleep();
2024-05-31 02:04:46 +02:00
String receivePacket();
void changeFreqTx();
void changeFreqRx();
2025-04-24 15:44:57 +02:00
void wakeRadio();
2024-05-31 02:04:46 +02:00
void sleepRadio();
2023-06-04 16:10:39 +02:00
}
2023-06-06 17:21:59 +02:00
2023-06-04 16:10:39 +02:00
#endif