<?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>How to transmit dynamic sensor datas on nrf52832 BLE?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67548/how-to-transmit-dynamic-sensor-datas-on-nrf52832-ble</link><description>Thanks in advanced. I achieve 4 uint8_t dynamic sensor datas, I want 52832 transmit them through BLE continuously. Based on examples\ble_peripheral\ble_app_gatts_c, I can see rssi value is advertised dynamicly in nrf connect app, which is done by ble_advertising_init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Oct 2020 10:00:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67548/how-to-transmit-dynamic-sensor-datas-on-nrf52832-ble" /><item><title>RE: How to transmit dynamic sensor datas on nrf52832 BLE?</title><link>https://devzone.nordicsemi.com/thread/276803?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2020 10:00:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe810625-f3a3-482f-8e2f-fb3b2a845818</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/57324/confusion-about-new-style-of-manufacturer-specific-data-updating/232427#232427"&gt;this post&lt;/a&gt; in the thread you linked to shows how you can update advertising data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to transmit dynamic sensor datas on nrf52832 BLE?</title><link>https://devzone.nordicsemi.com/thread/276688?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 15:21:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f83ad30-eead-4935-993c-689b857cf8b5</guid><dc:creator>faithself</dc:creator><description>&lt;p&gt;I find the ticket:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/57324/confusion-about-new-style-of-manufacturer-specific-data-updating#permalink=532250"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/57324/confusion-about-new-style-of-manufacturer-specific-data-updating#permalink=532250&lt;/a&gt;. The solution is use two different advertise&amp;nbsp;initialization with same contents except user-defined manufactor field.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to transmit dynamic sensor datas on nrf52832 BLE?</title><link>https://devzone.nordicsemi.com/thread/276665?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 14:10:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcdd6f06-5a89-49ae-82f3-2b496005727b</guid><dc:creator>faithself</dc:creator><description>&lt;p&gt;SDK is&amp;nbsp;nRF5_SDK_17.0.2_d674dde, no &lt;em&gt;&lt;code&gt;permanent&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/em&gt;field at all.&lt;/p&gt;
&lt;p&gt;ret_code_t ble_advertising_advdata_update(ble_advertising_t * const p_advertising,&lt;br /&gt; ble_advdata_t const * const p_advdata,&lt;br /&gt; ble_advdata_t const * const p_srdata)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to transmit dynamic sensor datas on nrf52832 BLE?</title><link>https://devzone.nordicsemi.com/thread/276645?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 13:27:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fde26b74-01fc-4952-a37b-b29d922946ed</guid><dc:creator>faithself</dc:creator><description>&lt;p&gt;&lt;span&gt;Thanks for reply. I want to&amp;nbsp;&lt;/span&gt;&lt;span&gt;advertise data that changes&amp;nbsp;periodly, I create a 100ms timer to do it, I&amp;#39;ve implemented it with advertising manufactor field,&amp;nbsp;and&amp;nbsp;as you said, it needs stop and re-start the advertising, and sometime it triggers fatal error when I use nrf connect app to connect it. I&amp;#39;m very interesting in&amp;nbsp;ble_advertising_advdata_update(), would you&amp;nbsp;show&amp;nbsp;me an example? I don&amp;#39;t know what the adverting module is. I thinjk it can&amp;#39;t be&amp;nbsp;advertising_init() then&amp;nbsp;advertising_start(). I want to advertise date continuously.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to transmit dynamic sensor datas on nrf52832 BLE?</title><link>https://devzone.nordicsemi.com/thread/276622?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 12:24:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43206bcc-89dc-4188-bd21-15c3f12f2adb</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The RSSI is the power of the signal at the receiver end. That is not part of the&amp;nbsp;advertising packet, but is status information you get in the receiver. (The Tx power level is sometimes part of the advertising packet, but then this is constant, so that the receiver can use that together with the RSSI to estimate distance.)&lt;/p&gt;
&lt;p&gt;I think it would be good to look more specifically at what you want to achieve, which is not&amp;nbsp;entierly clear to me. Can you clarify what you want to achieve? Is it to advertise data that changes&amp;nbsp;regularly (i.e. update the advertising data&amp;nbsp;regularly)? If so then you can set up an advertiser, and update the advertising data whenever you want by calling ble_advertising_advdata_update() if using the advertising module. You can also update it without using the advertising module but then you need to either alternate between two buffers, or stop and re-start the advertising after updating the data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>