<?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>PC-BLE-Driver with connectivity board doesn&amp;#39;t connect as master</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16332/pc-ble-driver-with-connectivity-board-doesn-t-connect-as-master</link><description>I have been using pc-ble-driver in Linux (downloaded and compiled from github here - github.com/.../3316c0c306257a825168751964f814cb95fc0d74) with our custom C++ application that is supposed to work in Central and Peripheral roles simultaneously. 
 For</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Sep 2016 07:53:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16332/pc-ble-driver-with-connectivity-board-doesn-t-connect-as-master" /><item><title>RE: PC-BLE-Driver with connectivity board doesn't connect as master</title><link>https://devzone.nordicsemi.com/thread/62416?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2016 07:53:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c6af0ab-3cd5-47c7-880d-0b8260e06e48</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;No I don&amp;#39;t see a problem with your parameters.&lt;/p&gt;
&lt;p&gt;Could you send your full project showing the problem so I can test here ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-Driver with connectivity board doesn't connect as master</title><link>https://devzone.nordicsemi.com/thread/62415?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2016 23:23:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f552348-0297-437e-8058-a093cdebdf5b</guid><dc:creator>Raja D.Singh</dc:creator><description>&lt;p&gt;Oh, did I say connect to slave device? Sorry, I meant my device is able to connect to a Central device as a peripheral, while getting error when trying to connect to a Peripheral as a master. You&amp;#39;re right, I could advertise and get connected as peripheral. Only Central connection fails.&lt;/p&gt;
&lt;p&gt;nrf51-ble-driver_win_0.5.0 never worked for me.&lt;/p&gt;
&lt;p&gt;So, you think that with the parameters that I supplied for sd_ble_init and sd_ble_gap_connect look OK for establishing an application that works as Central and Peripheral simultaneously?? I wonder what I am doing wrong here...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-Driver with connectivity board doesn't connect as master</title><link>https://devzone.nordicsemi.com/thread/62414?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2016 08:52:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6b7b198-80c7-4baa-bd38-1b0509611581</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I don&amp;#39;t see any issue with the parameters you provide.&lt;/p&gt;
&lt;p&gt;Could you clarify what you meant in &amp;quot; am able to enumerate ports, connect to slave devices etc&amp;quot;. What is &amp;quot;connect to slave device&amp;quot; ?&lt;/p&gt;
&lt;p&gt;I assume that you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Scan for advertising packet&lt;/li&gt;
&lt;li&gt;Advertise as a advertiser and get connected as a peripheral ?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I saw that you have also tested with the nrf51-ble-driver_win_0.5.0, do you have the same issue when testing with the examples come with that driver ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-Driver with connectivity board doesn't connect as master</title><link>https://devzone.nordicsemi.com/thread/62413?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 18:59:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d363863-65f8-436c-b163-d0e4fb7944d1</guid><dc:creator>Raja D.Singh</dc:creator><description>&lt;p&gt;@Hung Bui,
Here are the connection and scan parameters passed to sd_ble_gap_connect(). I have checked the examples that you pointed out. I am not using Python. I am using C++ and am able to enumerate ports, connect to slave devices etc. Heart rate collector example seems to be using Central role. However, I failed to see what I am doing wrong comparing that example to mine.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ble_gap_scan_params_t   sp;
ble_gap_conn_params_t   cp;
ble_gap_addr_t *   addressToConnect = addressreceivedFromBLE_GAP_EVT_ADV_REPORT;

sp.selective = 0;
sp.active = 0; 
sp.interval = 50;
sp.window = 10;
sp.timeout = 1;

cp.min_conn_interval = 10;
cp.max_conn_interval = 10;
cp.slave_latency = 0;
cp.conn_sup_timeout = 1000;

//Connect to address we know from BLE_GAP_EVT_ADV_REPORT
err_code = sd_ble_gap_connect(adapter, addressToConnect, &amp;amp;sp, &amp;amp;cp);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-Driver with connectivity board doesn't connect as master</title><link>https://devzone.nordicsemi.com/thread/62412?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 12:43:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ddd1675-d255-4905-a430-2bb2d91f629a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Also, please let us know the parameters you used when calling sd_ble_gap_connect()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-Driver with connectivity board doesn't connect as master</title><link>https://devzone.nordicsemi.com/thread/62411?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 11:58:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c82218ac-129e-438f-b42a-885e17811b4d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Raja: Have you tried to test with some examples comes with the driver, for example &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py/tree/master/python/pc_ble_driver_py/examples"&gt;these&lt;/a&gt; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>