<?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>Improve consumption by UUID organisation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88988/improve-consumption-by-uuid-organisation</link><description>Hi Nordic , 
 My product is working fine but i&amp;#39;m focusing on improving consumption at maximum because it is working on small battery ( evoluated tpms application) 
 It uses two sensors : a thermal camera and a second sensors for tpms( air pressure/batterie</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Jun 2022 07:58:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88988/improve-consumption-by-uuid-organisation" /><item><title>RE: Improve consumption by UUID organisation</title><link>https://devzone.nordicsemi.com/thread/373366?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2022 07:58:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b69b0c7-6f6e-4761-bbdd-0b0c8d6e99a3</guid><dc:creator>Olfox</dc:creator><description>&lt;p&gt;Hi Sigurd,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks a lot for your help and advices. Now it is clear with UUID :) .&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You are right, now i will fine tune with these parametre and check if it doesn&amp;#39;t bring to much latency to the user exeprience.&lt;/p&gt;
&lt;p&gt;i&amp;#39;m using module ( insight sip isp1907ht),&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1655798532837v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And DCDC is enable in main.c init&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:20px;max-width:427px;" height="20" src="https://devzone.nordicsemi.com/resized-image/__size/854x40/__key/communityserver-discussions-components-files/4/pastedimage1655798652792v2.png" width="427" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I had to change my thermal camera recently, i&amp;#39;m facing a new &amp;quot; issue&amp;quot; that i quikly solved but not sur it is the good way to proceed.&lt;/p&gt;
&lt;p&gt;But i created a new ticket for that :)&lt;/p&gt;
&lt;p&gt;in case you are interrested to have a look ;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/89172/communicate-with-sensor-in-timer-interrupt-occurs-issue"&gt;Communicate with sensor in timer interrupt occurs issue&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks a lot again for your help, it is precious !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improve consumption by UUID organisation</title><link>https://devzone.nordicsemi.com/thread/373211?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2022 11:52:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c572f42-979f-4b83-a25b-668f447401d1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The main benefit with notifications is that it&amp;#39;s GATT server initiated, so you can send it whenever the value changes. But if you don&amp;#39;t need all the values, then the read request is a good choice as well. I was not suggesting use both.&lt;/p&gt;
&lt;p&gt;I think there are better ways improve power consumption in this case, e.g. take a look at the BLE connection interval you are using, if you have DCDC components on your board, enable DCDC mode, add external LF crystal to your board if you don’t have that.&lt;/p&gt;
&lt;p&gt;You might find this blog post useful:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improve consumption by UUID organisation</title><link>https://devzone.nordicsemi.com/thread/372976?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2022 10:09:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10c4c1d5-290e-47ea-9078-475a34f813a3</guid><dc:creator>Olfox</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;OK that&amp;#39;s clear now that UUID is not send every time, but i guess just at each service discovery when it connect. so the less service and charac i have the less data will be send.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="15146" url="~/f/nordic-q-a/88988/improve-consumption-by-uuid-organisation/372958#372958"]The value is the same 9 out 10 times?&amp;nbsp;The central read this value 10 times per second? Why not just send a notification with the value when it changes?[/quote]
&lt;p&gt;The 16byte data of ircam will change each 100ms for sure.&lt;/p&gt;
&lt;p&gt;The pressure sensor is read each second.&lt;/p&gt;
&lt;p&gt;So we decide that mobil app read 10times per second the carac ircam, and one time per second the pressure charac.&lt;/p&gt;
&lt;p&gt;Idea was to use only one carac with both data but i realise that it is a waste of radio on time if uuid is not send each time and only 3byte with attribute opcode and attribute handle are send during read request.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is notification (even at 10hz) more energy efficient ? Because i guess it send notification, then receive a read request, and finally read response with data s i &amp;#39;loose&amp;#39; 10 notifications per second instead of just let the mobile app read by it self at its interval.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improve consumption by UUID organisation</title><link>https://devzone.nordicsemi.com/thread/372958?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2022 08:43:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c361db58-cdba-4124-ab40-d496c65e93c7</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]1) Is all the charac and services UUID send at each connexion to allow central to list services in peripheral?&amp;nbsp;[/quote]
&lt;p&gt;No. If there is nothing to send, only an Empty PDU will be sent.&lt;/p&gt;
[quote user=""]2)&amp;nbsp;Does central send UUID&amp;nbsp;of the charac to be read in each read request (meaning,128bits =&amp;nbsp; 10 times per second in my case?)[/quote]
&lt;p&gt;No, it&amp;nbsp;uses the&amp;nbsp;&amp;nbsp;Attribute Handle, not the complete UUID.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1655455488959v2.png" alt=" " /&gt;&lt;/p&gt;
[quote user=""]3) Even if tpms value will be 9/10 the same, Is it more profitable to have all data in one charac or keep as it is at the meoment in a second charac?[/quote][quote user=""]- &lt;strong&gt;Temperature Matrix averaged:&lt;/strong&gt;&amp;nbsp;16 bytes. Read in loop 10times per second, in connected mode[/quote]
&lt;p&gt;The value is the same 9 out 10 times?&amp;nbsp;The central read this value 10 times per second? Why not just send a notification with the value when it changes?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>