<?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>Adding TWI to ble_app_hrs example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42773/adding-twi-to-ble_app_hrs-example</link><description>What is the difference between the twi_sensor example and the twi_master_using_app_twi example? Where do I find any documentation that describes the available functions for each nrf_drv peripheral? Here is what I need to do: 
 I have 6 TWI slave devices</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Jan 2019 14:54:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42773/adding-twi-to-ble_app_hrs-example" /><item><title>RE: Adding TWI to ble_app_hrs example</title><link>https://devzone.nordicsemi.com/thread/166891?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 14:54:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a773b033-3880-4c89-aa18-d4813b2f6d1f</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Yes, of coarse.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I suggest you check out examples that uses the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/lib_timer"&gt;Timer library&lt;/a&gt;&amp;nbsp;to trigger tasks that are to be executed at regular intervals. Do note that the SoftDevice has execution priority during BLE events.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;See&amp;nbsp;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/hardware_driver_twi"&gt;TWI master&lt;/a&gt;&amp;nbsp;driver and&amp;nbsp;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/group__nrfx__twim"&gt;TWIM driver&lt;/a&gt;&amp;nbsp;API docs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;In my project, do I need to setup a service for each TWI slave that I want to monitor or using the TWIM can I setup one service that polls each TWI slave (one after the other) every few seconds?&amp;quot; Are you talking about a BLE service or just a regular C routine?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding TWI to ble_app_hrs example</title><link>https://devzone.nordicsemi.com/thread/166688?ContentTypeID=1</link><pubDate>Sun, 20 Jan 2019 19:09:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09e9696b-0b6e-4a85-afef-2493b79bd500</guid><dc:creator>jeffreyk59</dc:creator><description>&lt;p&gt;Looking at the ble_app_hrs example, it creates and executes four services at various timer intervals:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Battery Level every 2 seconds&lt;/li&gt;
&lt;li&gt;Heart Rate Measurement every 1 second&lt;/li&gt;
&lt;li&gt;RR interval every 300 ms (I&amp;#39;m not sure what this does)&lt;/li&gt;
&lt;li&gt;Sensor Contact every 5 seconds (I&amp;#39;m not sure what this does either)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In my project, do I need to setup a service for each TWI slave that I want to monitor or using the TWIM can I setup one service that polls each TWI slave (one after the other) every few seconds?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>