Fix Lora ?

This commit is contained in:
2026-08-06 19:38:15 +02:00
parent 35a330e7ae
commit 6ab2a2bea3
+2 -3
View File
@@ -33,10 +33,9 @@ class BaseLoraDevice:
"""Sends an immediate acknowledgement packet back to the sender.""" """Sends an immediate acknowledgement packet back to the sender."""
print(f"[ReliableLoRa] -> Triggering ACK send for msg_id: {ack_id}") print(f"[ReliableLoRa] -> Triggering ACK send for msg_id: {ack_id}")
if IS_MICROPYTHON: if IS_MICROPYTHON:
time.sleep_ms(100) time.sleep_ms(50)
else: else:
# Give LA66 chip time to finish logging RSSI and reset RF frontend time.sleep(0.05) # Reduced delay to fit ESP32 RX window
time.sleep(0.25)
ack_payload = {"_type": "_ack", "_ack_id": ack_id} ack_payload = {"_type": "_ack", "_ack_id": ack_id}
self.send(ack_payload) self.send(ack_payload)