<?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>Communicate Data Via BLE only between 2 devices</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78502/communicate-data-via-ble-only-between-2-devices</link><description>Hello, 
 I want to transmit data gain from an i2C sensor from one nRF52832 to another via BLE. 
 I have successfully configured i2C and now I can store those values to Variables. 
 
 What I want is, Transmit those values to a specified device within range</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Aug 2021 07:54:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78502/communicate-data-via-ble-only-between-2-devices" /><item><title>RE: Communicate Data Via BLE only between 2 devices</title><link>https://devzone.nordicsemi.com/thread/325023?ContentTypeID=1</link><pubDate>Mon, 16 Aug 2021 07:54:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54db790f-1668-47b7-a8b8-83fe07d13691</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Most probably this is due to one or more of the following reasons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The config file hasn&amp;#39;t been configured properly. Diff your config file with the TWI example config file, and see what&amp;#39;s different.&lt;/li&gt;
&lt;li&gt;The path to the added source file isn&amp;#39;t included in the project settings.&lt;/li&gt;
&lt;li&gt;The proper header/source files haven&amp;#39;t been included.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate Data Via BLE only between 2 devices</title><link>https://devzone.nordicsemi.com/thread/324921?ContentTypeID=1</link><pubDate>Sat, 14 Aug 2021 07:52:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32ce9ef1-6edb-4df3-a81d-13902e922aaf</guid><dc:creator>Pathum Sudarshana</dc:creator><description>&lt;p&gt;Thank you. Now I can communicate with 2 devices via BLE.&lt;/p&gt;
&lt;p&gt;But I am getting errors while combining 2 programs(Twi read program and Ble communication Program)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have updated Config.h file and Included other .h and .c files.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It successfully Builds when there is No function in main.c for TWI communication.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But if I add any function of TWI to the main.c it shows errors and doesn&amp;#39;t build.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For example when I use the function &amp;quot;twi_master_nit()&amp;quot; which was exactly used in the separate TWI program. it shows the&amp;nbsp;following error.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/err.JPG" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate Data Via BLE only between 2 devices</title><link>https://devzone.nordicsemi.com/thread/324666?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 12:05:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:252f721d-49d6-4d90-942a-037ce56b86e7</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can start with the ble_app_uart example which instead of TWI uses UART. After you have understood how that example works, you can try to merge the TWI scanner example into the ble_app_uart example and replace the UART part with TWI. Try to search in the forum, I&amp;#39;m pretty sure this has been discussed before.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>