<?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>Question about BLE stack</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3560/question-about-ble-stack</link><description>Hello, 
 I get a sample code in the dir flllowed after intsalling nRF51 SDK: 
 \Keil\ARM\Device\Nordic\nrf51822\Board\pca10001\s110\ble_app_beacon_code\main.c 
 but I still don&amp;#39;t know how the BLE stack work after reading SDK document and the comment</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Aug 2014 01:20:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3560/question-about-ble-stack" /><item><title>RE: Question about BLE stack</title><link>https://devzone.nordicsemi.com/thread/12900?ContentTypeID=1</link><pubDate>Fri, 22 Aug 2014 01:20:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b15311c-6446-4e4c-adab-0ad384ecade7</guid><dc:creator>Ricky</dc:creator><description>&lt;p&gt;thank you so much! :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about BLE stack</title><link>https://devzone.nordicsemi.com/thread/12899?ContentTypeID=1</link><pubDate>Thu, 21 Aug 2014 15:22:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a3b0de5-3c49-4b9b-8bea-fb6cd500754f</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;To start advertising you need to call sd_ble_gap_adv_start() and to stop advetrising you need to call sd_ble_gap_adv_stop(). So when you push the button you need to call sd_ble_gap_adv_start() and when you release the button you need to call sd_ble_gap_adv_stop(). P.S. misclicked and converted your comment to answer by mistake.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about BLE stack</title><link>https://devzone.nordicsemi.com/thread/12898?ContentTypeID=1</link><pubDate>Thu, 21 Aug 2014 10:12:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67b6d717-eadc-4b6e-a9f6-9ed69db45842</guid><dc:creator>Ricky</dc:creator><description>&lt;p&gt;Thank you so much!&lt;/p&gt;
&lt;p&gt;Now I want to only broadcast when I push a button, how should I use the API ?&lt;/p&gt;
&lt;p&gt;I am new to the BLE stack, thank you again!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about BLE stack</title><link>https://devzone.nordicsemi.com/thread/12897?ContentTypeID=1</link><pubDate>Thu, 21 Aug 2014 09:38:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3ea57bb-d39d-4d42-a1f0-d451c87bcf6c</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;Regarding sd_app_evt_wait() you can read &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/6.0.0/s110/html/a01004.html#ga11d88d38ac99fb72cde74c9385d36433"&gt;this&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;sd_ble_gap_adv_start() is just signal to softdevice to start advertising with the specified by ble_advdata_set() (sd_ble_gap_adv_data_set()) data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>