<?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>Send Bluetooth Data Continuously</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60147/send-bluetooth-data-continuously</link><description>I&amp;#39;m not sure if what I am trying to do is the proper way to send ble data, and I since I can&amp;#39;t get it to work, I&amp;#39;m assuming I&amp;#39;m doing it wrong. What I&amp;#39;m trying to do is send data to a BLE central device (my phone) using a peripheral. after initializing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Apr 2020 16:42:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60147/send-bluetooth-data-continuously" /><item><title>RE: Send Bluetooth Data Continuously</title><link>https://devzone.nordicsemi.com/thread/245077?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 16:42:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acb6fca4-671d-42bc-b3f0-a637e94fd24f</guid><dc:creator>Collin NB</dc:creator><description>&lt;p&gt;The problem was completely on my end. I&amp;#39;m just starting to use C again after 2 years of C# and keep getting tripped up on some of the basics. I defined m_conn_handle in a different file as static not extern.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send Bluetooth Data Continuously</title><link>https://devzone.nordicsemi.com/thread/244936?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 10:38:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b15ac59-3c0d-428d-8bb3-7476e6ec4ca2</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user=""]instead, &amp;quot;m_conn_handle&amp;quot; = 0xFFFF and it never transmits data[/quote]
&lt;p&gt;&amp;nbsp;Not sure what the problem is but if m_conn_handle is still 0XFFFF then it can only mean either&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;that the connection is not established and hence your application has not update m_conn_handle in the connected event&lt;/li&gt;
&lt;li&gt;something else in your application is writing to the m_conn_handle.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Is this the proper way to read the value being received? It works fine, but that doesn&amp;#39;t mean I&amp;#39;m doing it right.[/quote]
&lt;p&gt;You are receiving data properly, but I cannot comment on the correctness of how you are handling. Since the handling of data is very application specific and could be handled in many number of ways.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>