<?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>Public IP address and high power consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93286/public-ip-address-and-high-power-consumption</link><description>One of our customers provided their own SIM card for our nRF9160 based product, and the system works but they have been having higher than expected power consumption. 
 We have confirmed that EDRX and PSM are enabled and accepted by the cellular towers</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Nov 2022 14:49:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93286/public-ip-address-and-high-power-consumption" /><item><title>RE: Public IP address and high power consumption</title><link>https://devzone.nordicsemi.com/thread/396709?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 14:49:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2ff05b4-0ebd-449c-ad56-59a667e5794d</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Justin,&lt;/p&gt;
&lt;p&gt;Thanks for your update. According to your testing result, it is hard to say if it is different cellular network configurations or just public IP that cause this difference.&lt;/p&gt;
&lt;p&gt;You can check with to &lt;span&gt;AT%XMONITOR(&lt;a href="https://academy.nordicsemi.com/topic/lesson-2-exercise-1/"&gt;Exercise 1 – Nordic Developer Academy (nordicsemi.com)&lt;/a&gt;&amp;nbsp;step 14.2) to&amp;nbsp;&lt;/span&gt;see if the cellular network accepts your EDRX configuration.&lt;/p&gt;
&lt;p&gt;Otherwise, it is interesting to see the modem trace recordings of your tests to figure out what happens during the EDRX period.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Public IP address and high power consumption</title><link>https://devzone.nordicsemi.com/thread/396261?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2022 15:10:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0aec8bd-aa56-4e43-b076-4cbe70e8d5bd</guid><dc:creator>jbrzozoski</dc:creator><description>&lt;p&gt;In terms of remote debugging, we have also found that monitoring the CSCON status can provide a strong hint if this is the issue.&lt;/p&gt;
&lt;p&gt;We grab the system uptime on every CSCON status change, and use those times to accumulate the number of milliseconds the modem has been in connected state. We then divide that accumulated time by the total uptime to get a rough percentage of how often the modem is in a connected state.&lt;/p&gt;
&lt;p&gt;On a system with 10.24sec EDRX sitting mostly idle with a normal (firewallled) SIM, we see 5% or less connected time.&lt;/p&gt;
&lt;p&gt;On a system with 10.24sec EDRX sitting mostly idle with the public IP SIM (not firewalled), we see 40% connected time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Public IP address and high power consumption</title><link>https://devzone.nordicsemi.com/thread/396091?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2022 20:44:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdb0d9fe-dfc4-40ca-8b04-443aea82d3d4</guid><dc:creator>Joshua</dc:creator><description>&lt;p&gt;To follow up on this we obtained a test SIM from Verizon with a public static IP and found that even without us initiating any traffic the power draw during eDRX was 10x what it normally is. With a 10.24sec eDRX cycle we normally transactions at this interval, but with the public IP the modem was being woken up very&amp;nbsp;frequently and we rarely saw a full 10sec idle time.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Public IP address and high power consumption</title><link>https://devzone.nordicsemi.com/thread/393216?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 12:05:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0898645c-9872-4760-a192-9d1b949c5ef8</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Justin,&lt;/p&gt;
&lt;p&gt;I discussed this with our modem firmware development team and figure out&lt;/p&gt;
&lt;p&gt;&lt;span style="color:rgba(255, 0, 0, 1);"&gt;There is actually a ping response service inside the modem firmware.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Sorry for my mistake and it is not documented anywhere. This means if your device does get a global IP from the network operator, you would be able to ping this device.&lt;/p&gt;
&lt;p&gt;I guess the next step your need to contact the local network operator to get a different network configuration if you have security concerns.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Public IP address and high power consumption</title><link>https://devzone.nordicsemi.com/thread/392989?ContentTypeID=1</link><pubDate>Fri, 28 Oct 2022 10:42:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ede9622-7c3c-4e2b-96bf-6e041faaf37d</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Justin,&lt;/p&gt;
[quote user="jbrzozoski"]In general, if the nRF9160 were to receive unsolicited or unexpected TCP/UDP traffic on closed ports, how would it behave? My big picture expectation is that the modem processor would handle everything, drop the traffic, and never alert the application processor. Is that more or less correct?[/quote]
&lt;p&gt;Yes, it will ignore everything coming if there is no socket connection on a specific port.&lt;/p&gt;
&lt;p&gt;I think you would need some on-field debugging for this issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Public IP address and high power consumption</title><link>https://devzone.nordicsemi.com/thread/392879?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2022 14:18:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23af6379-8d41-4a24-8257-17ed9e143556</guid><dc:creator>jbrzozoski</dc:creator><description>[quote userid="93921" url="~/f/nordic-q-a/93286/public-ip-address-and-high-power-consumption/392788"]&lt;p&gt;This also sounds weird to me.&amp;nbsp;Do you get API info through the &amp;quot;&lt;span&gt;AT+CGDCONT?&amp;quot; command? how does the cloud server &amp;quot;see&amp;quot; the device IP?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;One simple way is to check with the local cellular network provider about the public IP address concern.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Yes, we used &amp;quot;AT+CGDCONT?&amp;quot; on the device side to get the IP. The admin console of the MQTT server in the cloud lets us see info about each client, and the IP address it reported for the client ID matched.&lt;/p&gt;
[quote userid="93921" url="~/f/nordic-q-a/93286/public-ip-address-and-high-power-consumption/392788"]This should not be possible. NCS does not have library support ICMP ping response for nRF9160 by far unless you have added this function on your own.[/quote]
&lt;p&gt;We have not added any functionality like that. It seems more likely to me that the cellular operator is doing something tricky and there is a firewall or proxy device in the path that is answering the PING.&lt;/p&gt;
&lt;p&gt;In general, if the nRF9160 were to receive unsolicited or unexpected TCP/UDP traffic on closed ports, how would it behave? My big picture expectation is that the modem processor would handle everything, drop the traffic, and never alert the application processor. Is that more or less correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Public IP address and high power consumption</title><link>https://devzone.nordicsemi.com/thread/392788?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2022 10:22:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db31bf46-79d9-4793-9973-7e692433a8e3</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Justin,&lt;/p&gt;
[quote user=""]However, we noticed that the APN info reported from the modem has the same IP address that the cloud server sees from the device, meaning it is NOT going through NAT, which we&amp;#39;ve never seen before.[/quote]
&lt;p&gt;This also sounds weird to me.&amp;nbsp;Do you get API info through the &amp;quot;&lt;span&gt;AT+CGDCONT?&amp;quot; command? how does the cloud server &amp;quot;see&amp;quot; the device IP?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;One simple way is to check with the local cellular network provider about the public IP address concern.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]We can ping the IP address and get a response, but we don&amp;#39;t know how to prove if the nRF9160 modem is responding or if some other network device is responding.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This should not be possible. NCS does not have library support ICMP ping response for nRF9160 by far unless you have added this function on your own. Have you checked if this IP is used by your cloud server?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See correction on comment:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/support-private/support/297547#permalink=801883"&gt;devzone.nordicsemi.com/.../297547&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]Does the nRF9160 respond to PINGs received from the cellular network? If so, is there some way to tell if that is happening without a modem trace?[/quote]
&lt;p&gt;No.&amp;nbsp;I am not sure how much access you can get from the remote device. If it is on the field untouchable or your customer has no capability to program and get debug information, it is almost impossible to know what&amp;#39;s wrong without getting debugging information.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>