UART wakes device from api.system.sleep.all();

Could you point me to information about UART2 activity automatically waking device from sleep in RUI3 3.5.3?

I set the device to api.system.sleep.all(); and find that Serial activity wakes the device. How do we tell what wakes the device?

Thanks

Hi @pmjackson ,

The wake-up on automatic sleep is via the UART RX pin. For RAK3172, it will support wake-up on both UARTs. However, UART2(LPUART1) is the one recommended. We have a new AT command AT+LPM in 3.5.3 for enabling and disabled automatic sleep but this is still being optimized(for low current consumption) and will be stable on the upcoming major RUI3 FW version update 4.0.0.