<?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>Aws fota sample and psm</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56991/aws-fota-sample-and-psm</link><description>Hello, 
 I want to use PSM with aws fota sample. Do the mqtt level is compatible ? 
 How to activate psm and check if it s enabled ? 
 Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Jan 2020 16:35:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56991/aws-fota-sample-and-psm" /><item><title>RE: Aws fota sample and psm</title><link>https://devzone.nordicsemi.com/thread/232145?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 16:35:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5eb664f9-4aba-4b29-9cd5-d786c98b8b8b</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Aws fota sample and psm</title><link>https://devzone.nordicsemi.com/thread/231309?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 08:15:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:157b9385-7888-40ee-b7d8-219045e329d4</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I want to use PSM with aws fota sample. Do the mqtt level is compatible ?[/quote]
&lt;p&gt;&amp;nbsp;MQTT QoS level is a protocol feature, and will require a longer sequence for ACKing a message, as described here:&amp;nbsp;&lt;a href="https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels/"&gt;https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This shouldn&amp;#39;t interfere with your PSM, unless the active time is very low.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]How to activate psm and check if it s enabled ?[/quote]
&lt;p&gt;&amp;nbsp;You can request it via this call:&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/lib/lte_link_control/lte_lc.c#L349"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/lib/lte_link_control/lte_lc.c#L349&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is essentially the AT+CPSMS command.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To check the interval you have dynamically received from the cell tower, you should issue a AT+CEREG=5 and query AT+CEREG?&lt;/p&gt;
&lt;p&gt;The last two bit masks will then give a status on the PSM.&lt;/p&gt;
&lt;p&gt;If your repo is updated, you can use this function to fetch the intervals:&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/lib/lte_link_control/lte_lc.c#L359"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/lib/lte_link_control/lte_lc.c#L359&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>