AT+PRECV=0 fails to clear RX timer in LoRa P2P mode, causing phantom wake from AT+SLEEP and 5.5 mA hang

Hi all,

We’re using a RAK3172-T with RUI_4.2.4_RAK3172-T in LoRa P2P mode (AT+NWM=0, AT+LPM=0), driven by AT commands from a host MCU.

We see this sequence:

AT+PRECV=58462   // timed receive window
AT+PRECV=0       // stopped early, before any packet arrives
AT+SLEEP

The module goes to sleep as expected. But at about the moment the original receive window would have ended, its current rises to roughly 5.5 mA and stays there.

We don’t see this when the timed window ends because a packet is received, or when we use continuous receive (AT+PRECV=65534) and stop it with AT+PRECV=0.

Is this a known bug, or are we using AT+PRECV the wrong way? Is there a recommended way to cancel a timed receive window before putting the module to sleep?

Thanks in advance!

Fixed with RUI3 V4.3.0. See Changelog, bug no. RUI-1174 and RUI-1175