<?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>switching beacon mode to pairing/connectable mode without module reset nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55728/switching-beacon-mode-to-pairing-connectable-mode-without-module-reset-nrf52832</link><description>Hello, 
 I am a newbie and need some help deciding the path to perform the following requirement. Any help is appreciated. 
 Requirement: 
 I have Rigado BMD-350 module currently advertising in beacon mode. 
 I would like to switch from beacon mode to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Jan 2020 15:08:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55728/switching-beacon-mode-to-pairing-connectable-mode-without-module-reset-nrf52832" /><item><title>RE: switching beacon mode to pairing/connectable mode without module reset nRF52832</title><link>https://devzone.nordicsemi.com/thread/227734?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 15:08:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f66ccf8-f44d-4c1e-a237-b8cbf3c916b9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please run the script from a command line instead of double-clicking. When you double click it will close like this when there is an error, not giving you time to read it.&lt;/p&gt;
&lt;p&gt;It is not the Makefile that should be in your path, it is the make utility.&amp;nbsp;You should get make from somewhere, and put it in your windows path. For instance using &lt;a href="https://github.com/bmatzelle/gow/releases"&gt;Gow&lt;/a&gt;, or some other distribution og GNU tools.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: switching beacon mode to pairing/connectable mode without module reset nRF52832</title><link>https://devzone.nordicsemi.com/thread/227733?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 15:08:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b3acac8-2b25-45a4-9873-b76d2b45571b</guid><dc:creator>harshg</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;quot;micro-ecc not found! Let&amp;#39;s pull it from HEAD.&amp;quot;
Cloning into &amp;#39;micro-ecc&amp;#39;...
remote: Enumerating objects: 1086, done.
remote: Total 1086 (delta 0), reused 0 (delta 0), pack-reused 1086
Receiving objects: 100% (1086/1086), 647.94 KiB | 2.85 MiB/s, done.
Resolving deltas: 100% (637/637), done.
&amp;#39;make&amp;#39; is not recognized as an internal or external command,
operable program or batch file.
&amp;#39;make&amp;#39; is not recognized as an internal or external command,
operable program or batch file.
&amp;#39;make&amp;#39; is not recognized as an internal or external command,
operable program or batch file.
&amp;#39;make&amp;#39; is not recognized as an internal or external command,
operable program or batch file.
&amp;#39;make&amp;#39; is not recognized as an internal or external command,
operable program or batch file.
&amp;#39;make&amp;#39; is not recognized as an internal or external command,
operable program or batch file.
&amp;#39;make&amp;#39; is not recognized as an internal or external command,
operable program or batch file.
&amp;#39;make&amp;#39; is not recognized as an internal or external command,
operable program or batch file.
&amp;#39;make&amp;#39; is not recognized as an internal or external command,
operable program or batch file.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: switching beacon mode to pairing/connectable mode without module reset nRF52832</title><link>https://devzone.nordicsemi.com/thread/227729?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 15:04:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af9e5899-9944-41fc-9368-b19484afb444</guid><dc:creator>harshg</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/makefile.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;All the sub folders have makefile in them&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: switching beacon mode to pairing/connectable mode without module reset nRF52832</title><link>https://devzone.nordicsemi.com/thread/227727?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 15:00:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df2af8ad-450c-4c91-939b-880d252efc55</guid><dc:creator>harshg</dc:creator><description>&lt;p&gt;The script window opens and closes in a flash. Not sure how to copy paste the output.&lt;/p&gt;
&lt;p&gt;How to add make file in path??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: switching beacon mode to pairing/connectable mode without module reset nRF52832</title><link>https://devzone.nordicsemi.com/thread/227725?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 14:56:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6453a963-6135-42e0-bc80-31e052569baf</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Running build_all.bat will resolve this error, provided the script runs without any problems. Can you copy-paste the output of the script? The error message should let us uknow what you are missing. (One common problem is if you don&amp;#39;t have make in your path).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: switching beacon mode to pairing/connectable mode without module reset nRF52832</title><link>https://devzone.nordicsemi.com/thread/227721?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 14:53:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6684f24-832e-4b38-b8b3-9c472a3ad625</guid><dc:creator>harshg</dc:creator><description>&lt;p&gt;I am going through the error handling as you suggested. Meanwhile, I wanted to build the ble_pheripheral_eddystone application in nRF5_SDK_15.3.0_59ac345 which is giving me build error in SES&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;cannot find ../../../../../../external/micro-ecc/nrf52hf_armgcc/armgcc/micro_ecc_lib_nrf52.a: No such file or directory&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I tried the following 2 steps. but error &lt;strong&gt;still exists&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1)&amp;nbsp;&lt;span style="background-color:#ffffff;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;, Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;Download and install&lt;/span&gt;&amp;nbsp;&lt;strong style="background-color:#ffffff;color:#333e48;font-family:Lato, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-weight:bold;letter-spacing:normal;line-height:inherit;text-align:start;text-indent:0px;text-shadow:rgba(0, 0, 0, 0.004) 1px 1px 1px;text-transform:none;white-space:normal;"&gt;Windows 32-bit&lt;/strong&gt;&lt;span style="background-color:#ffffff;color:#333e48;float:none;font-family:Lato, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class="download__file-info" style="background-color:#ffffff;color:#333e48;font-family:Lato, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;margin:0px;padding:0px;text-align:start;text-indent:0px;text-shadow:rgba(0, 0, 0, 0.004) 1px 1px 1px;text-transform:none;white-space:normal;"&gt;File: gcc-arm-none-eabi-6-2017-q2-update-win32-sha1.exe (82.57 MB)&lt;/div&gt;
&lt;p&gt;&lt;a href="https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads/6-2017-q2-update"&gt;https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads/6-2017-q2-update&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2) Ru&lt;span style="background-color:#ffffff;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;, Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;n&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;em style="background-color:#ffffff;color:#11171a;font-family:&amp;#39;GT Eesti&amp;#39;, Helvetica, Arial, sans-serif;font-size:16px;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;build_all.sh&lt;/em&gt;&lt;span style="background-color:#ffffff;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;, Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;or&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;em style="background-color:#ffffff;color:#11171a;font-family:&amp;#39;GT Eesti&amp;#39;, Helvetica, Arial, sans-serif;font-size:16px;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;build_all.bat&lt;/em&gt;&lt;span style="background-color:#ffffff;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;, Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;located in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;em style="background-color:#ffffff;color:#11171a;font-family:&amp;#39;GT Eesti&amp;#39;, Helvetica, Arial, sans-serif;font-size:16px;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;..\nRF5_SDK_15.0.0_a53641a\external\micro-ecc&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: switching beacon mode to pairing/connectable mode without module reset nRF52832</title><link>https://devzone.nordicsemi.com/thread/227663?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 12:50:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04635a2d-9185-4db3-9a3a-85efb3148668</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This log shows that there is a timeout in nRF Connect app on the peer (central). What happens on the nRF side? A typical reason for seeing a timeout when tweaking nRF code is that an error has happened on the nRF side. Have you debugged on the nRF side to see what is happening? I recommend you test a debug build with logging enabled. In most cases that will point to the error. If not, you need to debug a bit more. (You may want to read &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/an-introduction-to-error-handling-in-nrf5-projects"&gt;An introduction to error handling in nRF5 projects&lt;/a&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: switching beacon mode to pairing/connectable mode without module reset nRF52832</title><link>https://devzone.nordicsemi.com/thread/227503?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2020 20:45:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d54848e5-c6fd-47a2-a9dc-56346a2de39d</guid><dc:creator>harshg</dc:creator><description>&lt;div class="core-log-entry core-log-level-info"&gt;
&lt;div class="core-log-time"&gt;ERROR LOG IN NRF Connect&lt;/div&gt;
&lt;div class="core-log-time"&gt;&lt;/div&gt;
&lt;div class="core-log-time"&gt;15:35:24.342&lt;/div&gt;
&lt;div class="core-log-message"&gt;Connecting to device&lt;/div&gt;
&lt;/div&gt;
&lt;div class="core-log-entry core-log-level-info"&gt;
&lt;div class="core-log-time"&gt;15:35:24.574&lt;/div&gt;
&lt;div class="core-log-message"&gt;Connected to device F5:C9:78:CF:4D:74&lt;/div&gt;
&lt;/div&gt;
&lt;div class="core-log-entry core-log-level-info"&gt;
&lt;div class="core-log-time"&gt;15:35:28.470&lt;/div&gt;
&lt;div class="core-log-message"&gt;Disconnected from device F5:C9:78:CF:4D:74, reason: BLE_HCI_CONNECTION_TIMEOUT&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: switching beacon mode to pairing/connectable mode without module reset nRF52832</title><link>https://devzone.nordicsemi.com/thread/227495?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2020 19:36:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f257fb2-c19b-4751-9028-da3944d0ca15</guid><dc:creator>harshg</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Spend sometime to go through the SDK examples and learn more abt the GATT architecture.&lt;/p&gt;
&lt;p&gt;I am trying the following&lt;/p&gt;
&lt;p&gt;make adv connectable in beacon.. adding ble_nus service to it. Once Mobile connects send data to ble_nus service.&lt;/p&gt;
&lt;p&gt;In current code, the adv parameter is set to Non_Connectable_non_Scannable&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// Initialize advertising parameters (used when starting advertising).
	memset(&amp;amp;m_adv_params, 0, sizeof(m_adv_params));

	m_adv_params.properties.type = BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED;  
	m_adv_params.p_peer_addr     = NULL; // Undirected advertisement.
	m_adv_params.filter_policy   = BLE_GAP_ADV_FP_ANY;
	m_adv_params.interval        = MSEC_TO_UNITS(MAX_ADV_INTERVAL, UNIT_0_625_MS); // Will use timer to dictate interval due to interleaving
	m_adv_params.duration        = IB_NON_CONN_ADV_TIMEOUT;
	m_adv_params.primary_phy     = BLE_GAP_PHY_1MBPS;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I changed it as follows. I am not able to connect to the device using nRF Connect. I receive a device disconnected error. Please direct right way of doing this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;m_adv_params.properties.type = BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED; &lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: switching beacon mode to pairing/connectable mode without module reset nRF52832</title><link>https://devzone.nordicsemi.com/thread/226047?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 08:59:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96694efd-c69a-4531-8e8b-10ae5c278e84</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is no problem always advertising connectable (unless your specific use case requires the advertisements to be non-connectable).&lt;/p&gt;
&lt;p&gt;If you want to limit the number of connected phones to maximum one at a time, you can advertise connectable when no phones are connected, and as non-connectable when a phone is connected. If you want to make sure that just one phone is allowed to connect, you can allow a single peer to bond, and advertise using a whitelist after that (whitelist meaning that only the whitelisted peer is allowed to connect). Note that in that case, you need a way to reset the bonding, so that you can explicitly allow a new peer to connect when needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: switching beacon mode to pairing/connectable mode without module reset nRF52832</title><link>https://devzone.nordicsemi.com/thread/225902?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2019 13:37:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f121fa36-8a58-4ea9-a30e-8df3ea279312</guid><dc:creator>harshg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your prompt reply.&lt;/p&gt;
&lt;p&gt;If I would like to go with option 2, my question is in beacon mode can I always advertise connectable?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, when the phone would like to connect, what is the best way to pair them so that it connects to one phone and not multiple phones at the same time&lt;/p&gt;
&lt;p&gt;I will look in to the recommended version and SoftDevice. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: switching beacon mode to pairing/connectable mode without module reset nRF52832</title><link>https://devzone.nordicsemi.com/thread/225893?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2019 13:18:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5fa3c93-8dbe-450c-b518-6f34862d8a3a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How do you intend to detect that the phone is close? The way I see it, there are (at least) two possible approaches:&lt;/p&gt;
&lt;p&gt;1) Always advertise non-connectable, but also scan in between. A phone with a custom app could advertise, and when your nRF detects the advertisement packets it can switch to connectable. This has the downside that scanning is typically less power-efficient, and a custom app is required (may not be an issue).&lt;/p&gt;
&lt;p&gt;2) Either alway advertise connectable (should not be a problem), or alternate between advertising non-connectable most of the time and connectable some of the time. Then the phone could connect when the nRF advertises in connectable mode.&lt;/p&gt;
&lt;p&gt;Since you are working with an nRF52832, I recomend you use the lastest nRF5 SDK (currently version 16, and SoftDevice S132 version 7.0.1).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>