<?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>[nRF8001] Changing setup without using nRFGo</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2395/nrf8001-changing-setup-without-using-nrfgo</link><description>Hi, 
 Is there a way to modify any of the contents of the setup generated by nRFGo? 
 The services.h file generates SETUP_MESSAGES_CONTENT to populate setup_msgs[] 
 const hal_aci_data_t setup_msgs[NB_SETUP_MESSAGES] = SETUP_MESSAGES_CONTENT; 
 Can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Jan 2015 13:48:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2395/nrf8001-changing-setup-without-using-nrfgo" /><item><title>RE: [nRF8001] Changing setup without using nRFGo</title><link>https://devzone.nordicsemi.com/thread/9771?ContentTypeID=1</link><pubDate>Wed, 14 Jan 2015 13:48:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:875e1a68-1513-4277-80da-e7712ff1fdbd</guid><dc:creator>Daniel</dc:creator><description>&lt;p&gt;Is it possible to change the SETUP_MESSAGES_CONTENT in software?
I want to add a unit specific id on every device with the SW.
I&amp;#39;m using &amp;#39;Custom Advertisement Types&amp;#39; with hex 0xFF to set this data.&lt;/p&gt;
&lt;p&gt;At start up i would like to load an id from flash and set it in the variable like:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;for(int i = 0; i &amp;lt; 5; i++)
{
	setup_msgs[33].buffer[i + 4 +3] = myData[i];
}

aci_state.aci_setup_info.number_of_pipes    = NUMBER_OF_PIPES;
aci_state.aci_setup_info.setup_msgs 		= (hal_aci_data_t*)setup_msgs;
aci_state.aci_setup_info.num_setup_msgs     = NB_SETUP_MESSAGES;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;But i get this in the errors in the log:&lt;/p&gt;
&lt;p&gt;Evt Device Started: Setup
ACI Command 6
Evt Cmd respone: Status 88&lt;/p&gt;
&lt;p&gt;Or can you recommend another what to set the custom data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF8001] Changing setup without using nRFGo</title><link>https://devzone.nordicsemi.com/thread/9770?ContentTypeID=1</link><pubDate>Fri, 16 May 2014 07:14:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a222f8af-b9b9-4ed1-9795-19001f52e8a0</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Looks like we will release the structures for the setup data, but we have been very busy lately so I&amp;#39;m not sure when it will be ready. If you open a support case I could send you a preliminary document.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF8001] Changing setup without using nRFGo</title><link>https://devzone.nordicsemi.com/thread/9769?ContentTypeID=1</link><pubDate>Wed, 30 Apr 2014 15:43:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a03d347f-b885-4fa1-901a-a87fdfdc660f</guid><dc:creator>kirem rahmani</dc:creator><description>&lt;p&gt;Hi Runar,&lt;/p&gt;
&lt;p&gt;Thanks for the information.&lt;/p&gt;
&lt;p&gt;Will a suitable structure be available for the Setup data to facilitate easy modification? I noticed that one contributor was doing some documentation.&lt;/p&gt;
&lt;p&gt;Best Regards, Kirem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF8001] Changing setup without using nRFGo</title><link>https://devzone.nordicsemi.com/thread/9768?ContentTypeID=1</link><pubDate>Wed, 30 Apr 2014 15:07:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4502f20d-a331-4aac-a158-1284f3b53e5c</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can change the device name using a set pipe if you enable this in nRFgo studio. There is also an example in the &lt;a href="https://github.com/NordicSemiconductor/ble-sdk-arduino/tree/master/documentation/libraries/BLE/examples/ble_modify_setup_data"&gt;ble-sdk-arduino&lt;/a&gt; that shows you how to modify the setup. Or you could look at &lt;a href="https://devzone.nordicsemi.com/index.php/spec-for-nrf8001-setup-format"&gt;this&lt;/a&gt; devzone tread where this question has already been answered.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>