When running this example, there is a soft lock. It can be reproduced by sending another message while the match is waiting, the rx function get stuck, and cannot receive any more messages until the micro controller is reset.
Compile and load on the respective pico devices, and after the first message, any messages sent after are lost, and the receive loop does not continue.
Summary
When running this example, there is a soft lock. It can be reproduced by sending another message while the match is waiting, the
rx
function get stuck, and cannot receive any more messages until the micro controller is reset.Hardware Summary
Steps to reproduce
Copy line 89 - 98 and paste after line 98 in the
lora_p2p_send.rs
file.Compile and load on the respective pico devices, and after the first message, any messages sent after are lost, and the receive loop does not continue.
Trace Log
```bash (HOST) INFO flashing program (14 pages / 56.00 KiB) (HOST) INFO success! (HOST) WARN insufficient DWARF info; compile your program with `debug = 2` to enable location info (HOST) WARN `defmt::timestamp!` implementation was found, but timestamp is not part of the log format; ──────────────────────────────────────────────────────────────────────────────── TRACE LevelLow for pin 2 was cleared, return Poll::Ready └─