Uplink data can be synchronized with Power Saving Mode (PSM) sleep. The application can use PSM sleep as a trigger to send uplink data.
The following command example subscribes sleep notifications with a 2000 ms prewarning and a 60000 ms threshold:
AT%XMODEMSLEEP=1,2000,60000
OK
The following command example subscribes timer T3412 notifications with a 2000 ms prewarning and a 60000 ms threshold:
AT%XT3412=1,2000,60000
OK
The following command example activates the modem:
AT+CFUN=1
OK
The following notification example indicates that the modem is registered to the network. T3412 is negotiated with a 72-minute value and radio connection is released:
%XT3412: 4320000
The following notification example indicates a 10-second active time elapsing and the modem starting PSM sleep:
%XMODEMSLEEP: 1,4310000
The following notification example is a prewarning of the end of the PSM sleep:
%XT3412: 2000
%XMODEMSLEEP: 1,2000
The following notifications are sent when the application has interrupted PSM sleep with uplink data or the modem has ended PSM sleep:
%XT3412: 0
%XMODEMSLEEP: 1,0