<?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>Connecting to Pi/Bleno with sd_ble_gap_connect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17346/connecting-to-pi-bleno-with-sd_ble_gap_connect</link><description>Hi, 
 I&amp;#39;m trying to connect to a Raspberry Pi from an nRF52832 via BLE Central mode. The Pi is running a node.js app (via bleno) and I can connect and communicate with it just fine using the nRF Connect app. 
 I can use sd_ble_gap_scan_start and can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Oct 2016 08:30:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17346/connecting-to-pi-bleno-with-sd_ble_gap_connect" /><item><title>RE: Connecting to Pi/Bleno with sd_ble_gap_connect</title><link>https://devzone.nordicsemi.com/thread/66665?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 08:30:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1624d5bf-3cbc-4340-89b5-e29bf4113f6f</guid><dc:creator>Gordon</dc:creator><description>&lt;p&gt;Thanks - that&amp;#39;s really helpful. I&amp;#39;d just assumed addresses were unique. Looks like I need to change the API then!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connecting to Pi/Bleno with sd_ble_gap_connect</title><link>https://devzone.nordicsemi.com/thread/66664?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 07:38:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49bb3137-838a-416c-b655-b6eed7f3cd76</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/question/6496/gap-address-types/"&gt;this&lt;/a&gt; for differences between the address types, more information can be found in the Bluetooth spec. You need to supply the correct address type in addition to the actual address.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connecting to Pi/Bleno with sd_ble_gap_connect</title><link>https://devzone.nordicsemi.com/thread/66663?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 16:29:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35e551fb-e4e4-4f6c-857e-de89e68ad770</guid><dc:creator>Gordon</dc:creator><description>&lt;p&gt;I&amp;#39;m using SDK12 with the 3.0.0 softdevice. Thanks! Address type was the issue! I was using BLE_GAP_ADDR_TYPE_RANDOM_STATIC, and if I changed to BLE_GAP_ADDR_TYPE_PUBLIC it worked (but then it no longer worked when accessing one of the nRF devices).&lt;/p&gt;
&lt;p&gt;What&amp;#39;s the difference? Is it to do with Limited/GeneralDiscoverable? I was hoping to expose this as an API to a user, where they could just supply an address like &lt;code&gt;&amp;quot;d1:53:36:1a:7a:17&amp;quot;&lt;/code&gt; - but is that actually workable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connecting to Pi/Bleno with sd_ble_gap_connect</title><link>https://devzone.nordicsemi.com/thread/66662?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 15:55:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:945c9771-2c5e-4bda-bdb7-2a6aa3f02ace</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I don&amp;#39;t see why they would need to be static. I need to check the behavior, what SDK and SoftDevice version are you using? Are you sure the address and the address type is correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connecting to Pi/Bleno with sd_ble_gap_connect</title><link>https://devzone.nordicsemi.com/thread/66661?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 10:31:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed2eeb91-722f-4ab0-aa60-8e1b46ec5d60</guid><dc:creator>Gordon</dc:creator><description>&lt;p&gt;I also noticed that some examples set &lt;code&gt;active&lt;/code&gt; to 1, but I seem to get &lt;code&gt;NRF_ERROR_INVALID_PARAM&lt;/code&gt; every time I use it unless the parameters are static. Even when I do it, I still can&amp;#39;t get a connection from the Pi though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>