<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Modem Sleep Notifications</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81520/modem-sleep-notifications</link><description>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&amp;#39;s working. I have turned on &amp;quot;MODEM_SLEEP_NOTIFICATIONS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Nov 2021 21:18:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81520/modem-sleep-notifications" /><item><title>RE: Modem Sleep Notifications</title><link>https://devzone.nordicsemi.com/thread/338015?ContentTypeID=1</link><pubDate>Mon, 08 Nov 2021 21:18:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9db67fe7-0e15-4442-925a-3492d2c39918</guid><dc:creator>DevinCallahan</dc:creator><description>&lt;p&gt;The library you are looking for is the at_notif library at&amp;nbsp;/nrf/lib/at_notif in the NRF Connect SDK.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The LTE Link Control library at /nrf/lib/lte_link_control has an example of using it.&amp;nbsp; It registers a handler using &amp;quot;at_notif_register_handler&amp;quot; which is then invoked each time any AT messages are received from the modem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>