remove lorawan tuning

This commit is contained in:
xlemmingx 2025-11-03 17:05:48 +01:00
parent e4f6382fce
commit 88b017c299

View File

@ -185,24 +185,6 @@ void init_lorawan()
LOG_INF("LoraWan started successfully");
}
/* Apply LoRaWAN performance optimizations */
LOG_INF("Applying LoRaWAN performance optimizations...");
/* Enable ADR for automatic datarate optimization */
lorawan_enable_adr(true);
LOG_INF("✓ ADR (Adaptive Data Rate) enabled");
/* Set to SF12 (DR0) for maximum range - good for 5-10min intervals */
int ret = lorawan_set_datarate(LORAWAN_DR_0);
if (ret == 0)
{
LOG_INF("✓ Datarate set to DR0 (SF12) for maximum range");
}
else
{
LOG_WRN("Could not set datarate (ADR may override): %d", ret);
}
/* Print all LoRaWAN configuration for debugging */
print_lorawan_ids();