<?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>Problem | BLE APP UART and Buttonless DFU with Bonding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50011/problem-ble-app-uart-and-buttonless-dfu-with-bonding</link><description>Hello Everyone, 
 I am working with nRF52832 chip on our custom board. I am using SDK 14.2 and SD v5.0.0 for development on a windows platform with Segger ES. 
 I am looking to include FOTA in our design but i am having troubles during runtime. 
 Problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Jul 2019 09:46:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50011/problem-ble-app-uart-and-buttonless-dfu-with-bonding" /><item><title>RE: Problem | BLE APP UART and Buttonless DFU with Bonding</title><link>https://devzone.nordicsemi.com/thread/199721?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 09:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f9da501-5863-4bad-8d69-58edd68e6117</guid><dc:creator>SK</dc:creator><description>&lt;p&gt;Perfect! That worked. Thanks a lot, did not know that. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem | BLE APP UART and Buttonless DFU with Bonding</title><link>https://devzone.nordicsemi.com/thread/199714?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 09:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe56b07d-2f1f-420b-bd56-07341b59f97f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Notifications are not enabled automatically, you need to click the &amp;quot;Play&amp;quot; (Arrows if you use app on Android/iOS) button&amp;nbsp;next to the tx characteristic to enable it. Did you do that?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem | BLE APP UART and Buttonless DFU with Bonding</title><link>https://devzone.nordicsemi.com/thread/199713?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 09:30:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e43816c9-c0eb-4429-a421-c5c4d18049fc</guid><dc:creator>SK</dc:creator><description>&lt;p&gt;I checked for the same event (&lt;span&gt;BLE_NUS_EVT_COMM_STARTED) but with nRF connect app, this event is not coming in the nus_data_handler(). :(&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any idea why would that be?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem | BLE APP UART and Buttonless DFU with Bonding</title><link>https://devzone.nordicsemi.com/thread/199709?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 09:24:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dd11252-7950-4c2c-8aaa-b16418c4fedd</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, you should receive BLE_NUS_EVT_COMM_STARTED in your&amp;nbsp;nus_data_handler() callback as soon as notifications have been enabled by the client.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem | BLE APP UART and Buttonless DFU with Bonding</title><link>https://devzone.nordicsemi.com/thread/199636?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 01:09:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d6584ad-b72e-406d-8d4f-5d4ec6ca383d</guid><dc:creator>SK</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your reply. I will check and update here. Is there any way to know if Central has enabled notifications for the particular characteristic? Like an event on the peer side of the confirmation?&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem | BLE APP UART and Buttonless DFU with Bonding</title><link>https://devzone.nordicsemi.com/thread/199518?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 11:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3b20c78-c64d-434e-9694-6858d49a7b76</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the update.&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;strong&gt;&lt;span&gt;1. BLE NUS send sends error 8 -&amp;gt; INVALID STATE error on connection to nRF connect app. I am&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;still not sure why, will keep looking. Please let me know on my leads.&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;The send function will return invalid state if you are trying to send data before the client (nRF connect app) has had time to&amp;nbsp;enable notifications on for the&amp;nbsp;characteristic. Could this be the problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>