<?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>NRF51822 peripheral keep it invisible</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12268/nrf51822-peripheral-keep-it-invisible</link><description>Hi
I am planning to use NRF51822. Have not used these parts yet. 
 I have 4 peripherals and 1 central hub. All communicating in BLE. And central hub will also connect to cell phone. 
 How can I have 
 
 
 4 peripherals connect to the hub automatically</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Mar 2016 07:37:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12268/nrf51822-peripheral-keep-it-invisible" /><item><title>RE: NRF51822 peripheral keep it invisible</title><link>https://devzone.nordicsemi.com/thread/46389?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 07:37:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe5344bd-e5d3-4ccb-9e97-52741d58a152</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;nRF51 SDK 10.0.0 main page:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF5_SDK/nRF51_SDK_v10.x.x/doc/10.0.0/"&gt;developer.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;At the bottom is, &amp;quot;&lt;strong&gt;User guides for Gazell and Enhanced ShockBurst&lt;/strong&gt;&amp;quot; - which says:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The examples have been grouped with S110 documentation but &lt;strong&gt;will work with any SoftDevice&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;em&gt;(my emphasis).&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 peripheral keep it invisible</title><link>https://devzone.nordicsemi.com/thread/46388?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 07:31:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7291a749-1e52-42cf-847b-2ca5cbf86201</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Yes, @awneil says, it may be a better solution to combine the BLE with another protocol. You can for example combine BLE with the Nordic proprietary protocol &amp;quot;Gazll&amp;quot;- You can find an an example of that in the following folder in the SDK: ..\nRF51_SDK_10.0.0_dc26b5e\examples\multiprotocol\ble_app_gzll  (I will update this in the &amp;quot;main&amp;quot; answer as well.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 peripheral keep it invisible</title><link>https://devzone.nordicsemi.com/thread/46387?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 18:13:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11e5d25f-8508-45ff-b514-f0e5df5415c2</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Of course there are many possible solutions!&lt;/p&gt;
&lt;p&gt;The NRF51822 can support other 2.4GHz protocols. I &lt;strong&gt;think&lt;/strong&gt; it can do both BT and &amp;quot;proprietary&amp;quot; at the same time?&lt;/p&gt;
&lt;p&gt;Clearly, one device can only wake another if it is &amp;quot;listening&amp;quot;...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 peripheral keep it invisible</title><link>https://devzone.nordicsemi.com/thread/46386?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 17:16:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8808b61b-5023-4062-8c1d-b1425b214633</guid><dc:creator>toashwin</dc:creator><description>&lt;p&gt;Are there any alternate solutions possible?
On the hub, I need the BT to connect to the phone. As such, I am thinking of using same BT to connect to the peripherals.&lt;/p&gt;
&lt;p&gt;Also, so far I did not come across a solution, where a peripheral can wake up another device. Even with NRF24, the the sleeping device need to wake in intervals scan for available transmits and go to sleep.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 peripheral keep it invisible</title><link>https://devzone.nordicsemi.com/thread/46385?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 15:36:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b376a64-375c-4306-9d41-c051d1a995a4</guid><dc:creator>awneil</dc:creator><description>&lt;blockquote&gt;
&lt;ol start="3"&gt;
&lt;li&gt;It is not possible for the peripheral devices to wake up the central device...&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;p&gt;This is an inherent part of the way BT works&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The 4 peripherals should NOT be visible on the cell-phone&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;So why use BT for the 4 peripherals at all? Especially, as noted above, given that some of your requirements do not fit the way BT works anyhow?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 peripheral keep it invisible</title><link>https://devzone.nordicsemi.com/thread/46384?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 14:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e50dc8fb-f9b0-47e2-bf2a-031a8688821c</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;&lt;strong&gt;1)&lt;/strong&gt; When a central (the hub) scans for advertising devices it will receive the adverting data in advertising reports. It then possible to &amp;quot;inspect&amp;quot; the advertising report and check the name of the device, and then, if the name matches the pre-defined name, initiate a connection. That is what the ble_app_mulilink example in the SDK does, see the below code snippet from main.c:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static void on_ble_evt(ble_evt_t * p_ble_evt)
{
uint32_t        err_code;

switch (p_ble_evt-&amp;gt;header.evt_id)
{
    case BLE_GAP_EVT_ADV_REPORT:
    {
    ...
    ...
    ...
        // Verify if short or complete name matches target.
        if ((err_code == NRF_SUCCESS) &amp;amp;&amp;amp;
           (0 == memcmp(TARGET_DEV_NAME,type_data.p_data,type_data.data_len)))
        {
            err_code = sd_ble_gap_scan_stop();
            if (err_code != NRF_SUCCESS)
            {
                APPL_LOG(&amp;quot;[APPL]: Scan stop failed, reason %d\r\n&amp;quot;, err_code);
            }

            // Initiate a connection if the name matches the pre-defined name:
            err_code = sd_ble_gap_connect(&amp;amp;p_ble_evt-&amp;gt;evt.gap_evt.params.adv_report.\
                                          peer_addr,
                                          &amp;amp;m_scan_param,
                                          &amp;amp;m_connection_param);
    ...
    ...
    ...
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;2)&lt;/strong&gt; By using directed advertising, no other centrals then the one specified in the advertising data may initiate a connection. Directed advertising is described in the Bluetooth Core Specification v.4.2, Vol. 6, Part B, chapter 4.4.2.4.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3)&lt;/strong&gt; It is not possible for the peripheral devices to wake up the central device; when there is no connection, it is the central that scan for peripherals.&lt;/p&gt;
&lt;p&gt;To save as much power as possible you can use slave latency and the longest possible connection interval, see explanation in &lt;a href="https://devzone.nordicsemi.com/question/60/what-is-connection-parameters/?answer=67#post-id-67"&gt;this&lt;/a&gt; thread.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4)&lt;/strong&gt; Yes, it should be perfectly possible to get 10 to 20 m range.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 03.03.16:&lt;/strong&gt;
Another solution could be to combine BLE with another protocol. You can for example combine BLE with the Nordic proprietary protocol &amp;quot;Gazll&amp;quot;. You can find an an example of that in the following folder in the SDK: ..\nRF51_SDK_10.0.0_dc26b5e\examples\multiprotocol\ble_app_gzll&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>