<?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>from S110 to S130 with mbed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8197/from-s110-to-s130-with-mbed</link><description>Hello, 
 How to switch from S110 to S130 with mbed ? 
 Thank you.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Jul 2015 13:30:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8197/from-s110-to-s130-with-mbed" /><item><title>RE: from S110 to S130 with mbed</title><link>https://devzone.nordicsemi.com/thread/29490?ContentTypeID=1</link><pubDate>Thu, 16 Jul 2015 13:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57eec339-fef4-439c-830c-322f6ec62a20</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: from S110 to S130 with mbed</title><link>https://devzone.nordicsemi.com/thread/29489?ContentTypeID=1</link><pubDate>Thu, 16 Jul 2015 13:28:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6b902d0-a9a0-4353-b6ed-812c63f31ef2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Np :) I hope you noticed that I edited my answer :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: from S110 to S130 with mbed</title><link>https://devzone.nordicsemi.com/thread/29488?ContentTypeID=1</link><pubDate>Thu, 16 Jul 2015 13:27:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9b72e38-11d3-4627-a800-116f410dc39f</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Ok sorry. I was too much enthousiast :-)
Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: from S110 to S130 with mbed</title><link>https://devzone.nordicsemi.com/thread/29487?ContentTypeID=1</link><pubDate>Thu, 16 Jul 2015 13:19:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f926218-1eb3-48ad-8dbc-7fbf7bc2af93</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Next time I would appreciate if you would avoid asking questions in an answer. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: from S110 to S130 with mbed</title><link>https://devzone.nordicsemi.com/thread/29486?ContentTypeID=1</link><pubDate>Thu, 16 Jul 2015 11:59:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:586b697b-3770-407a-9a16-bc8c2d629740</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for your response.&lt;/p&gt;
&lt;p&gt;How to know that it use S130 ? (most of mbed use nRF51822.lib and BLE_API.lib so it&amp;#39;s not very transparent)&lt;/p&gt;
&lt;p&gt;Is there any roadmap about S130 with mbed ?&lt;/p&gt;
&lt;p&gt;Is S130 softdevice in the binary or i have to program it separatly on my nRF51 ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: from S110 to S130 with mbed</title><link>https://devzone.nordicsemi.com/thread/29485?ContentTypeID=1</link><pubDate>Thu, 16 Jul 2015 11:47:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f3c1908-aba6-4a6e-8262-26949ab83ee5</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;mbed is already using S130, but the API doesn&amp;#39;t support the central role yet. I does support the observer role, you can scan for advertising packets:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;startScan(void (*callback)(const AdvertisementCallbackParams_t *params))
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;but you cannot connect:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;virtual ble_error_t connect(const Address_t           peerAddr,
                            Gap::AddressType_t        peerAddrType,
                            const ConnectionParams_t *connectionParams,
                            const GapScanningParams  *scanParams) {
    return BLE_ERROR_NOT_IMPLEMENTED; /* default implementation; override this API if this capability is supported. */
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can find some examples here, BLE_Observer scans for advertising packets.&lt;/p&gt;
&lt;p&gt;Edit 16.07.2015:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mbeds130.JPG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;I believe it is on the roadmap, please see &lt;a href="https://developer.mbed.org/questions/6439/Can-I-create-a-ble-central-based-on-BLE_/"&gt;this&lt;/a&gt;. In general questions about mbed is better suited for the mbed forums.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>