<?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>nRF8001 Sleep mode Pairing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30970/nrf8001-sleep-mode-pairing</link><description>Hi Support team, 
 
 I am looking to replace my BLE chip by a nRF8001. I am currently using a DA14580 (Dialog Semiconductor), in Beacon mode or pairing mode. I saw that the nRF8001 cannot works in Beacon, so I am wondering about pairing mode : is that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Mar 2018 14:07:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30970/nrf8001-sleep-mode-pairing" /><item><title>RE: nRF8001 Sleep mode Pairing</title><link>https://devzone.nordicsemi.com/thread/122477?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 14:07:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4775d9a6-f185-4d35-89cb-be176f009e7f</guid><dc:creator>Florent Muret</dc:creator><description>&lt;p&gt;Okep, it perfectly fits me, thanks for your help ! Much appreciated !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 Sleep mode Pairing</title><link>https://devzone.nordicsemi.com/thread/122470?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 13:20:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:329a274a-a727-4520-a3bb-2f85c3f70fb3</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;While advertising (paring/paired) the data transmission is at 20 ms per interval and you need to replace the data being sent every advertising event. The data available for transmission per advertising event using the Service Data AD type is approximately 20 bytes.&lt;/p&gt;
&lt;p&gt;When running the broadcasting using advertising (ACI broadcast) the interval is 100ms.&lt;/p&gt;
&lt;p&gt;Does this answer your question ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 Sleep mode Pairing</title><link>https://devzone.nordicsemi.com/thread/122447?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 12:06:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43bbccac-a45c-4428-a3cc-ae18f3e332bc</guid><dc:creator>Florent Muret</dc:creator><description>&lt;p&gt;You mean the&amp;nbsp;&lt;span&gt;services.h&amp;nbsp;auto generated&amp;nbsp;by nRFgo studio ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And so do you have an idea of the speed of the data transmission while using pairing or beacon&amp;nbsp; ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 Sleep mode Pairing</title><link>https://devzone.nordicsemi.com/thread/122444?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 11:56:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:122a22b6-b003-4ba1-8a17-a8e26946e200</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;you can but typically it is preferable to just use the services.h which contains the #defines and not use the generated C code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 Sleep mode Pairing</title><link>https://devzone.nordicsemi.com/thread/122442?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 11:42:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:068b9ec5-2c68-4e6c-af3f-1fc08095efe4</guid><dc:creator>Florent Muret</dc:creator><description>&lt;p&gt;Ok thanks for thoses links. I guess you can have pre-made code in C as well on nRFgo studio as well ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 Sleep mode Pairing</title><link>https://devzone.nordicsemi.com/thread/122440?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 11:36:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:498327d1-f563-4a03-bffb-6a6e6072bd0d</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;The arduino code is close to C and can be easily moved to C. There is a &lt;a href="https://github.com/NordicSemiconductor/ble-sdk-arduino/blob/master/documentation/libraries/BLE/nRF8001-Porting-ACI-Library.md"&gt;porting document available&lt;/a&gt; for use.&lt;/p&gt;
&lt;p&gt;There are some basic ports for &lt;a href="https://github.com/trond-snekvik/libmaple/tree/nrf-ble-sdk"&gt;STM32&lt;/a&gt;, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/6433/nrf8001-msp430-setup"&gt;MSP430 and AVR(pure C)&lt;/a&gt;&amp;nbsp;that are available on devzone. Let me know if any of them will work for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 Sleep mode Pairing</title><link>https://devzone.nordicsemi.com/thread/122404?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 09:46:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fe3ed2b-c376-4b5c-b8c2-1014d6c11ff4</guid><dc:creator>Florent Muret</dc:creator><description>&lt;p&gt;Hi David, thanks for your help.&lt;/p&gt;
&lt;p&gt;Just to be clear I just want to try both mode (Broadcaster and pairing), but not at the same time. So if the nRF8001 is able to works in those two mode but separately it fits me. I use the BLE to send some sensor&amp;#39;s data from a embedded system to a smartphone. The purpose it&amp;#39;s to realize a demo to show customer our TEG harvesting system, and it is more handy to have a BLE which doesn&amp;#39;t require a connection.&lt;/p&gt;
&lt;p&gt;By the way do you have an idea of the speed of the data transmission while using pairing or beacon (suppose to be slower) ?&lt;/p&gt;
&lt;p&gt;So if understand well, if you click on &amp;quot;disconnect&amp;quot; button on your phone (while using a portable speaker or whatever BLE pairing device), it stop to share the key? And so when the BLE chip awakes, the link between the device and the BLE came back automatically in connected state ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And do you have some &amp;quot;pre-made&amp;quot; code in C, cause I found a lot of documentation while using Arduino, but nothing about using a regular microcontroller in C language ?&lt;/p&gt;
&lt;p&gt;Thanks for your answer, much appreciated.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 Sleep mode Pairing</title><link>https://devzone.nordicsemi.com/thread/122397?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 08:45:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d1a0d8b-7305-437d-ab63-2a8af9256f20</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;The nRF8001 is a single role device so it can either be a &lt;a href="https://github.com/NordicSemiconductor/ble-sdk-arduino/blob/master/libraries/BLE/examples/ble_broadcast/ble_broadcast.ino"&gt;broadcaster (beacon)&lt;/a&gt; or a slave. The nRF5x series has the ability to have multiple roles running concurrently in time slices.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Pairing or more specifically bonding is the act of sharing keys between devices and the key will stay shared unless deleted. In this case the phone and nRF8001 will stay bonded even if the devices are sleeping, however you must note that when sleeping the link is not in connected state.&lt;/p&gt;
&lt;p&gt;It is possible to add an id into the advertising data when advertising in bonding/bonded state, by using the Broadcast Service Pipes. (Section 20.6 , nRF8001 PS)&lt;/p&gt;
&lt;p&gt;Can you go into details of what you want to do in beacon mode ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 Sleep mode Pairing</title><link>https://devzone.nordicsemi.com/thread/122327?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 14:50:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49629faa-ec33-4200-95a1-e0f644e1b6fa</guid><dc:creator>Florent Muret</dc:creator><description>&lt;p&gt;Hi David ! I mean i tried both mode, a classic pairing mode where jyou need to paired the BLE chip with your device, but keep a &amp;quot;link&amp;quot; between those, and a Bluetooth Beacon, then I broadcast the identifier to every near portable device.&lt;/p&gt;
&lt;p&gt;I saw that the 8001 doesn&amp;#39;t have the Beacon functionality (instead of nRF51822 for example). So I would like to work with the nRF8001 in Pairing mode but I was just wondering if even in sleep mode the Device and the chip stay paired ?&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 Sleep mode Pairing</title><link>https://devzone.nordicsemi.com/thread/122313?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 14:10:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:659f1242-6877-4421-a178-bdeac4a731a7</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Can you explain a bit more about Beacon Mode and Pairing Mode that you use on the DA, &amp;nbsp;so we could suggest the equivalent modes for the Nordic devices ? The nRF8001 automatically goes to sleep between advertising and connection intervals.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>