<?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>ble beacon over energy harvesting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95061/ble-beacon-over-energy-harvesting</link><description>hi dev 
 I have a question about energy harvest over BLE beacon. 
 As you can see from previous tickets, I&amp;#39;m working on making beacons using energy harvesting. 
 And now I made a voltage source using energy harvesting. This voltage supply is 3.0V and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Dec 2022 06:48:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95061/ble-beacon-over-energy-harvesting" /><item><title>RE: ble beacon over energy harvesting</title><link>https://devzone.nordicsemi.com/thread/401836?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 06:48:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b8405fe-7eb0-4457-91c4-38f764606351</guid><dc:creator>Senchoi</dc:creator><description>&lt;p&gt;It&amp;#39;s natural to get very complicated as you try to modify the given code. Usually you should work on top of nordic&amp;#39;s sdk layer. But there&amp;#39;s a good chance you have to modify things that people normally shouldn&amp;#39;t to implement what you want.&lt;/p&gt;
&lt;p&gt;removing such code is not going to help. if you&amp;#39;re using Segger Embedded Studio you can right click each code and select Go To Definition to get deeper into the sdk.&lt;/p&gt;
&lt;p&gt;In my brief research, it seems you have to insert sd_ble_gap_adv_stop(uint8_t adv_handle)&amp;nbsp;function somewhere in the code to stop advertising immediately after one adv event.&lt;/p&gt;
&lt;p&gt;Or there may be a single-shot mode for ble_advertising_init.&lt;/p&gt;
&lt;p&gt;Or try setting&amp;nbsp;max_adv_evts to 1 for m_adv_params. This may be the single shot mode.&lt;/p&gt;
&lt;p&gt;Also since it says 100ms is the minimum value. You may be violating the standard. In that case things can get even more complicated to implement. It may not be even possible with Nordic&amp;#39;s sdk.&lt;/p&gt;
&lt;p&gt;I wish you good luck. It always looks impossible before you actually make it happen.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble beacon over energy harvesting</title><link>https://devzone.nordicsemi.com/thread/401833?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 06:12:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64f6c8c9-8926-44ce-93f8-698ed3ebc53f</guid><dc:creator>pail</dc:creator><description>[quote userid="103143" url="~/f/nordic-q-a/95061/ble-beacon-over-energy-harvesting/401674"]Would you try disabling timing interval mechanism and sending the data once and finish the program on your device?[/quote]
&lt;p&gt;would you explain about that?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been working on it since yesterday but... nothing changes.&lt;/p&gt;
&lt;p&gt;what I do is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) change the value of&amp;nbsp;NON_CONNECTABLE_ADV_INTERVAL&amp;nbsp; &amp;nbsp; MSEC_TO_UNITS(160, UNIT_0_625_MS)&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What I&amp;#39;ve checked here is that the smaller the value, the more sensitive the reaction is, and the bigger the value, the less effective it is.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1)-1 and I remove that code &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;: #define&amp;nbsp;NON_CONNECTABLE_ADV_INTERVAL&amp;nbsp; &amp;nbsp; MSEC_TO_UNITS(160, UNIT_0_625_MS)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;in this case, I can debug but nothing happens.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Everything I&amp;#39;ve done doesn&amp;#39;t work...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble beacon over energy harvesting</title><link>https://devzone.nordicsemi.com/thread/401674?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 10:53:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f0fcb85-a68a-4610-8c48-14b702e6f414</guid><dc:creator>Senchoi</dc:creator><description>&lt;p&gt;Then I&amp;rsquo;m guessing it&amp;rsquo;s the lack of supply for the peak current. When I measure BLE device ppk2, my case nRF52840 dongle, peak current fluctuates a little. In range 12 to 18mA. If you&amp;rsquo;re sure you&amp;rsquo;re supplying enough power, you should look deeper into softdevice whether the timer is getting cut off because the supply lasts only 24. Since the interval looks like 160ms. The timer value is trying to meet the compare value which results in not sending the data. Would you try disabling timing interval mechanism and sending the data once and finish the program on your device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble beacon over energy harvesting</title><link>https://devzone.nordicsemi.com/thread/401643?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 07:46:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2481856d-8455-43f8-98b6-3a02a6ef1842</guid><dc:creator>pail</dc:creator><description>&lt;p&gt;hi Senchoi&lt;/p&gt;
&lt;p&gt;thank you for reply my ticket.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry to say that&amp;nbsp;&lt;span&gt;There was something I forgot to write it down in this ticket&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;in my project, beacon and central device don&amp;#39;t have to pair and bond each other.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;because my beacon only send &amp;quot;advertising data&amp;#39; to central device.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and whenever central device receive &amp;quot;advertising data&amp;quot;, central device do something (like turning on the led on central board)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;there is no pairing or bonding process.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="103143" url="~/f/nordic-q-a/95061/ble-beacon-over-energy-harvesting/401623"]&lt;p&gt;as the code shows /**&amp;lt; The advertising interval for non-connectable advertisement (100 ms). This value can vary between 100ms to 10.24s). */&lt;/p&gt;
&lt;p&gt;There is a minimum time for ble pairs to be connected. I believe 24ms is not enough time.&lt;/p&gt;[/quote]
&lt;p&gt;As far as I understand, &amp;quot;the advertising interval&amp;quot; refers to the period during which the per&lt;span&gt;ipheral device (in my case, beacon) sends the advertising data once and then the next advertising data.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and whenever beacon turns on, it sends the advertising data right away.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;so in my case, I only need the first advertising adta. I dont need the advertising data to be sent after &amp;quot;the advertising interval&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble beacon over energy harvesting</title><link>https://devzone.nordicsemi.com/thread/401623?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 04:41:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1ce9d10-12fb-4340-a28d-223252743933</guid><dc:creator>Senchoi</dc:creator><description>&lt;p&gt;as the code shows /**&amp;lt; The advertising interval for non-connectable advertisement (100 ms). This value can vary between 100ms to 10.24s). */&lt;/p&gt;
&lt;p&gt;There is a minimum time for ble pairs to be connected. I believe 24ms is not enough time. Also you need to make sure maximum of at least 15mA is able to flow that&amp;#39;s the peak current when adv event or conn event happens.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>