Fix Lora ?
This commit is contained in:
@@ -33,10 +33,9 @@ class BaseLoraDevice:
|
||||
"""Sends an immediate acknowledgement packet back to the sender."""
|
||||
print(f"[ReliableLoRa] -> Triggering ACK send for msg_id: {ack_id}")
|
||||
if IS_MICROPYTHON:
|
||||
time.sleep_ms(100)
|
||||
time.sleep_ms(50)
|
||||
else:
|
||||
# Give LA66 chip time to finish logging RSSI and reset RF frontend
|
||||
time.sleep(0.25)
|
||||
time.sleep(0.05) # Reduced delay to fit ESP32 RX window
|
||||
|
||||
ack_payload = {"_type": "_ack", "_ack_id": ack_id}
|
||||
self.send(ack_payload)
|
||||
|
||||
Reference in New Issue
Block a user