<?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>Beacon advertisement zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92183/beacon-advertisement-zephyr</link><description>Hello, 
 I would like to create my beacon application to publish periodically (e.g. 10sec) data related to three temperature sensor. 
 What&amp;#39;re the possible solution to implement it? Eddystone-TLM? Multi-advertisement? Single- advertisement? 
 Do you have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Sep 2022 07:44:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92183/beacon-advertisement-zephyr" /><item><title>RE: Beacon advertisement zephyr</title><link>https://devzone.nordicsemi.com/thread/388046?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2022 07:44:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8be84564-9312-46c6-88f2-13f8d7f7b536</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would suggest single advertisement, and putting the three temperature values as you like it, encrypted or not, within a Manufacturer Data packet; probably won&amp;#39;t even need a Scan Response.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon advertisement zephyr</title><link>https://devzone.nordicsemi.com/thread/388016?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 22:49:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d7aca27-d833-4737-9db3-c6d2bdbabf19</guid><dc:creator>MPDeveloper89</dc:creator><description>&lt;p&gt;Thank you again.&lt;/p&gt;
&lt;p&gt;I agrre with your for answer.&lt;/p&gt;
&lt;p&gt;Let me to simplify my scenario where, there is a beacon that transmit its adv package and a smartphone observe data. Package data should be data related three sensor.&lt;/p&gt;
&lt;p&gt;Without any requirement, what&amp;#39;s the best solution (or what you suggest for the implementation)&amp;nbsp;?&lt;/p&gt;
&lt;p&gt;I mean:&amp;nbsp;&lt;span&gt;Eddystone-TLM? Multi-advertisement? Single- advertisement?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon advertisement zephyr</title><link>https://devzone.nordicsemi.com/thread/387872?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 10:43:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d405ff16-e92c-4c73-9772-a9775478da8e</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Given your requirements, here are some information/recommendation with some technical keywords for you to research on.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If your phone device has to send command or any data to the sensor-reading device, then you &lt;em&gt;&lt;strong&gt;probably&lt;/strong&gt;&lt;/em&gt; want a connection.&lt;br /&gt;In a connection setup, your sensor-reading device should be be a &lt;strong&gt;GAP Peripheral&lt;/strong&gt;, most likely a &lt;strong&gt;GATT Server&lt;/strong&gt;. Your phone&amp;nbsp;device should be a &lt;strong&gt;GAP Central&lt;/strong&gt;, most likely a &lt;strong&gt;GATT Client&lt;/strong&gt;.&lt;br /&gt;A relevant sample:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/peripheral_esp/README.html"&gt;Bluetooth: Peripheral ESP&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;If you have multiple phone-devices&amp;nbsp;requiring access to&amp;nbsp;the sensor-reading device, then you can go with either connection or advertising.&lt;br /&gt;A relevant sample for &lt;strong&gt;one peripheral connecting to multiple centrals&lt;/strong&gt;:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_bms/README.html"&gt;Bluetooth: Peripheral Bond Management Service (BMS)&lt;br /&gt;&lt;/a&gt;I believe you are already trying plenty of advertising samples.&lt;br /&gt;&lt;br /&gt;One immediate advantage of using connection over scan/advertise is power consumption: The phone reading the data will have to&amp;nbsp;continuously scan for advertising data.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;If you&amp;nbsp;want to obscure data in a connection, you will want &lt;strong&gt;Pairing&lt;/strong&gt; with &lt;strong&gt;Security&lt;/strong&gt;.&lt;br /&gt;Relevant samples: Also the BMS sample linked above&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;If you want to obscure data in an advertising packet, you will want&amp;nbsp;to encrypted the advertising data. In this case you should use the Manufacturer Data&amp;nbsp;data field.&amp;nbsp;&lt;br /&gt;I am unfortunately not well versed in encryption features. Here are some samples I found:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/samples_crypto.html"&gt;Cryptography samples&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Please keep in mind the above are just quick start recommendations.&lt;/p&gt;
&lt;p&gt;Once you get more familiar with the technology, there are&amp;nbsp;more things you can choose from. Perhaps a different protocol, like Thread or Bluetooth Mesh. Perhaps a custom GATT Profile, even.&lt;br /&gt;&lt;br /&gt;Of course, the more features/advanced technologies you add on a device, the more work it will be. &lt;br /&gt;&lt;br /&gt;You will need some balancing between your requirement, timeline and resources.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Continuing this conversation will most probably divert from the original topic about getting started with advertising. If you don&amp;#39;t mind, shall we verify my previous reply as the answer and have new Q&amp;amp;A for your follow-up questions?&lt;/p&gt;
&lt;p&gt;Finally, about your new ticket &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/92278/zephyr-set-periodic-advertising-parameters-err--134"&gt;Zephyr set periodic advertising parameters (err -134)&lt;/a&gt;, unfortunately it has been assigned to a different team. But I believe you will be in good hands.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon advertisement zephyr</title><link>https://devzone.nordicsemi.com/thread/387755?ContentTypeID=1</link><pubDate>Sat, 24 Sep 2022 14:33:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12833560-bcba-4d5a-a2e1-db05128e36d6</guid><dc:creator>MPDeveloper89</dc:creator><description>&lt;p&gt;Hello Hieu,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you very much for your detailed suggestion.&lt;/p&gt;
&lt;p&gt;I followed the webinar that It was very clear and useful. Thank you again.&lt;/p&gt;
[quote userid="9456" url="~/f/nordic-q-a/92183/beacon-advertisement-zephyr/387318"]Choosing which format and implementation to use will be dependent on your overall system design. Some example concerns are: &lt;br /&gt;- Which device do you want to observe that data, and how? &lt;br /&gt;- Which device do you want to &lt;em&gt;&lt;strong&gt;not&lt;/strong&gt;&lt;/em&gt; observe that data? &lt;br /&gt;- How do you&amp;nbsp;acquire the data from the sensor? One beacon device reading all three sensors, or one beacon device each sensor?[/quote]
&lt;p&gt;- Device that has to obverse data is an Android Smartphone that should be also update the advertising data package period (this point is low priority)&lt;/p&gt;
&lt;p&gt;- There isn&amp;#39;t limitation on the device that can be observe (of course I&amp;#39;m very curious to know, how I can limitat the access to a specif Android device for example)&lt;/p&gt;
&lt;p&gt;- One beacon device read data from three sensor and transmit the package.&lt;/p&gt;
&lt;p&gt;Which solution can be applicable?&lt;/p&gt;
&lt;p&gt;Of course Eddystone-TLM is more readable but If I want obscure the real data, I think that single or multiple advertising will be more useful.&lt;/p&gt;
[quote userid="9456" url="~/f/nordic-q-a/92183/beacon-advertisement-zephyr/387318"]For documentation on BLE Advertising and Beacon, you can look at:&lt;br /&gt;-&amp;nbsp;Sample:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/beacon/README.html?highlight=zephyr+beacon"&gt;Bluetooth: Beacon&lt;/a&gt;&lt;br /&gt;-&amp;nbsp;Sample:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/periodic_adv/README.html?highlight=advertise"&gt;Bluetooth: Periodic Advertising&lt;/a&gt;&lt;br /&gt;-&amp;nbsp;Sample:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/scan_adv/README.html?highlight=advertise"&gt;Bluetooth: Scan &amp;amp; Advertise&lt;br /&gt;&lt;/a&gt;-&amp;nbsp;BLE Advertising APIs are included in:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/api/gap.html"&gt;Generic Access Profile (GAP)&lt;/a&gt;[/quote]
&lt;p&gt;I tried to compile and execute examples suggested but I countered some issue (I think related to the network layer or some incompatibility ) that I reported &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/92278/zephyr-set-periodic-advertising-parameters-err--134"&gt;here&lt;/a&gt;. I will appreciate if you can help me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you in advance.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon advertisement zephyr</title><link>https://devzone.nordicsemi.com/thread/387318?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2022 13:40:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:facf0782-33fd-44cc-adda-b24ddba57ffb</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;What&amp;#39;re the possible solution to implement it? Eddystone-TLM? Multi-advertisement? Single- advertisement?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you have some suggestion?&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Actually, all solutions you listed are possible solutions. :D&lt;br /&gt;And there are&amp;nbsp;many more&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Choosing which format and implementation to use will be dependent on your overall system design. Some example concerns are: &lt;br /&gt;- Which device do you want to observe that data, and how? &lt;br /&gt;- Which device do you want to &lt;em&gt;&lt;strong&gt;not&lt;/strong&gt;&lt;/em&gt; observe that data? &lt;br /&gt;- How do you&amp;nbsp;acquire the data from the sensor? One beacon device reading all three sensors, or one beacon device each sensor?&lt;/p&gt;
&lt;p&gt;Depends on your requirement, a beacon might even not be what you want!&lt;/p&gt;
&lt;p&gt;Making a good design probably involve solving your next questions:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Where can I find documentation?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;For your current particular interest in&amp;nbsp;beacon broadcasting temperature data, I can recommend the following webminar:&amp;nbsp;&lt;br /&gt;- Video:&amp;nbsp;&lt;a href="https://webinars.nordicsemi.com/everything-you-need-to-know-about-4"&gt;Everything you need to know about Bluetooth LE advertising&lt;br /&gt;&lt;/a&gt;- Presentation is &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4846.bluetoothLEAdvertisingPresentation.pdf"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For documentation on BLE Advertising and Beacon, you can look at:&lt;br /&gt;-&amp;nbsp;Sample:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/beacon/README.html?highlight=zephyr+beacon"&gt;Bluetooth: Beacon&lt;/a&gt;&lt;br /&gt;-&amp;nbsp;Sample:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/periodic_adv/README.html?highlight=advertise"&gt;Bluetooth: Periodic Advertising&lt;/a&gt;&lt;br /&gt;-&amp;nbsp;Sample:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/scan_adv/README.html?highlight=advertise"&gt;Bluetooth: Scan &amp;amp; Advertise&lt;br /&gt;&lt;/a&gt;-&amp;nbsp;BLE Advertising APIs are included in:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/api/gap.html"&gt;Generic Access Profile (GAP)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For more guides on working with the nRF Connect SDK, you can look at our&amp;nbsp;:&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/"&gt;Guides&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Wikipedia also has a pretty great entry:&amp;nbsp;&lt;a href="https://en.wikipedia.org/wiki/Bluetooth_Low_Energy_beacon"&gt;Bluetooth Low Energy beacon - Wikipedia&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Finally, &lt;em&gt;&lt;strong&gt;the&lt;/strong&gt;&lt;/em&gt;&amp;nbsp;official all about BLE advertisement documentation is the &lt;a href="https://www.bluetooth.com/specifications/specs/core-specification-5-3/"&gt;Bluetooth Core Specification&lt;/a&gt; and&amp;nbsp;&lt;a href="https://www.bluetooth.com/specifications/specs/"&gt;its supplements&lt;/a&gt;. However, that &lt;em&gt;&lt;strong&gt;can be&lt;/strong&gt; &lt;strong&gt;real hard&lt;/strong&gt;&lt;/em&gt;&amp;nbsp;to read&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;For&amp;nbsp;getting a quick start and/or simple application (such as the one you described), I do recommend&amp;nbsp;going through the webminar or some similar online articles, and&amp;nbsp;then dive right in&amp;nbsp;and play with some samples.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>