<?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>advertising packets include gatt attribute data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85707/advertising-packets-include-gatt-attribute-data</link><description>Hi: 
 I want to include the Characteristic value in the advertising packet，for example the real time battery level，thus there is no need to establish a connection between a central and a peripheral，is it impossible？（the chip is nrf52832，sdk version nRF5_SDK_17</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Mar 2022 02:30:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85707/advertising-packets-include-gatt-attribute-data" /><item><title>RE: advertising packets include gatt attribute data</title><link>https://devzone.nordicsemi.com/thread/358311?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 02:30:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b141d8f-1f0f-465b-a555-309df1524851</guid><dc:creator>Abner</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Ok i got it, it helped me a lot,thank you!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Alan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising packets include gatt attribute data</title><link>https://devzone.nordicsemi.com/thread/357903?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 10:30:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c13f8e06-fdcf-4a42-a12c-892940ab5123</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;All of the characteristic property values, including &amp;quot;broadcast property&amp;quot; are only relevant if you are planning to establish a connection.&lt;/p&gt;
&lt;p&gt;These values are meant to give information about the characteristics you&amp;#39;re sharing to the devices you connect to, so if you&amp;#39;re planning to only broadcast these values will never be used.&lt;/p&gt;
&lt;p&gt;The &amp;quot;Service Data AD Type&amp;quot; is a formatting type for your advertising data. You can place data you want to broadcast in a data field like this, but you&amp;#39;ll have to update it manually, for instance with&amp;nbsp;&lt;span&gt;ble_advertising_advdata_update().&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hope this clears things up,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Einar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising packets include gatt attribute data</title><link>https://devzone.nordicsemi.com/thread/357769?ContentTypeID=1</link><pubDate>Sat, 12 Mar 2022 02:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f920a99-898c-4744-8702-dbb0f9e60ac7</guid><dc:creator>alanking</dc:creator><description>&lt;p&gt;Hi：&lt;/p&gt;
&lt;p&gt;yes，&lt;span&gt;ble_advertising_advdata_update() it does work，but i do not&amp;nbsp; want to use it，I am looking for another possible way，for example using the &amp;ldquo;Broadcast property&amp;rdquo;，it said &amp;ldquo;If set, allows this characteristic value to be placed in advertising packets, using the Service Data AD Type&amp;rdquo;，so I think this might be a possible way.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;But I may have misunderstood the concept of &amp;ldquo;&lt;span&gt;Broadcast property&lt;/span&gt;&amp;rdquo; and &amp;ldquo;&lt;span&gt;Service&amp;nbsp;&lt;/span&gt;&lt;span&gt;Data AD Type&lt;/span&gt;&amp;rdquo;，if so，what is their meaning&amp;nbsp;&lt;span&gt;exactly，i want to&amp;nbsp;figure it out，and are&amp;nbsp;there any reference examples for these two concepts？&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks again！&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising packets include gatt attribute data</title><link>https://devzone.nordicsemi.com/thread/357650?ContentTypeID=1</link><pubDate>Fri, 11 Mar 2022 12:25:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fc91837-81aa-4af1-9136-a2179000cc95</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Why would ble_advertising_advdata_update() not work for your application?&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t you just want to change the data in the advertisement, or am I misunderstanding?&lt;/p&gt;
&lt;p&gt;If I&amp;#39;ve misunderstood, can you please explain what you are trying to do?&lt;/p&gt;
&lt;p&gt;-Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising packets include gatt attribute data</title><link>https://devzone.nordicsemi.com/thread/357582?ContentTypeID=1</link><pubDate>Fri, 11 Mar 2022 09:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5831dc67-7191-4123-a1ec-b0835b8b2946</guid><dc:creator>alanking</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Thank you for your reply,I just checked the Beacon project,it seems to broadcast fixed datas using the manufacturer AD type，but what I want to achieve is a dynamic broadcasting that the broadcast data follows the change of the&amp;nbsp;&lt;span&gt;characteristic&lt;/span&gt; attribute value.&lt;/p&gt;
&lt;p&gt;I know there is a way to dynamically update broadcast data using the function &amp;quot;ble_advertising_advdata_update()&amp;quot; ,but it requires application participation,does the softdevice supports automatic update of broadcast data according to the&amp;nbsp;&amp;quot;&lt;span&gt;add_char_params.char_props.broadcast = 1&amp;quot; ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And again am I misunderstanding the meaning of&amp;nbsp;Service Data AD Type and&amp;nbsp;Broadcast&amp;nbsp;Property?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thank you！&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising packets include gatt attribute data</title><link>https://devzone.nordicsemi.com/thread/357561?ContentTypeID=1</link><pubDate>Fri, 11 Mar 2022 08:57:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2dd1bbe-8a68-490f-9c29-b243e73571d3</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;Yes this should be possible, it sounds like you want to use your peripheral unit as a beacon.&lt;/p&gt;
&lt;p&gt;Have you looked at the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_beacon.html"&gt;Beacon transmitter sample application&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>