<?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>Hard Fault when advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31016/hard-fault-when-advertising</link><description>Hi everyone, 
 I&amp;#39;ve gat a problem with advertising. I&amp;#39;m using above mentioned module and Eclipse with GCC compiler, SDK version 14.2.0. 
 I followed the advertising tutorial and when I run the code, I&amp;#39;m getting to hard fault state. I&amp;#39;ve read that the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Mar 2018 15:37:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31016/hard-fault-when-advertising" /><item><title>RE: Hard Fault when advertising</title><link>https://devzone.nordicsemi.com/thread/123736?ContentTypeID=1</link><pubDate>Fri, 09 Mar 2018 15:37:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d987f22-340c-4398-9c14-f97aa2987a65</guid><dc:creator>Sascha Schmidt</dc:creator><description>&lt;p&gt;I&amp;#39;ve found the issue!! In the ble_app_template example is advertising_init function called before service_init function. That causes, that the softdevice doesn&amp;#39;t know my UUID and can&amp;#39;t encode it, when I change service and advertising_init function, the complete 128bit UUID is advertised.&lt;/p&gt;
&lt;p&gt;Thanks for all your help anyways!!! &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;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard Fault when advertising</title><link>https://devzone.nordicsemi.com/thread/123701?ContentTypeID=1</link><pubDate>Fri, 09 Mar 2018 13:54:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c6bdab9-51f1-4bc1-8d8c-0ae4079835de</guid><dc:creator>Sascha Schmidt</dc:creator><description>&lt;p&gt;As far as I understood that I have to define the UUID Type to _VENDOR_BEGIN (that&amp;#39;s the way it is in uart example). When I do that to my UUID the ble_advdata_encode function in ble_advdata_set function is returning error code 7 (NRF_ERROR_INVALID_PARAM). I don&amp;#39;t know what&amp;#39;s wrong?? Any other suggestion where I can have a look?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard Fault when advertising</title><link>https://devzone.nordicsemi.com/thread/123419?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 11:55:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3526aec-0d6d-4d5a-b4eb-1fc4a71b8a7a</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;You can check this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/21796/advertising-bluetooth-le-128-bit-vendor-specific-uuid"&gt;thread&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard Fault when advertising</title><link>https://devzone.nordicsemi.com/thread/123406?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 11:06:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07170127-0168-485c-a42c-0901cb9a7370</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;If I&amp;#39;m not mistaken, this is done in the ble_app_uart Nordic example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard Fault when advertising</title><link>https://devzone.nordicsemi.com/thread/123401?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 10:50:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23a0da39-f6b3-4b4a-96f9-5a8aa09f04a7</guid><dc:creator>Sascha Schmidt</dc:creator><description>&lt;p&gt;Can you give me an example how to get the 128bit uuid into the scan response data. I&amp;#39;m using the init struct from the ble_peripheral_template and it only can hold 16bit UUIDs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard Fault when advertising</title><link>https://devzone.nordicsemi.com/thread/122962?ContentTypeID=1</link><pubDate>Tue, 06 Mar 2018 08:34:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72f95c05-e79b-4f53-9bf3-ed9593f7d68f</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;So you probably want to advertise a 128 bit UUID, that&amp;#39;s already 16 bytes. What you can do is put your custom UUID in the scan response and see if that works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard Fault when advertising</title><link>https://devzone.nordicsemi.com/thread/122958?ContentTypeID=1</link><pubDate>Tue, 06 Mar 2018 08:28:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1275ac06-db4b-43b5-aeb7-c2f9c5e13a1f</guid><dc:creator>karthikeyan</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; you can advertise your own data in advertising packet. take ble_app_beacon as a base example and try to build your own application ans also you can create own service and advertise its uuid too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard Fault when advertising</title><link>https://devzone.nordicsemi.com/thread/122956?ContentTypeID=1</link><pubDate>Tue, 06 Mar 2018 08:22:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:213f6faa-13f2-4be4-838a-425c9075e2b3</guid><dc:creator>Sascha Schmidt</dc:creator><description>&lt;p&gt;No I didn&amp;#39;t tried it yet. How can this example help me with my problem? Are there costum services advertised?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard Fault when advertising</title><link>https://devzone.nordicsemi.com/thread/122954?ContentTypeID=1</link><pubDate>Tue, 06 Mar 2018 08:18:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e81c850f-9326-4c50-bce1-21f310340bf1</guid><dc:creator>Sascha Schmidt</dc:creator><description>&lt;p&gt;Is there a possibility to check how big my advertising data is right now?&lt;/p&gt;
&lt;p&gt;Background of all this is that I want to publish a own service during advertising so the connected device knows what service are available from my device.&lt;/p&gt;
&lt;p&gt;Thanks for your answers!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard Fault when advertising</title><link>https://devzone.nordicsemi.com/thread/122558?ContentTypeID=1</link><pubDate>Fri, 02 Mar 2018 08:32:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6c97ccb-2f9e-452c-b18f-b10a5bc52c8f</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;Also make sure you are not exceeding the maximum 31 bytes of data you can put in your advertising packet.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt; * @retval NRF_ERROR_DATA_SIZE     If the operation failed because not all the requested data could fit into the
 *                                 advertising packet.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard Fault when advertising</title><link>https://devzone.nordicsemi.com/thread/122540?ContentTypeID=1</link><pubDate>Fri, 02 Mar 2018 05:17:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6914de1a-9b1a-4a0e-bf13-2757873fdef4</guid><dc:creator>karthikeyan</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;did you tried ble_app_beacon example which is in sdk 14.2.0-&amp;gt; examples-&amp;gt;ble_peripheral.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>