Hi,
I am developing a simple application where I read some data from a sensor, and publish the data with MQTT. I want to use PSM to conserve battery life, and I am able to turn it on, and its looks like it's working. I have turned on "MODEM_SLEEP_NOTIFICATIONS" via the proj.conf file. I get the notifications over the virtual COM port, but I am unclear how I can actually use them in the application.
(Example of what is seen on VCOM PORT)
%XT3412: 4199999 %XMODEMSLEEP: 1,4189987
Is there some sort of user callback function I can implement when a notification is received? I can't even work out where the code is that's supplying the notifications.
I'm sure there is something but can't seem to find any example or documentation about it.
Thanks,
Damien