<?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>nRF52 - TWI and BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20106/nrf52---twi-and-ble</link><description>Hello, 
 I would like to collect sensor data over TWI and transmit to a smartphone using BLE. I am wondering what the best way to do this would be. I am using SDK 12.2. 
 So far, I have one sensor working using TWI. My goal is to get all sensors working</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Mar 2017 19:42:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20106/nrf52---twi-and-ble" /><item><title>RE: nRF52 - TWI and BLE</title><link>https://devzone.nordicsemi.com/thread/78289?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 19:42:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a79bc72-f985-4514-a9c1-cbd209a9f897</guid><dc:creator>Levi</dc:creator><description>&lt;p&gt;Hi Roger, this will give me a good starting point for my project. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 - TWI and BLE</title><link>https://devzone.nordicsemi.com/thread/78288?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 01:53:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a90625c-bfad-410e-b61d-4034f9cd561e</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;There is no magic to this.&lt;/p&gt;
&lt;p&gt;Your TWI code should work when integrated with BLE&lt;/p&gt;
&lt;p&gt;I&amp;#39;d recommend you start by copying the ble application template, then look at adding a custom service (or one of the example services, to the template, and finally intergate your TWI code when you need to read the sensors&lt;/p&gt;
&lt;p&gt;Precisely what services you use and whether you collect data from your sensors before or during the BLE connection is specific to your use case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>