<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[problems with service_data field on advertisement packets]]></title><description><![CDATA[<p dir="auto">Hi, i'm trying to set the &quot;service_data&quot; on the advertisement packets from my Wipy device, and i am having some troubles. when i try to set the service_data field to this value, everything is fine:</p>
<pre><code>adv_data2 = bytes([0xFF, 0xCB, 0x11,0x39,0x01,0x25, 0x11, 0x16, 0x47, 0x14, 0x00, 0x04, 0x09, 0x06, 0x16, 0x44, 0x00])
bluetooth.set_advertisement(name=none, service_data=adv_data2)
</code></pre>
<p dir="auto">but when i expand the adv_data2 array wwith an additional byte, the service_data field does not appear on the advertisement packets. i suppose the problem is related to reach the max number of bytes for a ble packet, but when i check the info contained on the advertisement packets, i saw that the fields &quot;TXPower Level&quot; and &quot;Slave Conection Interval&quot; are included by default, so thet reduce the max bytes available for, i.e. service_data field. it is possible to configure the wipy not to send those fields?<br />
i would appreciate any help.<br />
thanks</p>
]]></description><link>https://forum.pycom.io/topic/3258/problems-with-service_data-field-on-advertisement-packets</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 15:37:28 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/3258.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 May 2018 12:39:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to problems with service_data field on advertisement packets on Wed, 16 May 2018 12:40:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi, i'm trying to set the &quot;service_data&quot; on the advertisement packets from my Wipy device, and i am having some troubles. when i try to set the service_data field to this value, everything is fine:</p>
<pre><code>adv_data2 = bytes([0xFF, 0xCB, 0x11,0x39,0x01,0x25, 0x11, 0x16, 0x47, 0x14, 0x00, 0x04, 0x09, 0x06, 0x16, 0x44, 0x00])
bluetooth.set_advertisement(name=none, service_data=adv_data2)
</code></pre>
<p dir="auto">but when i expand the adv_data2 array wwith an additional byte, the service_data field does not appear on the advertisement packets. i suppose the problem is related to reach the max number of bytes for a ble packet, but when i check the info contained on the advertisement packets, i saw that the fields &quot;TXPower Level&quot; and &quot;Slave Conection Interval&quot; are included by default, so thet reduce the max bytes available for, i.e. service_data field. it is possible to configure the wipy not to send those fields?<br />
i would appreciate any help.<br />
thanks</p>
]]></description><link>https://forum.pycom.io/post/19689</link><guid isPermaLink="true">https://forum.pycom.io/post/19689</guid><dc:creator><![CDATA[fbt]]></dc:creator><pubDate>Wed, 16 May 2018 12:40:00 GMT</pubDate></item><item><title><![CDATA[Reply to problems with service_data field on advertisement packets on Wed, 16 May 2018 21:16:29 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1767">@fbt</a> said in <a href="/post/19689">problems with service_data field on advertisement packets</a>:</p>
<blockquote>
<p dir="auto">it is possible to configure the wipy not to send those fields?</p>
</blockquote>
<p dir="auto">Sorry, this is not yet possible.</p>
]]></description><link>https://forum.pycom.io/post/19705</link><guid isPermaLink="true">https://forum.pycom.io/post/19705</guid><dc:creator><![CDATA[jmarcelino]]></dc:creator><pubDate>Wed, 16 May 2018 21:16:29 GMT</pubDate></item></channel></rss>