<?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>Syntax for AT command CPSMS - always gives error when trying to set PSM values</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106051/syntax-for-at-command-cpsms---always-gives-error-when-trying-to-set-psm-values</link><description>Hi - I am trying to test PSM operation on the Rogers network here in Canada. 
 I am starting to wonder if Rogers has PSM enabled but I&amp;#39;m not sure. 
 I am using SDK 1.9.1 and modem firmware version: nrf_9160_1.3.1 
 I have enable PSM in my code with: lte_lc_psm_req</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Nov 2023 05:57:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106051/syntax-for-at-command-cpsms---always-gives-error-when-trying-to-set-psm-values" /><item><title>RE: Syntax for AT command CPSMS - always gives error when trying to set PSM values</title><link>https://devzone.nordicsemi.com/thread/457734?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 05:57:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:827ba9dd-5508-408c-b1fb-8fead9b87ec2</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; shell&lt;/p&gt;
&lt;p&gt;Maybe worth to mention that additional to the term &amp;quot;AT command&amp;quot; :-). &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Syntax for AT command CPSMS - always gives error when trying to set PSM values</title><link>https://devzone.nordicsemi.com/thread/457691?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2023 19:32:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ef3b899-9d56-42c6-8fc3-1d4586be6227</guid><dc:creator>RileyH</dc:creator><description>&lt;p&gt;Yes, I am using the shell. Sorry I should have pointed that out in my question so thanks for noticing the double AT.&amp;nbsp;&lt;br /&gt;Thanks you for your answer and the fast response. I assume this will solve my issue and I will need to reread the shell documentation to understand which special chars need to be&amp;nbsp; escaped.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Syntax for AT command CPSMS - always gives error when trying to set PSM values</title><link>https://devzone.nordicsemi.com/thread/457690?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2023 19:28:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8c24106-527f-4326-a2a4-7fe76308c5ea</guid><dc:creator>RileyH</dc:creator><description>&lt;p&gt;Thanks but I am using the shell so the double AT is required. SInce I have we have our own application running on the module and also need the shell to debug the system (and get logs), I need the shell. the double AT is a bit strange but it works (as long as you escape special characters :) see below.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Syntax for AT command CPSMS - always gives error when trying to set PSM values</title><link>https://devzone.nordicsemi.com/thread/457485?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2023 09:05:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e86b6e8f-9d65-4f95-9678-ecf878c114eb</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I assume you are using the modem shell sample?&lt;/p&gt;
&lt;p&gt;In that case, you must escape the quotation marks with &amp;quot;\&amp;quot;.&lt;/p&gt;
&lt;p&gt;So the command will be at at+cpsms=1,\&amp;quot;\&amp;quot;,\&amp;quot;\&amp;quot;,\&amp;quot;10011110\&amp;quot;,\&amp;quot;00000101\&amp;quot;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Syntax for AT command CPSMS - always gives error when trying to set PSM values</title><link>https://devzone.nordicsemi.com/thread/457471?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2023 08:36:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24777a91-6fc6-4398-a8bf-5462f92a188c</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;I&amp;#39;m wondering:&lt;/p&gt;
&lt;p&gt;Do you use:&lt;/p&gt;
&lt;p&gt;at at+cpsms=1,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;10001110&amp;quot;,&amp;quot;00000101&amp;quot;&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;at+cpsms=1,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;10001110&amp;quot;,&amp;quot;00000101&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The first one is wrong, only one &amp;quot;at&amp;quot; must be used, and the second one &amp;quot;works on my machine&amp;quot;.&lt;/p&gt;
&lt;p&gt;Maybe, if you don&amp;#39;t use the double &amp;quot;at&amp;quot;, you provide more lines from your logs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>