<?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>nrf9160 current measurement with different data payloads</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74664/nrf9160-current-measurement-with-different-data-payloads</link><description>Hi, 
 
 I want to do this with nrf9160: 
 Transmit data (JSON strings) from the nrf9160 to some receiving end, and measure current profile for different amounts of data. It does not really matter what receives the data, e.g nrf cloud should work fine</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 May 2021 09:50:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74664/nrf9160-current-measurement-with-different-data-payloads" /><item><title>RE: nrf9160 current measurement with different data payloads</title><link>https://devzone.nordicsemi.com/thread/308122?ContentTypeID=1</link><pubDate>Tue, 04 May 2021 09:50:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60bdc5ed-b6f1-450d-ade7-065907a0d93b</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;The UDP sample can easily be configured to use UDP: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/udp/README.html#cmdoption-arg-CONFIG_UDP_PSM_ENABLE"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/udp/README.html#cmdoption-arg-CONFIG_UDP_PSM_ENABLE&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But, in all samples (that uses the LTE Link Control library, which is pretty much all of them) you can set &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/CONFIG_LTE_PSM_REQ_RPTAU.html#cmdoption-arg-CONFIG_LTE_PSM_REQ_RPTAU"&gt;&lt;code&gt;CONFIG_LTE_PSM_REQ_RPTAU&lt;/code&gt;&lt;/a&gt; and &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/CONFIG_LTE_PSM_REQ_RAT.html#cmdoption-arg-CONFIG_LTE_PSM_REQ_RAT"&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;CONFIG_LTE_PSM_REQ_RAT&lt;/code&gt;&lt;/a&gt;&lt;code&gt;&lt;/code&gt; to request PSM when you connect to the network.&lt;/p&gt;
&lt;p&gt;The cloud_client can also be used, and as it seems to have been written with PSM in mind, it might be a better sample to use than the mqtt_simple sample.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 current measurement with different data payloads</title><link>https://devzone.nordicsemi.com/thread/307994?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 15:50:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:435dffc3-27a6-424c-a964-762cae4f2e12</guid><dc:creator>MariusB</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks, this was great information. However, as far as I understand, PSM is disabled in these samples? I found the sample called Cloud Client:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/cloud_client/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/cloud_client/README.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This sample does not seem to disable PSM.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 current measurement with different data payloads</title><link>https://devzone.nordicsemi.com/thread/307942?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 12:50:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dadc0bf-4754-41b9-a269-bd1fc0e4b27c</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;First, we have an online power estimator: &lt;a href="https://devzone.nordicsemi.com/nordic/power/w/opp/3/online-power-profiler-for-lte"&gt;https://devzone.nordicsemi.com/nordic/power/w/opp/3/online-power-profiler-for-lte&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Its estimates are based on measurements from the UDP sample: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/udp/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/udp/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We do not have a similar sample for TCP, bu the https_client might be a good starting point: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/https_client/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/https_client/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Most clouds also use MQTT, so the mqtt_simple sample is also worth looking at: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/mqtt_simple/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/mqtt_simple/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can use it together with one of the open MQTT brokers to avoid having to set up a server or cloud solution yourself.&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: nrf9160 current measurement with different data payloads</title><link>https://devzone.nordicsemi.com/thread/307781?ContentTypeID=1</link><pubDate>Sun, 02 May 2021 08:57:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2930461-ea9b-4bdb-b094-0dde8daf9d38</guid><dc:creator>MariusB</dc:creator><description>&lt;p&gt;Also one thing: The sample should preferably use lte-m with power consumption optimization.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>