<?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>enable whitelist in advertising SoftDevice S130</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23935/enable-whitelist-in-advertising-softdevice-s130</link><description>Hello, I got problem in enabling whitelist on starting advertising. 
 My working enviroment is PCA10028 V1.1.0 2015&amp;#39;18, SoftDevice S130 2.0.1, SDK 12.2.0
MCP works on Android 6.0.1, Nexus 7(2013). 
 I refere project from ble_app_hids_keyboard and refactor</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Aug 2017 07:49:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23935/enable-whitelist-in-advertising-softdevice-s130" /><item><title>RE: enable whitelist in advertising SoftDevice S130</title><link>https://devzone.nordicsemi.com/thread/94246?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 07:49:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abafa246-749d-4560-9846-c11569d83952</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If you have a look at the description of the function, &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v4.0.2/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#ga241191b3fa20a5c20a60a088240a1dfa"&gt;here&lt;/a&gt;. You can find the list of error return codes. You click on the error you can find the hex value of each error code. Basically the 0x3000 is &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v4.0.2/group___n_r_f___e_r_r_o_r_s___b_a_s_e.html#gaf090abe440a1752161646079114acaaf"&gt;the NRF_ERROR_STK_BASE_NUM  &lt;/a&gt;
And the 0x0200 is the NRF_GAP_ERR_BASE.&lt;/p&gt;
&lt;p&gt;You can also quickly find them in the source code (.h) also.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable whitelist in advertising SoftDevice S130</title><link>https://devzone.nordicsemi.com/thread/94247?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 02:16:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e181e0c6-95ef-4857-aea4-9ed0883b642a</guid><dc:creator>code_hard</dc:creator><description>&lt;p&gt;Thank you Hung Bui, it works now.&lt;/p&gt;
&lt;p&gt;I appreciated your help, this problem troubled me several days.&lt;/p&gt;
&lt;p&gt;Another question, I study the online document about sd_ble_gap_adv_start() in online document. How do I decode the error code 0x3201 in this case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable whitelist in advertising SoftDevice S130</title><link>https://devzone.nordicsemi.com/thread/94245?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 15:17:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c425635d-3e4f-403e-be99-27920fb2042d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Error code 0x3201 means BLE_ERROR_GAP_DISCOVERABLE_WITH_WHITELIST: Use of Whitelist not permitted with discoverable advertising.&lt;/p&gt;
&lt;p&gt;You need to advertise in other modes, not the  BLE_GAP_ADV_FLAG_LE_LIMITED_DISC_MODE or BLE_GAP_ADV_FLAG_LE_GENERAL_DISC_MODE&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>