<?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>Advanced burst sample code?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/829/advanced-burst-sample-code</link><description>Can anyone point me to sample code that exercises ANT&amp;#39;s &amp;quot;advanced&amp;quot; burst mode? I have sample code provided by the Keil SDK that contains a prototype for function sd_ant_adv_burst_config_set(), but it would be nice to see this in action. 
 Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Apr 2015 09:03:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/829/advanced-burst-sample-code" /><item><title>RE: Advanced burst sample code?</title><link>https://devzone.nordicsemi.com/thread/4093?ContentTypeID=1</link><pubDate>Mon, 06 Apr 2015 09:03:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05b4947e-32d5-42c2-a1cf-9a0de93c0903</guid><dc:creator>Vito</dc:creator><description>&lt;p&gt;The suggested code sends the same packets 3 times, here is an enhanced version:
&lt;a href="https://devzone.nordicsemi.com/question/33757/burst-transmission-triggered-many-times/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advanced burst sample code?</title><link>https://devzone.nordicsemi.com/thread/4092?ContentTypeID=1</link><pubDate>Sat, 07 Mar 2015 13:48:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e956b382-2f65-493a-bdd5-94cb937e5bd4</guid><dc:creator>DazzaNL</dc:creator><description>&lt;p&gt;Hi,
If you review the history of this code then it states that there is a zip file available for download with an example, is this still available?&lt;/p&gt;
&lt;p&gt;I have tried to integrate the code above into my project but it just gets flooded with errors regarding undefined/redefined variables. I understand what this code does, I just cannot get it to work.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Darren.&lt;/p&gt;
&lt;p&gt;Edit: I have figured out most of the issues but the zip file would still be very useful.&lt;/p&gt;
&lt;p&gt;Cheers.&lt;/p&gt;
&lt;p&gt;(Sorry, I keep forgetting to check the minor edit box)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advanced burst sample code?</title><link>https://devzone.nordicsemi.com/thread/4091?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2013 14:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:900d3be1-fe6a-4098-839b-8afb0caf95a5</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Example init:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static uint8_t burst_setup[BURST_DATA_CONFIG_SIZE] = { ADV_BURST_MODE_ENABLE, ADV_BURST_MODES_MAX_SIZE, 0, 0, 0, 0, 0, 0 };
err_code = sd_ant_adv_burst_config_set(burst_setup, BURST_DATA_CONFIG_SIZE);
APP_ERROR_CHECK(err_code);

static uint8_t burst_wait = 0; 
err_code = sd_ant_burst_handler_wait_flag_enable(&amp;amp;burst_wait);
APP_ERROR_CHECK(err_code);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Example usage:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;do
{
err_code = sd_ant_burst_handler_request(CHANNEL_0, sizeof(m_burst_data), m_burst_data, BURST_SEGMENT_START);				
} while (err_code == NRF_ANT_ERROR_TRANSFER_IN_PROGRESS);

APP_ERROR_CHECK(err_code);
while(burst_wait)
;


err_code = sd_ant_burst_handler_request(CHANNEL_0, sizeof(m_burst_data), m_burst_data, BURST_SEGMENT_CONTINUE);
APP_ERROR_CHECK(err_code);
while(burst_wait)
;


err_code = sd_ant_burst_handler_request(CHANNEL_0, sizeof(m_burst_data), m_burst_data, BURST_SEGMENT_END); 
APP_ERROR_CHECK(err_code);
while(burst_wait)
;  
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>