The %XMODEMSLEEP command sends notifications of the interruptions and
ends of modem sleeps. A sleep can be interrupted by the application, Global Navigation Satellite System (GNSS), or modem.
Sleep interrupted by application
Before interrupting sleep, for example, with uplink data, the application must activate hardware components and ensure that resources are available for the modem. After this, uplink data or any other request can be sent to the modem. After modem activity, sleep is not resumed, but a new sleep period starts instead.
Sleep interrupted by modem
In some cases, the modem might end sleep before the predicted time, for example, due to UICC activity. The application must react to the sleep end notification immediately by activating hardware components and making resources available for the modem.