<?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>A few asset tracker questions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72683/a-few-asset-tracker-questions</link><description>Hi all, 
 
 Just have a few Asset tracker questions if anyone knows the answer: 
 
 1) If using the nRF Cloud, and a custom env_sensor, what&amp;#39;s the maximum length databuf that can be posted in one go? 
 struct cloud_data { char *buf; size_t len; }; 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Mar 2021 14:43:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72683/a-few-asset-tracker-questions" /><item><title>RE: A few asset tracker questions</title><link>https://devzone.nordicsemi.com/thread/300466?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 14:43:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d4b5772-92af-40fa-a4d1-b576693378a3</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;PR that adds the note:&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/asset-tracker-cloud-docs/pull/74"&gt;github.com/.../74&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A few asset tracker questions</title><link>https://devzone.nordicsemi.com/thread/300362?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 11:29:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:253c9cad-8c5a-42b7-b914-111e91bfedcb</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;This would mean roughly 400 MB / month / device of pure data, not counting the transport overhead. And just for one device. MQTT and TCP is not really designed for sending streaming data, and adds significant overhead to the payload.&lt;/p&gt;
&lt;p&gt;Assuming that it&amp;#39;s OK the lose some of the packages (or even large chunks of data, since 1 hour takes up 1/2 MB of memory and depending on the application you could have longer phases of no connectivity), I still would look into using UDP and sending binary data to an endpoint, that then forwards the data to the data lake.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A few asset tracker questions</title><link>https://devzone.nordicsemi.com/thread/300330?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 09:53:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2aa7213-c610-4944-845c-90e333519486</guid><dc:creator>billywalton</dc:creator><description>&lt;p&gt;I have reattached the requirements as i as still hopeful for some input on the final points&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My client&amp;#39;s requirement is to sample 8 channels of ADC at a variable rate, maximum 10Hz, As low power as possible.&lt;/p&gt;
&lt;p&gt;So, assuming 2 bytes per sample, 1.6K every 10 secs or 9.6K every minute&lt;/p&gt;
&lt;p&gt;If the LTE signal is lost, then I have to store the data until I can get a connection and upload it (am fitting the SDCARD for this I guess)&lt;/p&gt;
&lt;p&gt;I like the provisioning and FOTA offered by nRFCloud, its neat, clean and easy to implement&lt;/p&gt;
&lt;p&gt;But the sampled data does not necessarily need to pass through the cloud (as I read somewhere there is a 1M transaction limit or something?)&lt;/p&gt;
&lt;p&gt;I have the SAADC ports running, and modified the env_senser to test it, all looks good.&lt;/p&gt;
&lt;p&gt;I only want to use the 9160 part.&lt;/p&gt;
&lt;p&gt;The client is happy to use webhooks or MQTT to accept the data into their database, nice and simple.&lt;/p&gt;
&lt;p&gt;So could you suggest how you may go about this type of implementation?&lt;/p&gt;
&lt;p&gt;Option 1, Use nRFCloud for provisioning, FOTA and sample data transactions&lt;/p&gt;
&lt;p&gt;Option 2, Use nRFCloud for provisioning and FOTA, but for the sample data, use an HTTP POST method to an external fixed IP server (directly to the database).&lt;/p&gt;
&lt;p&gt;Option 3, A better option which I have missed.&lt;/p&gt;
&lt;p&gt;Thanks again for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A few asset tracker questions</title><link>https://devzone.nordicsemi.com/thread/300328?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 09:49:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c404838-ade4-430f-bf9d-15531227699d</guid><dc:creator>billywalton</dc:creator><description>&lt;p&gt;Hi Markus,&lt;/p&gt;
[quote userid="24652" url="~/f/nordic-q-a/72683/a-few-asset-tracker-questions/300315#300315"]After all, if you want a turn-key solution, with no additional costs and no maintenance effort, nRF Connect for Cloud is absolutely the better choice. And the asset_tracker application offers the optimal implementation of their API and their advanced features, like A-GPS and FOTA v2.[/quote]
&lt;p&gt;This statement has been the clearest pointer of all for me so far and certainly clarifies the offerings, it also ties up with my own experience of evaluating the options.&lt;/p&gt;
&lt;p&gt;If I had read that at the beginning, for this project I would not have needed to consider it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A few asset tracker questions</title><link>https://devzone.nordicsemi.com/thread/300317?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 08:55:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bc397da-d4a2-4814-9778-cfd0443d6d5b</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;I am not clear on what your clients requirement are.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A few asset tracker questions</title><link>https://devzone.nordicsemi.com/thread/300315?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 08:52:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebeba69a-49e3-4af1-adad-abecb44e5de6</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;Hei Billy,&lt;/p&gt;
&lt;p&gt;thanks so much for the detailed response!&lt;/p&gt;
[quote userid="69265" url="~/f/nordic-q-a/72683/a-few-asset-tracker-questions/300242#300242"]1) Had to use Linux[/quote]
&lt;p&gt;it is mentioned in the &lt;a href="https://nordicsemiconductor.github.io/asset-tracker-cloud-docs/v1.5.x/docs/guides/SystemRequirements.html#system-requirements"&gt;System Requirements&lt;/a&gt;&amp;nbsp;that you can use Windows, and all the tools mentioned (Node.js, AWS CLI, Segger) in use should be working fine under native Windows, too. It&amp;#39;s just that we currently have no automated tests to ensure that everything works under Windows. I&amp;#39;ve linked your feedback to the thread about Windows support and I will keep an eye on feedback around that. However, I think it will be clear with my next comment, why this was not an immediate concern.&lt;/p&gt;
[quote userid="69265" url="~/f/nordic-q-a/72683/a-few-asset-tracker-questions/300242#300242"]2) AWS[/quote]
&lt;p&gt;I realized that we do not mention in the documentation that the &lt;em&gt;nRF Asset Tracker&lt;/em&gt;&amp;nbsp;project expects some prior experience with AWS and developing solutions on AWS; after all it is designed for developers who want a headstart on how to set up their AWS account for our devices, but then want to modify the solution to their needs.&lt;/p&gt;
[quote userid="69265" url="~/f/nordic-q-a/72683/a-few-asset-tracker-questions/300242#300242"]When I compare this to running the Asset_Tracker using the nRFCloud, there is no contest[/quote]
&lt;p&gt;And this is where the documentation failed you, we should be clearer on what to expect from nRF Asset Tracker.&lt;/p&gt;
&lt;p&gt;After all, if you want a turn-key solution, with no additional costs and no maintenance effort, nRF Connect for Cloud is absolutely the better choice. And the asset_tracker application offers the optimal implementation of their API and their advanced features, like A-GPS and FOTA v2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A few asset tracker questions</title><link>https://devzone.nordicsemi.com/thread/300245?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 21:24:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15595dd7-ea7d-480e-9e6a-cb604210a3db</guid><dc:creator>billywalton</dc:creator><description>&lt;p&gt;In addition, I am very open to you suggesting a way to satisfy my client&amp;#39;s requirements using an AWS solution if you feel its the best way.&amp;nbsp; I am happy to revisit if the potential is there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A few asset tracker questions</title><link>https://devzone.nordicsemi.com/thread/300242?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 20:59:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9534c3af-34ab-445f-9e42-8a060f8466fe</guid><dc:creator>billywalton</dc:creator><description>&lt;p&gt;Hi Markus,&lt;/p&gt;
&lt;p&gt;Of course,&lt;/p&gt;
&lt;p&gt;The setup process on the cloud side was considerable, the main points which hit me included:&lt;/p&gt;
&lt;p&gt;1) Had to use Linux&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not that I&amp;#39;m afraid of Linux, its simply down to knowing that when I deploy the project to the maintainers, I need to deploy multiple OS&amp;#39;s for them, we use SES on windows for the firmware devel, our current windows versions don&amp;#39;t support the windows app store distros.&amp;nbsp; All in all its a pain to have to include another OS in the support requirements.&lt;/p&gt;
&lt;p&gt;2) AWS&lt;/p&gt;
&lt;p&gt;Its big, bulky, massively involved, loads of restrictions (ie supported region selections), more financial commitment on top of SIMs.&amp;nbsp; The dependencies and install process wasn&amp;#39;t simple at all, your documentation is good but does not cover everything I had to do to get the AWS part working with all the dependencies it needed, how it works, what relies on what, etc&lt;/p&gt;
&lt;p&gt;For me, I had never used AWS before, but I have been developing for years.&amp;nbsp; When I have finished this project I need to hand this over to someone, which would suggest that I have to add Linux and AWS skills to their skillsets.&lt;/p&gt;
&lt;p&gt;When Amazon change things in the future, I can see frequent maintenance requirements to fix things that may get broken, which would again involve confident Linux and AWS skills for whoever is employed to support it.&lt;/p&gt;
&lt;p&gt;When I compare this to running the Asset_Tracker using the nRFCloud, there is no contest - it was so easy, quick and fluid to set up, no additional OS needed, no AWS learning curve, I literally had it up and running in minutes, it looks nice, it works, it ticks the boxes with far far less commitment and time.&lt;/p&gt;
&lt;p&gt;So it&amp;#39;s hard to justify.&amp;nbsp; I feel more exposed to future support and maintenance requirements potentially needed when using AWS.&lt;/p&gt;
&lt;p&gt;In fact, Nordic has done a stunning job with the nRFCloud offering, if the nRFCloud worked with the Asset Tracker 2, I think&lt;em&gt;&amp;nbsp;&lt;/em&gt;I would already be steaming down that path.&lt;/p&gt;
&lt;p&gt;These points are solely based on evaluating the two Asset_Tracker apps, so it was a good experience for me to see the differences involved.&amp;nbsp; I&amp;#39;m not saying I wouldn&amp;#39;t choose AWS for a different project in the future, it&amp;#39;s just the effort to get it working in this case, for this project, was much greater then I had imagined. I hope Asset_tracker 2 gets a few alternative choices in the future, just for that reason, choice.&lt;/p&gt;
&lt;p&gt;All that said, its clear a lot of work has been put into this, and the end-user result is very nice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am always open to suggestions and welcome your comments if you think I have missed something or done something wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A few asset tracker questions</title><link>https://devzone.nordicsemi.com/thread/300214?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 16:24:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bba2ae1-41ea-4086-b0eb-a6e096f6ec16</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>[quote userid="69265" url="~/f/nordic-q-a/72683/a-few-asset-tracker-questions/299930#299930"]I have tried V2 but have problems with the AWS, the AWS part is a massive headache for this project[/quote]
&lt;p&gt;If you have time I would greatly appreciate if you could give some insights on what specifically you don&amp;#39;t like, or what could be improved to help you in your current situation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A few asset tracker questions</title><link>https://devzone.nordicsemi.com/thread/299930?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 17:05:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10a67bf5-45cb-4ecf-bcd8-566ccc6229dd</guid><dc:creator>billywalton</dc:creator><description>&lt;p&gt;Firstly, thanks for this, a really informative post.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have tried V2 but have problems with the AWS, the AWS part is a massive headache for this project&lt;/p&gt;
&lt;p&gt;My client&amp;#39;s requirement is to sample 8 channels of ADC at a variable rate, maximum 10Hz, As low power as possible.&lt;/p&gt;
&lt;p&gt;So, assuming 2 bytes per sample, 1.6K every 10 secs or 9.6K every minute&lt;/p&gt;
&lt;p&gt;If the LTE signal is lost, then I have to store the data until I can get a connection and upload it (am fitting the SDCARD for this I guess)&lt;/p&gt;
&lt;p&gt;I like the provisioning and FOTA offered by nRFCloud, its neat, clean and easy to implement&lt;/p&gt;
&lt;p&gt;But the sampled data does not necessarily need to pass through the cloud (as I read somewhere there is a 1M transaction limit or something?)&lt;/p&gt;
&lt;p&gt;I have the SAADC ports running, and modified the env_senser to test it, all looks good.&lt;/p&gt;
&lt;p&gt;I only want to use the 9160 part.&lt;/p&gt;
&lt;p&gt;The client is happy to use webhooks or MQTT to accept the data into their database, nice and simple.&lt;/p&gt;
&lt;p&gt;So could you suggest how you may go about this type of implementation?&lt;/p&gt;
&lt;p&gt;Option 1, Use nRFCloud for provisioning, FOTA and sample data transactions&lt;/p&gt;
&lt;p&gt;Option 2, Use nRFCloud for provisioning and FOTA, but for the sample data, use an HTTP POST method to an external fixed IP server (directly to the database).&lt;/p&gt;
&lt;p&gt;Option 3, A better option which I have missed.&lt;/p&gt;
&lt;p&gt;Thanks again for your help&lt;/p&gt;
&lt;p&gt;Billy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A few asset tracker questions</title><link>https://devzone.nordicsemi.com/thread/299860?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 14:57:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:714c5993-3398-4638-8663-35b9bfbc8eb8</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;There are some improvements in V2 that we do recommend and in theory it is easier to implement custom use cases as the design is more modular. &lt;br /&gt;&lt;br /&gt;That said&amp;nbsp;&lt;/p&gt;
[quote user=""]If using the nRF Cloud, and a custom env_sensor, what&amp;#39;s the maximum length databuf that can be posted in one go?[/quote]
&lt;p&gt;the data buffer can be &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/asset_tracker_v2/README.html#memory-allocation"&gt;adjusted&lt;/a&gt;, but for one transmit 10K with dynamically allocated date by sending pointer + length. you can allocate heap or stack.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""]If a cloud post fails because it can&amp;#39;t connect or no signal, does it queue the data for retry or just drops it?[/quote]
&lt;p&gt;&amp;nbsp;Data is being buffered and will be uploaded in&amp;nbsp;correct order, however there is a limit to the amount of data that can be stored&lt;br /&gt;&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/asset_tracker_v2/README.html#data-buffers"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/asset_tracker_v2/README.html#data-buffers&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""]Is it using the SAADC to monitor the battery anywhere?[/quote]
&lt;p&gt;No, not in any of the examples at the moment. &lt;br /&gt;In the &lt;a href="https://github.com/bifravst/cat-tracker-fw/blob/5212fc1f8fc5eec7372b8ce93f2feafd28de1526/src/main.c#L230"&gt;cat tracker&lt;/a&gt; -&amp;gt; there is a get_voltage_levelf function.&amp;nbsp; And the way its done in Asset tracker V2 is&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/c63f593c954014e86426dd9d98a090526d6ded5d/applications/asset_tracker_v2/src/modules/modem_module.c#L400"&gt;request data from modem&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A few asset tracker questions</title><link>https://devzone.nordicsemi.com/thread/299476?ContentTypeID=1</link><pubDate>Fri, 12 Mar 2021 13:12:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:183cc736-464b-4bac-ba83-0812946b856b</guid><dc:creator>billywalton</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The first version is the one I have running, but could change if needed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A few asset tracker questions</title><link>https://devzone.nordicsemi.com/thread/299474?ContentTypeID=1</link><pubDate>Fri, 12 Mar 2021 13:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fed1fe6e-c0a0-4cf5-a92b-b3292b0b7f40</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;What Asset tracker&amp;nbsp;version are you looking at ?&lt;br /&gt;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/asset_tracker/README.html"&gt;Assetracker&lt;/a&gt; &lt;br /&gt;or&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/asset_tracker_v2/README.html"&gt;Assetracker V2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>