<?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>Unable to adverstise scanned data again using ble_app_hrs_rscs_relay example.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65750/unable-to-adverstise-scanned-data-again-using-ble_app_hrs_rscs_relay-example</link><description>Hi, I am using nrf5832 sdk 14.2 where I am trying to scan the data and advertise same data with some modifications. I have used Central and Peripheral example ble_app_hrs_rscs_relay. Here I am able to scan the data from other advertising device and collecting</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Sep 2020 15:47:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65750/unable-to-adverstise-scanned-data-again-using-ble_app_hrs_rscs_relay-example" /><item><title>RE: Unable to adverstise scanned data again using ble_app_hrs_rscs_relay example.</title><link>https://devzone.nordicsemi.com/thread/269043?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 15:47:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2db54b5-d7de-4219-9c95-deb9ac1b76c9</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Could you maybe post the full project? That would make it easier to get the full overview of what you are doing to update the data, and also to reproduce/debug the issue. If you do not want to post the project in public, I can convert the case to private.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to adverstise scanned data again using ble_app_hrs_rscs_relay example.</title><link>https://devzone.nordicsemi.com/thread/269008?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 13:36:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a13f5760-4b95-4575-8be4-32b459bb5570</guid><dc:creator>Yatendra Bhargava</dc:creator><description>&lt;p&gt;To update the buffer I have different functions which I am calling.&lt;/p&gt;
&lt;p&gt;Here in the above snippet only static data using &lt;span&gt;m_beacon_info&amp;nbsp;&lt;/span&gt;I am trying to advertise by calling&amp;nbsp;&lt;span&gt;advertising_init&amp;nbsp;&lt;/span&gt;&amp;nbsp; every 50ms in main() after scan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to adverstise scanned data again using ble_app_hrs_rscs_relay example.</title><link>https://devzone.nordicsemi.com/thread/269000?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 13:17:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5575413-0b37-4a58-afa1-b6bf6ffd71de</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Do you call&amp;nbsp;&lt;span&gt;advertising_init each time you update the buffer? The advertising data is copied into an internal buffer. Simply updating your data in&amp;nbsp;m_beacon_info will not affect the data being advertised until you call the correct functions to update the data.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to adverstise scanned data again using ble_app_hrs_rscs_relay example.</title><link>https://devzone.nordicsemi.com/thread/268965?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 12:13:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75591c2c-9cdc-4f78-a4d8-abdd2b439f21</guid><dc:creator>Yatendra Bhargava</dc:creator><description>&lt;p&gt;Hi Jorgen, I am using the following api for advertising and in my case advertising is also happening but the data is not visible when I tried in NRF Connect App just like when we flash the beacon example code. Beside that I am not getting any error.&lt;/p&gt;
&lt;p&gt;static void advertising_init(void)&lt;br /&gt;{&lt;br /&gt; ret_code_t err_code;&lt;br /&gt; ble_advertising_init_t init;&lt;br /&gt; memset(&amp;amp;init, 0, sizeof(init));&lt;/p&gt;
&lt;p&gt;init.advdata.name_type = BLE_ADVDATA_NO_NAME;&lt;br /&gt; init.advdata.include_appearance = true;&lt;br /&gt; init.advdata.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;&lt;br /&gt; init.advdata.uuids_complete.uuid_cnt = sizeof(m_adv_uuids) / sizeof(m_adv_uuids[0]);&lt;br /&gt; init.advdata.uuids_complete.p_uuids = m_adv_uuids;&lt;br /&gt; init.advdata.p_manuf_specific_data-&amp;gt;data.p_data = (uint8_t *) m_beacon_info;&lt;br /&gt; init.advdata.p_manuf_specific_data-&amp;gt;data.size = APP_BEACON_INFO_LENGTH;&lt;br /&gt;// init.srdata.p_service_data_array-&amp;gt;data.p_data = Data_str;&lt;br /&gt;// init.srdata.p_service_data_array-&amp;gt;data.size = sizeof(Data_str)/sizeof(uint8_t);&lt;br /&gt; init.config.ble_adv_fast_enabled = true;&lt;br /&gt; init.config.ble_adv_fast_interval = APP_ADV_INTERVAL;&lt;br /&gt; init.config.ble_adv_fast_timeout = APP_ADV_TIMEOUT_IN_SECONDS;&lt;/p&gt;
&lt;p&gt;init.evt_handler = on_adv_evt;&lt;/p&gt;
&lt;p&gt;err_code = ble_advertising_init(&amp;amp;m_advertising, &amp;amp;init);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;ble_advertising_conn_cfg_tag_set(&amp;amp;m_advertising, APP_BLE_CONN_CFG_TAG);&lt;br /&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to adverstise scanned data again using ble_app_hrs_rscs_relay example.</title><link>https://devzone.nordicsemi.com/thread/268952?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 11:50:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8be2e36c-45b3-4f63-a2de-68bcc4c08e9f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you post the code you used to update the advertising data?&lt;/p&gt;
&lt;p&gt;Are you getting any error codes when trying to update the advertising data?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>