<?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>S110 role switching</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59/s110-role-switching</link><description>Is possible to put S110 in observer role (as peripheral) , waiting for a specific advertising (or waiting for an active scanning) and then switch to advertiser role (always as peripheral) ? 
 Thank all. 
 Update : Nordic has released S130 softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Oct 2013 09:02:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59/s110-role-switching" /><item><title>RE: S110 role switching</title><link>https://devzone.nordicsemi.com/thread/330?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2013 09:02:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d65a505-3739-4842-9f32-07ac74b884c3</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I&amp;#39;m afraid I can&amp;#39;t comment on that, so you should get in touch with our sales managers to get information on upcoming features. If you don&amp;#39;t have their contact information, send me a PM with your location.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 role switching</title><link>https://devzone.nordicsemi.com/thread/329?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2013 08:07:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c74f6f4-e787-42f5-a13e-d585bc0e3266</guid><dc:creator>cocoa</dc:creator><description>&lt;p&gt;Hi Ole,&lt;/p&gt;
&lt;p&gt;any news about an implementation of Observer role in S110 ?&lt;/p&gt;
&lt;p&gt;bye.&lt;/p&gt;
&lt;p&gt;-c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 role switching</title><link>https://devzone.nordicsemi.com/thread/328?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2013 07:55:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a17a1e43-4f76-4df0-adc6-16bd424e85bb</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;You would have to have some method to get the device to clear its existing Central, and be ready for a new one, for example a button press. But I&amp;#39;m not sure I see how this is any different for the dual-role-scenario.&lt;/p&gt;
&lt;p&gt;If however you have more questions on this, I&amp;#39;d suggest that you create a support case, since that is more targeted towards this kind of discussion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 role switching</title><link>https://devzone.nordicsemi.com/thread/326?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2013 07:53:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:215fa38b-1326-42b0-a727-9c6d64fce964</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;You&amp;#39;re right that it won&amp;#39;t hide the device completely, but since you have full control over the advertising data, you can choose to just not include any data at all if you already have a bond and are advertising with whitelist. This will let other devices see that there is some advertiser here, and possibly locate it by using RSSI measurements, but they will not be able to connect or to get any information from it.&lt;/p&gt;
&lt;p&gt;The reason that switching would be complicated is that both of the devices will have to be dual-role, and both have to switch at the same time, so there have to be some channel for them to coordinate this switch. If we talk about a tag and a phone, it would have to work something like this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The tag continuously scans for advertisement packets, as a Central.&lt;/li&gt;
&lt;li&gt;The phone continuously sends out advertisement packets, as a Peripheral.&lt;/li&gt;
&lt;li&gt;When the phone comes into range, the tag would most likely have to connect to the phone to tell it to switch roles.&lt;/li&gt;
&lt;li&gt;The phone would then start scanning for the tag.&lt;/li&gt;
&lt;li&gt;The tag would have to start advertising.&lt;/li&gt;
&lt;li&gt;The phone can then connect and they can transmit data.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Without the role switching, it would instead work like this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The tag is continuously advertising with whitelist.&lt;/li&gt;
&lt;li&gt;Once the phone comes into range, it can connect and data transfer can start.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The major problem with the first solution, in addition to the complicity, is that scanning is a power-hungry operation as compared to advertising. It requires the radio to be on in RX mode for relatively long periods of time.&lt;/p&gt;
&lt;p&gt;However, since the roles that affect data transfer (GATT Server and GATT Client) is unrelated to the roles of Peripheral/Central, and as such, with the first solution, it would be possible to stop at step 3 and exchange data. This could be an option, but the current consumption is still a problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 role switching</title><link>https://devzone.nordicsemi.com/thread/327?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2013 07:45:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be5f7560-4371-4125-85ff-7822e922c963</guid><dc:creator>Leon Schmetz</dc:creator><description>&lt;p&gt;And in case I have to exchange a master, how do I then get a new master on the whitelist? Especially when the slave is buried somewhere.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 role switching</title><link>https://devzone.nordicsemi.com/thread/325?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2013 07:41:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:818ce34d-fa62-4390-a3e5-9bcfe678bee5</guid><dc:creator>Leon Schmetz</dc:creator><description>&lt;p&gt;Whitelisting does not hide the device from everybody passing. But if it is the best that can be done, it will have to do. After reading Robin Heydons book I did not think it would be so hard to implement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 role switching</title><link>https://devzone.nordicsemi.com/thread/324?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2013 07:36:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64fe6914-af54-46ab-83a3-bf73d0c47d13</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;For questions on future features, you should talk to your sales representative.&lt;/p&gt;
&lt;p&gt;However, this kind of role-switching is an extremely complicated way to achieve what you want, and I&amp;#39;d strongly recommend you to instead look into using whitelisting. As far as I can see, you should be able to achieve the exact same behavior as seen from the user&amp;#39;s perspective, but without all the complications that this role-switching will infer.&lt;/p&gt;
&lt;p&gt;If there is anything in particular that&amp;#39;s unclear on how whitelisting works, I&amp;#39;d recommend you to search around a little here, since it has been discussed several places:
&lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/search?query=whitelist&amp;amp;option=com_easydiscuss&amp;amp;view=search&amp;amp;Itemid=479" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/search?query=whitelist&amp;amp;option=com_easydiscuss&amp;amp;view=search&amp;amp;Itemid=479&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If there is anything that is still unclear, I&amp;#39;d be happy if you could post it as a separate question, since that will make it easier for us to find it and answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 role switching</title><link>https://devzone.nordicsemi.com/thread/323?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2013 15:08:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3fb45e1-1e65-4f3f-8af7-aab892c18f11</guid><dc:creator>Leon Schmetz</dc:creator><description>&lt;p&gt;Heaving read this thread, I can tell you, I am looking for the exact same setup where devices switch roles.
Let me explain. We are developing a device that will have a ble interface to configure settings. We want this device to be hidden. Hence we would like to implement the observer role. Now when a specific party advertises itself, this device should open up for this party only. For functional reasons we believe that roles must be switched to get the configuration job done.&lt;/p&gt;
&lt;p&gt;So my question is, can this functionality be added to the softdevice?&lt;/p&gt;
&lt;p&gt;thank you,&lt;/p&gt;
&lt;p&gt;Leon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 role switching</title><link>https://devzone.nordicsemi.com/thread/318?ContentTypeID=1</link><pubDate>Sat, 29 Jun 2013 13:14:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b89e70cd-5e26-40fd-bc56-bb719952199f</guid><dc:creator>cocoa</dc:creator><description>&lt;p&gt;Hi Ole,
accepted as answer and, as suggested, I will create a new post about Manufacturer specific data.
Thanks.
-c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 role switching</title><link>https://devzone.nordicsemi.com/thread/319?ContentTypeID=1</link><pubDate>Sat, 29 Jun 2013 10:21:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f5221f1-6d1a-4ff8-adb5-882a1e545b4f</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;If you have two devices, both capable of switching roles, you might be able to get this working, but then again, I&amp;#39;m having trouble understanding what you achieve by all this trouble, as it seems pretty excessive to me.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d absolutely looking into whitelisting and the addition of manufacturer specific data to solve this in some other way. Whitelisting will require that you either have been bonded with the other device, or that you know its Bluetooth address. Manufacturer specific data is data that you can add to your advertisement package, which the Central then can read for specific information about your peripheral. If you need further information on either of these, it might make most sense to post it as a separate question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 role switching</title><link>https://devzone.nordicsemi.com/thread/320?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2013 09:24:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e721268-ba35-4b4b-9ad9-7da7f188b32e</guid><dc:creator>cocoa</dc:creator><description>&lt;p&gt;If the device had the chance  to switch from central to peripheral (and the other device from peripheral to central) do you think it could be possible ?
Let me to be more clear :
Device A is running as central - (scanner)
Device B wake up as peripheral, start to advertise
Device A recognize the right advertising , communicates the ok to B, changes role to peripheral
Device B (as receives the OK) switch to Central&lt;/p&gt;
&lt;p&gt;at the end :
Device A is a Peripheral/Server
Device B is a Central/Client&lt;/p&gt;
&lt;p&gt;Admitting nRF51822  be a Central in a new release of S110.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 role switching</title><link>https://devzone.nordicsemi.com/thread/321?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2013 06:50:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b78d2826-e3c6-4efd-87d3-c927b5223ca0</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;No, this isn&amp;#39;t possible with the S110, and not actually with any BLE Peripheral or Central device as far as I can see.&lt;/p&gt;
&lt;p&gt;You have to be advertising to be able to receive a connection request, since a Peripheral will only listen for packets right after having sent an advertisement. Also, a Scanner will not send any packets but only listen passively if it doesn&amp;#39;t first receive any advertisement packages, so unfortunately I don&amp;#39;t see how your suggested scheme could work with any BLE device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 role switching</title><link>https://devzone.nordicsemi.com/thread/322?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2013 06:03:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6eaa96c8-b600-4dd5-95ff-015e5d0be5c0</guid><dc:creator>cocoa</dc:creator><description>&lt;p&gt;The aim is having a passive , non advertising, peripheral, who reacts only to a specific active scanning message without having a previous bonding.&lt;/p&gt;
&lt;p&gt;Is it possible with S110 ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 role switching</title><link>https://devzone.nordicsemi.com/thread/317?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2013 05:13:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6f3fc09-7ca1-4c87-963b-f93504f19a7e</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;If the aim is to connect to a specific Central device, with which you have already bonded, you should look into whitelisting. This is the exact functionality this offers. For an example of how this can be implemented, I&amp;#39;d recommend you to take a look on the ble_app_proximity. It uses a bond manager API function to get a whitelist, which it then uses when advertising.&lt;/p&gt;
&lt;p&gt;The S110 can do the Peripheral and Broadcaster roles only, and can not behave as an Observer. Also, an Observer would not normally be able to see other Central devices, so I&amp;#39;m not sure how useful that would have been.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>