Sleep mode error issue

Lorawan mode confirmed that at+set_config=device:sleep:1 works normally.
However, when running at+set_config=device:sleep:1 when running in p2p mode, error 80 is returned.

What is the problem?

In P2P mode, if you set the device into receiver mode with at+set_config=lorap2p:transfer_mode:1, the device cannot enter sleep mode, because the LoRa transceiver is in RX mode all the time.

You have to use at+set_config=lorap2p:transfer_mode:2 to switch to sender mode, then you can put the device to sleep.