<?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>I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30543/i2c-sensor-data-transfer-over-ble</link><description>(Protocol of my I&amp;#178;C Device) 
 
 I have tried the nRF52832 DK for a while now with the examples and so. I want to program a different Bluetooth Module, the EYSHSNZWZ from Taiyo Yuden. 
 I have tried the examples on the new module and they kind of worked</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Feb 2018 22:46:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30543/i2c-sensor-data-transfer-over-ble" /><item><title>RE: I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/thread/121139?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 22:46:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ba112d7-a189-4df2-8420-606f12b414a2</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Try the GLS example if you have time; there are nrf logging codes already present there and you can add your own in the peer manager to trace the pairing/bonding sequence.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/thread/121138?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 22:20:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02bbe679-d4a7-4f96-8441-89d17ae969dc</guid><dc:creator>domsn99</dc:creator><description>&lt;p&gt;I&amp;#39;ll read through these links and post my progress.&lt;/p&gt;
&lt;p&gt;Thanks &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f603.svg" title="Smiley"&gt;&amp;#x1f603;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/thread/121137?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 22:17:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae753684-f134-423f-b5e3-ad42b674c545</guid><dc:creator>domsn99</dc:creator><description>&lt;p&gt;I only wanted to point out that I&amp;#39;ve made progress by reading through the source code and finding out how to modify it for my purposes.&lt;/p&gt;
&lt;p&gt;Sure it has nothing to do with the pairing and so, but I&amp;#39;m glad that you help me.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks! &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f603.svg" title="Smiley"&gt;&amp;#x1f603;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/thread/121109?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 15:22:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e2808f7-8c6e-45cd-8fa6-b56c9d5a4ae6</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Some pairing/bonding background info reading for those who want to delve deep into that area...&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div style="background-color:transparent;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="background-color:transparent;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;a href="https://blog.bluetooth.com/bluetooth-pairing-part-1-pairing-feature-exchange" rel="noopener noreferrer" target="_blank"&gt;https://blog.bluetooth.com/bluetooth-pairing-part-1-pairing-feature-exchange&lt;/a&gt;&lt;br /&gt; &lt;a href="https://blog.bluetooth.com/bluetooth-pairing-part-2-key-generation-methods" rel="noopener noreferrer" target="_blank"&gt;https://blog.bluetooth.com/bluetooth-pairing-part-2-key-generation-methods&lt;/a&gt;&lt;br /&gt; &lt;a href="https://blog.bluetooth.com/bluetooth-pairing-passkey-entry" rel="noopener noreferrer" target="_blank"&gt;https://blog.bluetooth.com/bluetooth-pairing-passkey-entry&lt;/a&gt;&lt;br /&gt; &lt;a href="https://blog.bluetooth.com/bluetooth-pairing-part-4" rel="noopener noreferrer" target="_blank"&gt;https://blog.bluetooth.com/bluetooth-pairing-part-4&lt;/a&gt;​&lt;br /&gt; &lt;a href="http://eecatalog.com/embedded-security/2016/09/12/improving-security-with-bluetooth-low-energy-4-2/" rel="noopener noreferrer" target="_blank"&gt;http://eecatalog.com/embedded-security/2016/09/12/improving-security-with-bluetooth-low-energy-4-2/&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/thread/121108?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 15:18:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb120f56-24ba-47bf-96b8-27a7c185a976</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Turning on/off LED and pulsing GPIO has nothing to do with pairing/bonding!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/thread/121107?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 15:15:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3022471f-9282-47e6-bd0c-101b767460f1</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Of course it fails! The nRF stores the LTK (long term key) from the very first bonding into the flash so if you wipe out the corresponding LTK on the smartphone and let the smartphone to initiate the pair/bond process the nRF will use the LTK that corresponds to the smartphone BLE id to set up the encryption, and since your smartphone does not have the corresponding LTK your smartphone will fail the encryption setup on its end.&lt;br /&gt;&lt;br /&gt;So if you wipe out the bond info in your smartphone, you should do the same in your nRF device. If you are using the PCA10040 for testing you just need to press the reset button and button 2 at the same time, and the bond info will be erased from the PCA10040 after the reset [so you don't need to keep erasing the whole nRF52 and flashing in the softdevice and the app image again.]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/thread/121106?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 14:55:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5151ec0-303d-47ea-a00c-575082758b2d</guid><dc:creator>domsn99</dc:creator><description>&lt;p&gt;I&amp;#39;ve experimented with the blinky app and tried to turn on a led over another GPIO --&amp;gt; worked fine&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/thread/121105?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 14:54:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08e5331a-135c-4d35-bbb9-78b03af922b0</guid><dc:creator>domsn99</dc:creator><description>&lt;p&gt;I&amp;#39;ve tried it with the hrs example, because I read that it has the device manager.&lt;/p&gt;
&lt;p&gt;First I&amp;#39;ve flashed the RAM of the module and build the hrs example. I turned on Bluetooth on my smartphone and bonded with the module successfully.&lt;/p&gt;
&lt;p&gt;I turned my smartphone bluetooth off and on and it still worked. Even shut down the module and powering on again the bonding was successfull.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then I went to my bluetooth settings on my phone and deleted the bonding with the module. Afterwards I tried to bond again --&amp;gt; module denied bonding. I flashed the RAM again and did everything from the first step. --&amp;gt; worked again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/thread/121088?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 13:53:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d21cc52-0e4c-490e-93ad-747ef95e459d</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Then is it possible to test the example app, or your app stripped to the bare minimal, in the PCA10040 to resolve this bonding issue first?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/thread/121084?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 13:45:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a85b2670-d59e-4821-a51b-d7b93ff866d6</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;&amp;quot;... delete the bonding information...&amp;quot; do you mean delete the bonding info from the nRF52 device only? Have you tried to delete the bond info in your smartphone also and see if the two can bond again?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/thread/121083?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 13:39:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9d3a1d8-43e1-4b61-9595-56fb3bc50341</guid><dc:creator>domsn99</dc:creator><description>&lt;p&gt;I have some but now it&amp;#39;s still the example one&amp;#39;s. If I am able to configure it and program it for my purposes, I will post them, but now it&amp;#39;s still the examples that I try to get working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/thread/121082?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 13:38:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:750586c3-c8eb-4e89-b0f7-11b76f0d41de</guid><dc:creator>domsn99</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. When I try to bond with the device it says that the module denied the bonding. I have read some forum posts and I thought it could be the device manager.&lt;/p&gt;
&lt;p&gt;2. When I delete the whole RAM of the device, build an example solution and try to bond, it works. If I delete the bonding informations, problem 1. appears. As long as I don&amp;#39;t turn off bluetooth from my phone or reset the module, it stays bonded even if I power off and on the module.&lt;/p&gt;
&lt;p&gt;3. I only mentioned I&amp;sup2;C because the protocol of my I&amp;sup2;C device is different from the temperature sensor of the nRF DK and wanted to know how I can change it.&lt;/p&gt;
&lt;p&gt;4. I tried the hrs and twi example, but I want to merge both functions.&lt;/p&gt;
&lt;p&gt;5. It&amp;#39;s a project where I want to read out data from sensors with I&amp;sup2;C and process them with the module. I have a smartphone app which sends a request to read out the register where I store the results from the sensors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/thread/121013?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2018 17:09:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5c456a3-643b-48d2-a699-ed007c3d12af</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Any source code you can share here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I²C sensor data transfer over BLE</title><link>https://devzone.nordicsemi.com/thread/121010?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2018 16:51:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4a4546f-796d-488f-b462-1b4e97cf7764</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Is there a specific reason you believe it is related to device manager?&amp;nbsp;&lt;/li&gt;
&lt;li&gt;You say &amp;quot;difficulties&amp;quot;, did it work at all or just sometimes?&lt;/li&gt;
&lt;li&gt;Does I2C have anything to do with this?&lt;/li&gt;
&lt;li&gt;Did you base you application on a specific example in the SDK? What changes have you made?&lt;/li&gt;
&lt;li&gt;Can you describe your use case in more details?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>