<?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>Advertisement lost 1 byte</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48094/advertisement-lost-1-byte</link><description>Hi guys, 
 I am using nrf52840 with sdk15.2 and have been experiencing some strange issue. After mobile phone connection to the device i lost 1 byte in advertisement or saying differently my device is advertising 1 byte less. 
 I am using sdk command</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Jun 2019 07:01:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48094/advertisement-lost-1-byte" /><item><title>RE: Advertisement lost 1 byte</title><link>https://devzone.nordicsemi.com/thread/192557?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 07:01:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d64b0699-ae09-4521-a1a0-df67201326af</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;I don&amp;#39;t think we have an example showing this, but I&amp;#39;ll see what I can do.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement lost 1 byte</title><link>https://devzone.nordicsemi.com/thread/192367?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 12:29:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:511d0df9-63c8-4d84-b47b-fa03b4e6a256</guid><dc:creator>schef</dc:creator><description>&lt;p&gt;If you have a working example where you change the size live please send me the source.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement lost 1 byte</title><link>https://devzone.nordicsemi.com/thread/192357?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 12:13:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b9adad8-728e-4259-bdee-b86b92452733</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll look into it and get back to you if I find anything.&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement lost 1 byte</title><link>https://devzone.nordicsemi.com/thread/192295?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 09:17:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49a19425-5c32-4607-89d0-5bfcab9d5d3d</guid><dc:creator>schef</dc:creator><description>&lt;p&gt;I change the adv in&amp;nbsp;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void func(bool radioActive){
  if (!radioActive) {
        // change adv (the func from the origiran question with the data
        // nordic_advertiser_adv_set with data
  }
}&lt;/pre&gt;&amp;nbsp;from&amp;nbsp;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ble_radio_notification_init(NRF_APP_PRIORITY_LOW, NRF_RADIO_NOTIFICATION_DISTANCE_800US, func)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement lost 1 byte</title><link>https://devzone.nordicsemi.com/thread/192282?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 09:04:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c026620-ca8a-4143-a526-a95b3a30da5e</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
[quote user="schef"]Is that a known issue that i can&amp;#39;t change the packet size live without stopping the advertisement? Do you have any suggestions?[/quote]
&lt;p&gt;I haven&amp;#39;t heard anything about a known issue for this.&amp;nbsp;&lt;br /&gt;I&amp;#39;m afraid I don&amp;#39;t have any suggestions as of now, but I&amp;#39;ll do some research and see if I can find anything.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you upload your code where you change the advertising data?&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement lost 1 byte</title><link>https://devzone.nordicsemi.com/thread/190972?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 07:35:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b933e767-814d-4f59-816e-23d451440663</guid><dc:creator>schef</dc:creator><description>&lt;p&gt;I think i know what the problem is.&lt;/p&gt;
&lt;p&gt;I have a custom packet with size od 31 bytes and ibeacon packet with size of 30 bytes. On every radio notification i call my nordic_advertiser_adv_set function and change between these two packets. For some reason after starting the advertisement the first packet that is advertised is the size that will stay until the next start. So it seemed to me that 1 byte was lost in my custom packet but when i looked more deeply i saw that when my custom packet was 31 bytes the ibeacon packet had also 31 bytes. I do not remember that i had that issue in SDK 14.2.&lt;/p&gt;
&lt;p&gt;Is that a known issue that i can&amp;#39;t change the packet size live without stopping the advertisement? Do you have any suggestions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement lost 1 byte</title><link>https://devzone.nordicsemi.com/thread/190810?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2019 14:07:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8e86dc2-bd60-422b-9b97-3858b72c9cff</guid><dc:creator>schef</dc:creator><description>&lt;p&gt;On connect advertisement stops by SDK so i start it again. This is when i see this misbehaviour. I will give more details tomorow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement lost 1 byte</title><link>https://devzone.nordicsemi.com/thread/190806?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2019 13:55:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a59c4be4-d59a-4c94-8622-7d72424aa8c6</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This sounds strange.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you seeing this when connecting your phone to the device, and then restarting the advertisement &lt;em&gt;while&amp;nbsp;&lt;/em&gt;connected to the device?&lt;/p&gt;
&lt;p&gt;Or are you connecting to the device, then disconnecting before seeing this misbehaviour of the advertisement?&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>