<?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>BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32002/ble_nus-with-dht11-temperature-and-humidity-issue</link><description>Hi all, 
 
 I am working on Temperature and Humidity(DHT11) with nrf52832, After advertising the Bluetooth i am calling the DHT11 sensor function in loop, few seconds it is working fine, after sending some data it is not sending data over the BLE_NUS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Mar 2018 14:21:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32002/ble_nus-with-dht11-temperature-and-humidity-issue" /><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/125377?ContentTypeID=1</link><pubDate>Wed, 21 Mar 2018 14:21:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fe81f9f-9fab-409d-bc1d-12317c3ed7f8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Are you sure that the&amp;nbsp;DHT11 functions you have created is working as intended? You have some while loops inside there that will deadlock your code if the GPIOs are not set to certain values. Note that if you put a breakpoint or halt the CPU in other ways, the softdevice will assert when you continue, and put you in the error handler. Is the code working if you comment out&amp;nbsp;DHT_task_callback() from you main loop?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/125087?ContentTypeID=1</link><pubDate>Tue, 20 Mar 2018 06:09:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3b9e2a6-569c-4117-b2e5-c5a61e9f0cc8</guid><dc:creator>Kashinath</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;I checked in debug mode with notification enable in nordic connect app, it is getting stop in nrf_delay_us, i don&amp;#39;t know the issue, after this it is suddenly going to&amp;nbsp;NRF_BREAKPOINT_COND; please suggest me for this issue, Thanks&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/ASM_5F00_Volatile.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/125083?ContentTypeID=1</link><pubDate>Tue, 20 Mar 2018 05:30:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b744912-32c5-409a-b100-d9e75bfcb0a6</guid><dc:creator>Kashinath</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;I am checking my application by connecting to Nordic connect app with notification enabled, but still after few data it is not sending data, I am using P0.15 pin for reading data, In nrf52832 development board the same pin is for button 3, so if i press that button again it will start sending data, please suggest me for this issue. (I commented the sleep mode in code)Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/124963?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 11:34:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd0efa1f-8fd3-4b25-be57-58f208e4faa2</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Have you debugged the second application and figured out where it fails? You should make sure you check every error code, to make sure your application is functioning as expected. From your previous screenshots, it looks like the application is failing because you are trying to send data using ble_nus when there is no connection or notifications not being enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/124856?ContentTypeID=1</link><pubDate>Sat, 17 Mar 2018 08:14:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b68c2830-a04e-4aaa-b69d-638b2ef85c15</guid><dc:creator>Kashinath</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;Thank you for reply,&lt;/p&gt;
&lt;p&gt;Actually my main issue is after sending some data it is not sending any data, so tell me how to resolve that issue, i send my main code(2nd one which i have attached), thanks in advance&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/124639?ContentTypeID=1</link><pubDate>Thu, 15 Mar 2018 16:58:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb908926-ba27-4c3b-bf2a-cde5843d0309</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You get error code &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group__nrf__error.html#gaf0aff2ba7864b34a36b4a96986e1851e"&gt;NRF_ERROR_INVALID_STATE&lt;/a&gt;&amp;nbsp;from ble_nus_string_send. This error is thrown if you are not in a connection, or if notifications are not enabled by the central. You have to check the error code returned from this function call and ignore the error if you are not connected, or implement some other way to make sure you do not try to send notifications without beeing in a connection with notifications enabled.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/124568?ContentTypeID=1</link><pubDate>Thu, 15 Mar 2018 12:16:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c29aea46-7897-4d42-b75d-e19f4a81b796</guid><dc:creator>Kashinath</dc:creator><description>&lt;p&gt;use the second code which i have attached, for checking, it is working for few minutes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/124482?ContentTypeID=1</link><pubDate>Thu, 15 Mar 2018 05:07:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8b702df-69a5-42d7-bf9c-f9fe2c0fd090</guid><dc:creator>Kashinath</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;i have checked with APP_ERROR_CHECK(), so i am getting error in line num 940, Please check in snap&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/app_5F00_error_5F00_check.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/error-line_5F00_num940.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/124480?ContentTypeID=1</link><pubDate>Thu, 15 Mar 2018 04:53:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a78c663-a85f-4dc8-8424-57e1613e1cbe</guid><dc:creator>Kashinath</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;Here i am attaching snaps, while debugging i took this, go through it and suggest me, i need to finish this as soon as possible, thanks in advance&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/snap.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/snap2.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/snap_5F00_final1.PNG" /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/124462?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 20:30:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:876a92ae-6444-4bc4-81b9-fb923728c76c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Can you post the Call Stack window from Segger Embedded Studio when you end up&amp;nbsp;at the breakpoint (NRF_BREAKPOINT_COND) in the error handler:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e8ed2e0f9a48406a90561b2c1ca321cf/ses_5F00_callstack.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Also make sure you check the error codes from every function that returns an error (ble_nus_string_send, etc.), and pass this to APP_ERROR_CHECK(), to make sure the error handler is called from the correct function call.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/124360?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 12:01:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce32366b-8602-4974-9091-d626cfbb5379</guid><dc:creator>Kashinath</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;Here&amp;nbsp; i am attaching another code this is working for more one minutes&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0317.main.c.txt"&gt;devzone.nordicsemi.com/.../0317.main.c.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/124352?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 11:00:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce252f14-9768-4212-a32d-c2ba676bc7d0</guid><dc:creator>Kashinath</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;Here i am attaching my code&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6560.main.c.txt"&gt;/cfs-file/__key/communityserver-discussions-components-files/4/6560.main.c.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/124345?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 10:37:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1e2cdcf-ea43-42d3-a8d6-014b67f471cc</guid><dc:creator>Kashinath</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;I found error name, that is&amp;nbsp;NRF_ERROR_SVC_HANDLER_MISSING&lt;/p&gt;
&lt;p&gt;error: app_error_fault_handler&lt;/p&gt;
&lt;p&gt;i have followed the debugging steps, please suggest me what is the issue,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/124342?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 10:30:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebe496ff-e0e7-4846-a1db-e9f97c9a58ff</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;This is caused by an error from the softdevice. You need to provide your code in order for us to help you debug this. You should also see if you can figure out which function is causing the error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/124263?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 05:57:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:724c91fb-97b6-4c2c-a3a7-71751e4cd3c8</guid><dc:creator>Kashinath</dc:creator><description>&lt;p&gt;Hi Jorgen Thank you for your reply,&lt;/p&gt;
&lt;p&gt;I have checked in debug mode using segger embedded studio, so after 60 sec i am getting following error:&lt;/p&gt;
&lt;p&gt;&amp;lt;error&amp;gt; app: SOFTDEVICE: ASSERTION FAILED&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then immediately it&amp;nbsp; is shifting the cursor to below line in app_error_weak.c file:&lt;/p&gt;
&lt;p&gt;NRF_BREAKPOINT_COND;&lt;br /&gt; // On assert, the system can only recover with a reset.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please tell me how to resolve this issue, thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_NUS with DHT11(Temperature and Humidity) issue</title><link>https://devzone.nordicsemi.com/thread/124151?ContentTypeID=1</link><pubDate>Tue, 13 Mar 2018 11:48:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de1a4f12-339d-4dd8-88f2-da15cfc324bc</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Please post the code you are using for communicating with the&amp;nbsp;DHT11 sensor. Also, please try debugging using &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/10729/my-device-is-freezing-and-restarting"&gt;this method&lt;/a&gt;, to see if any functions return error codes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>