<?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>Manufacturing specific data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19982/manufacturing-specific-data</link><description>The program is hanged when I use below code to set Manufacturing specific data (I am using SDK12.0.0 S130) Please comments. 
 uint16_t DataSize = 14;

uint8_t MfgSpecData[15]=&amp;quot;0x112233445566&amp;quot;;
 
 ble_advdata_t advdata;
 ble_advdata_t scanrsp;
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Feb 2017 10:02:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19982/manufacturing-specific-data" /><item><title>RE: Manufacturing specific data</title><link>https://devzone.nordicsemi.com/thread/77756?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2017 10:02:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4aef1bb3-96d0-4146-9d35-beee5f803ce6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;&lt;strong&gt;Congratulations on posting question number 20,000!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/20k_5F00_cases.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;I agree with @jim, you have to make sure you do not exeed the limit on 31 bytes in the advertising packet. &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;Here&lt;/a&gt; is a guide on how to debug your code to check the error code returns from the softdevice function calls.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manufacturing specific data</title><link>https://devzone.nordicsemi.com/thread/77757?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2017 09:56:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74641e21-51d2-4255-82df-302017c728d7</guid><dc:creator>Jimmie Johansson</dc:creator><description>&lt;p&gt;The advertising packet has a size limit:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define  BLE_GAP_ADV_MAX_SIZE           31
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you are adding a couple of services, a name and the manufacturer data, you&amp;#39;re likely to run out of space. Depending on the version of the SDK the function ble_advdata_set() will probably be run at some time. Use the debugger to step through it and you may find the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>