Fix Lora ?
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user