<?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: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50037/nrf9160-lte-sensor-gateway</link><description>I have managed to upload data from nRF52832 using nRF9160. I upload the data as tempreture sensor (although they are just values in mV), and my interface at the nRF connect for Cloud looks like this 
 
 my questions are 
 
 How can I change this interface</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Aug 2019 09:17:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50037/nrf9160-lte-sensor-gateway" /><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/202362?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 09:17:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:115532f7-44ce-4101-98f8-73d2fe5c1998</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Similar to inclusiveStart and exclusiveEnd: &amp;lt;rest_of_url&amp;gt;&amp;amp;pageNextToken=&amp;lt;token&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/202329?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 08:12:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d7cfec5-4c18-4c1b-8f94-15877c31ff27</guid><dc:creator>Marshed</dc:creator><description>&lt;p&gt;how do you use the token?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/202177?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 13:42:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f916ccf5-d640-4cef-9208-e87e03438912</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;In the response, there is a token for the next page of results, so that you can get more data.&lt;/p&gt;
&lt;p&gt;However, I would also take another look at the design of your application to see if you really need to get all the data at once, or if you can get it in smaller chunks as the data becomes available.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/202163?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 13:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ef1acdc-aac8-4470-8cb1-8f97f02075d5</guid><dc:creator>Marshed</dc:creator><description>&lt;p&gt;here i can see that the maximum is 100, what if i want more than 100 what should i do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/202155?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 12:57:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:059e48a2-d386-4eb2-addb-3f2badb678a0</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;The&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;Authorization:&amp;quot;Bearer &amp;lt;API key&amp;gt;&amp;quot;&lt;/pre&gt; part of the httpie command is not part of the url, but specifies the content of the &amp;quot;Authorization&amp;quot; field in the HTTP header. For how to set this in MATLAB, you should refer to the MATLAB documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/202152?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 12:51:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffb43e40-d8ca-4f04-9aa1-91af0efd3c74</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;The API call only returns 10 messages by default, however, you can ask for more.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Take a look at&amp;nbsp;&lt;a href="http://petstore.swagger.io/?url=https://docs.api.nrfcloud.com/api/api-rest.yaml#/Messages/fetchMessages"&gt;http://petstore.swagger.io/?url=https://docs.api.nrfcloud.com/api/api-rest.yaml#/Messages/fetchMessages&lt;/a&gt;&amp;nbsp;for more information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/202134?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 12:07:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45eb1e3b-8dff-48a5-abce-566851cf66c9</guid><dc:creator>Marshed</dc:creator><description>&lt;p&gt;the other question is why does this return the last 10 messages only?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/202085?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 10:01:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cad4643d-133d-42fb-871a-fee550a9908d</guid><dc:creator>Marshed</dc:creator><description>&lt;p&gt;I am trying to run the same command on MATLAB and i am getting the status 401 again, can you assist?&lt;/p&gt;
&lt;p&gt;url = &lt;a href="https://api.nrfcloud.com/v1/messages?inclusiveStart=2019-08"&gt;&amp;#39;https://api.nrfcloud.com/v1/messages?inclusiveStart=2019-08&lt;/a&gt;-02T00%3A00%3A00.000Z^&amp;amp;exclusiveEnd=2019-08-03T00%3A00%3A00.000Z Authorization:&amp;quot;Bearer cf3741f41d4717c94700e541aa642e0a263919f9&amp;quot;&amp;#39;;&lt;/p&gt;
&lt;p&gt;data = webread(url);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/202052?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 08:21:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c401b351-4fd1-473b-8133-0f04e4ad0cfa</guid><dc:creator>Marshed</dc:creator><description>&lt;p&gt;api.nrfcloud.com/.../messages Authorization:&amp;quot;Bearer cf3741f41d4717c94700e541aa642e0a263919f9&amp;quot;&lt;/p&gt;
&lt;p&gt;it works thanks&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/202037?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 07:30:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db661c3c-310f-443e-aedf-3c17737858b3</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Can you send me the full command and the full output?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/201947?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 15:00:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96453634-d9de-4ae7-8231-f1034030ef37</guid><dc:creator>Marshed</dc:creator><description>&lt;p&gt;Hey&lt;/p&gt;
&lt;p&gt;the reply is still the same&amp;nbsp;&lt;/p&gt;
&lt;p&gt;IncompleteSignatureException error&lt;/p&gt;
&lt;p&gt;can you assist?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/201939?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 14:37:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2095f861-5fbc-4366-8765-f2607e455171</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;The messages call requires 2 parameters, inclusiveStart and exclusiveEnd. Both of these are a part of the url, so the&amp;nbsp;url would be similar to this:&lt;pre class="ui-code" data-mode="text"&gt;https://api.nrfcloud.com/v1/messages?inclusiveStart=2019-01-01T00%3A00%3A00.000Z&amp;amp;exclusiveEnd=2019-08-01T00%3A00%3A00.000Z&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, Windows CMD parses the &amp;amp; (right before exclusiveEnd), so it must be escaped for the url to be read correctly,&amp;nbsp; so your command would be similar to this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;http https://api.nrfcloud.com/v1/messages?inclusiveStart=2019-01-01T00%3A00%3A00.000Z^&amp;amp;exclusiveEnd=2019-08-01T00%3A00%3A00.000Z Authorization:&amp;quot;Bearer &amp;lt;your API token&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Note the ^ before the &amp;amp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/201898?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 13:00:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17b08636-f0af-4aa8-8cf6-af0430566076</guid><dc:creator>Marshed</dc:creator><description>&lt;p&gt;Thanks this works fine,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;back to REST API, I have been trying to retrieve some messages sent to the cloud using&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;http &lt;a href="https://api.nrfcloud.com/v1/messages?inclusiveStart=2019-07-01T00%3A00%3A00.000Z"&gt;api.nrfcloud.com/.../messages&lt;/a&gt; exclusiveEnd=2019-08-01T00%3A00%3A00.000Z Authorization:&amp;quot;Bearer cf3741f41d4717c94700e541aa642e0a263919f9&amp;quot;&lt;/p&gt;
&lt;p&gt;but I have been getting IncompleteSignatureException error&amp;nbsp;&lt;/p&gt;
&lt;p&gt;can you assist&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/201556?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 11:59:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce5b2916-ff0a-4635-acd6-cbcfbc0805a4</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;&lt;a href="https://www.computerhope.com/issues/ch000549.htm"&gt;https://www.computerhope.com/issues/ch000549.htm&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/201551?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 11:54:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9f8b1b6-5e75-4a54-9c48-43596341fea5</guid><dc:creator>Marshed</dc:creator><description>&lt;p&gt;how can I add openssl in my path environment variable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/201538?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 11:33:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8db5db2-764b-4851-9243-d59c3105734f</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Close, but not quite.&lt;/p&gt;
&lt;p&gt;If you look at the script it then parses the private key into the der format and outputs the result in an array in a new C file.&lt;/p&gt;
&lt;p&gt;The error from the Python script indicates that it was not able to run openssl. Is openssl in your PATH environment variable? If not, try to add it.&lt;/p&gt;
&lt;p&gt;If you are able to run the Python script where you generated the certificates, that should also work (if this is in another folder you would have to copy the output files into the private_info folder).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/201427?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 07:44:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7a91cca-2db3-4c32-b3ac-c7d5469547a3</guid><dc:creator>Marshed</dc:creator><description>&lt;p&gt;I did that but it gave me this error&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1564558745219v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;so instead I ran these commands on openssl&lt;/p&gt;
&lt;p&gt;ecparam -noout -name prime256v1 -genkey -out bolt-001-private.pem&lt;/p&gt;
&lt;p&gt;req -new -x509 -key bolt-001-private.pem -out bolt-001-cert.pem -days 1000000 -subj /CN=bolt-001&lt;/p&gt;
&lt;p&gt;to create my certificates&lt;/p&gt;
&lt;p&gt;was this not a good workaround?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/201421?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 07:32:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb41bf9e-dc62-48f0-aac2-d5fdb485fcaf</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Did you create your certificates?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In src\private_info there is a python script to create these keys. To do this we used the command below while in the private_info folder. DEVICE_NAME was replaced with the name of our device.&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;python create_keys.py -d DEVICE_NAME -e&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/201292?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2019 13:59:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf2bddcf-cab0-46cc-8020-26d5ba316455</guid><dc:creator>Marshed</dc:creator><description>&lt;p&gt;this works fine now, but I see in Rest API Docs the code is written in JavaScrip, how to run this on cmd?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/201278?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2019 13:41:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80cd3b25-184e-437d-a463-ea276099b822</guid><dc:creator>Marshed</dc:creator><description>&lt;p&gt;I have tried to use the link to connect the nRF9160 to Google Cloud, but whenever I compile the code i get this error&amp;nbsp;&lt;/p&gt;
&lt;p&gt;undefined reference to `zepfull_private_der&amp;#39; in the gcloud.c&amp;nbsp;&lt;/p&gt;
&lt;p&gt;any solutions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/200235?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 09:23:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:666e2e7c-bedb-4532-9ed1-a900ccc3059b</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The httpie commands worked for me, are you sure you spelled everything correctly?&lt;/p&gt;
&lt;p&gt;Did you follow &lt;a href="https://github.com/jakubroztocil/httpie#installation"&gt;these&lt;/a&gt;&amp;nbsp;instructions to install httpie?&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: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/200085?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2019 13:25:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18ab0900-4e30-414a-80f8-5194c01ff6ad</guid><dc:creator>Marshed</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have seen the API documentation for nRF Cloud, however there is no instructions on how to use GraphQL, and more importantly I have been getting errors when using REST API.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;for example this command&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;http &lt;a href="https://api.nrfcloud.com/v1/account"&gt;api.nrfcloud.com/.../account&lt;/a&gt; \
  Authorization:&amp;quot;Bearer 67c32a28037d6eddf08d87624f8256fd1999e721&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;gives me a missing authentication token. &lt;br /&gt;&lt;br /&gt;can you assist? &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: LTE Sensor Gateway</title><link>https://devzone.nordicsemi.com/thread/199789?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 12:38:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08aec519-7a42-4b09-b6ae-4bccf96ae2d9</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Have you seen the API documentation for nRF Cloud? You can find it if you log in to the cloud, and select &amp;quot;Device API&amp;quot; in the menu on the left side.&lt;/p&gt;
&lt;p&gt;According to the API documentation, the messages are&amp;nbsp;persisted indefinitely and can be retrieved using REST and GraphQL.&lt;/p&gt;
&lt;p&gt;As it is possible to fetch the stored messages, it should be possible to access the data from other places. It is also possible to send the data directly to your own cloud service.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/how-to-connect-nrf91-to-google-cloud"&gt;This&lt;/a&gt;&amp;nbsp;link describes how to connect the nRF9160 to Google Cloud, and the nrf_cloud library can be used as a starting point for connecting to your own AWS instance.&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></channel></rss>