<?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>Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28457/central-device-can-not-find-2-services-0x1001-0x0001</link><description>Peripheral device has 2 services,but central can find only 1 service(0x1001）.
I want to find other service(0x0001)
According to the message seems to be looking for 0x1001,but ! want to looking for every services. 
 I don not know why this program look</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Jan 2018 09:45:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28457/central-device-can-not-find-2-services-0x1001-0x0001" /><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112466?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2018 09:45:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12b7c3f7-48b1-4685-b3d2-bc288629ae96</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Is this still a problem you haven&amp;#39;t solved?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112457?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 08:21:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c71c4bd8-10a7-433e-9027-a1e4d78f0f6a</guid><dc:creator>yamazaki seiji</dc:creator><description>&lt;p&gt;Thank you very very very much.
Currently it is not so urgent.
Thank you for your consideration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112458?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 08:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49f09f2a-7998-4ffe-9f32-4f62bb3ad7f4</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I&amp;#39;ll try make some modifications, see if I can get it to work, but it might take a couple of days before I have time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112456?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 07:36:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95cb3f86-dc5e-477b-932e-c6dd41ee7aef</guid><dc:creator>yamazaki seiji</dc:creator><description>&lt;p&gt;What you are writing is very difficult for me.
What I want to do is to send data from central to peripheral for the two services.
I am very thankful that there is a sample program.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112459?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 07:06:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:853bdb7f-acc7-4c72-8af7-f2b723945750</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You do &lt;strong&gt;not&lt;/strong&gt; want to set:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    p_ble_nus-&amp;gt;handles.nus_tx_cccd_handle = p_peer_handles-&amp;gt;nus_tx_cccd_handle;
    p_ble_nus-&amp;gt;handles.nus_tx_handle      = p_peer_handles-&amp;gt;nus_tx_handle;
    p_ble_nus-&amp;gt;handles.nus_rx_handle      = p_peer_handles-&amp;gt;nus_rx_handle;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and you do &lt;strong&gt;not&lt;/strong&gt; call ble_nus_c_tx_notif_enable().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112463?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 07:06:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9755e58d-c9f5-47c4-861e-e42e2d3ef11c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The changes doesn&amp;#39;t look correct at all. You will get two BLE_NUS_C_EVT_DISCOVERY_COMPLETE events.&lt;/p&gt;
&lt;p&gt;One with valid handles for&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nus_tx_cccd_handle
nus_tx_handle
nus_rx_handle
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and invalid handle (0x0000) for handles.nus_rx2_handle&lt;/p&gt;
&lt;p&gt;With this event you want to set:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    p_ble_nus-&amp;gt;handles.nus_tx_cccd_handle = p_peer_handles-&amp;gt;nus_tx_cccd_handle;
    p_ble_nus-&amp;gt;handles.nus_tx_handle      = p_peer_handles-&amp;gt;nus_tx_handle;
    p_ble_nus-&amp;gt;handles.nus_rx_handle      = p_peer_handles-&amp;gt;nus_rx_handle;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and call ble_nus_c_tx_notif_enable().&lt;/p&gt;
&lt;p&gt;Second with valid handles for&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;handles.nus_rx2_handle
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and invalid handles (0x000) for nus_tx_cccd_handle, nus_tx_handle, nus_rx_handle&lt;/p&gt;
&lt;p&gt;With this event you want to set&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;p_ble_nus-&amp;gt;handles.nus_rx2_handle      = p_peer_handles-&amp;gt;nus_rx2_handle;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112462?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 06:56:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2867348-dbbe-4896-a636-764bfaecf7fd</guid><dc:creator>yamazaki seiji</dc:creator><description>&lt;p&gt;There is no equipment now.
I will test as soon as possible.
Upload the file to be changed this time.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_nus_5F00_c_5F00_toppan.c"&gt;ble_nus_c_toppan.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112461?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 06:46:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1887675b-a50a-4c87-85ae-6aea4b34b5ed</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Impossible to test? Why? I don&amp;#39;t understand your change suggestions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112460?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 06:43:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14a24395-07c6-4345-9750-3a12960b2c07</guid><dc:creator>yamazaki seiji</dc:creator><description>&lt;p&gt;Thank you for your reply.
Unfortunately it has become impossible to test now.&lt;/p&gt;
&lt;p&gt;So,I ask you.
What I have to change is&lt;/p&gt;
&lt;p&gt;To the function ble_nus_c_handles_assign&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;p_ble_nus-&amp;gt; handles.nus_rx2_handle = p_peer_handles-&amp;gt; nus_rx2_handle;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;With function ble_nus_c_tx_notif_enable&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;|| (p_ble_nus_c -&amp;gt; handles.nus_tx_cccd_handle == BLE_GATT_HANDLE_INVALID)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;so&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;| ((p_ble_nus_c -&amp;gt; handles.nus_tx_cccd_handle == BLE_GATT_HANDLE_INVALID) &amp;amp;&amp;amp; (p_ble_nus_c -&amp;gt; handles.nus_tx_cccd_handle == BLE_GATT_HANDLE_INVALID))
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Change it&lt;/p&gt;
&lt;p&gt;Is it right.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112455?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 14:20:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fa4eb58-9fde-42b6-a08a-b77536859db4</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Seems to me you have to modify ble_nus_c_handles_assign() and ble_nus_c_tx_notif_enable(). BLE_NUS_C_EVT_DISCOVERY_COMPLETE will be received twice. Once with valid handles for&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nus_tx_cccd_handle
nus_tx_handle
nus_rx_handle
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Second for valid handle for&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;handles.nus_rx2_handle
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So when calling ble_nus_c_handles_assign() the second time with only a valid rx2 handle, the other handles seems to be set to 0, and then you get an error when ble_nus_c_tx_notif_enable() is called the second time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112454?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2017 01:08:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19701a41-c0da-4a8d-a15d-bd47750e6587</guid><dc:creator>yamazaki seiji</dc:creator><description>&lt;p&gt;uload failed?
I tryed again.But still fail.
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/prg_5F00_peripheral.zip"&gt;prg_peripheral.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112453?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 01:13:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c356116e-d672-4f2e-94f9-647011cb0c70</guid><dc:creator>yamazaki seiji</dc:creator><description>&lt;p&gt;I appreciate your help.&lt;/p&gt;
&lt;p&gt;I will upload so please be kind.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112452?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2017 12:32:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83d3a82a-b3da-4b49-823c-01a7407d2290</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Thanks. Could you upload the complete project for the peripheral as well? So I can test them together?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112451?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2017 01:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8ca89ad-1967-4770-b8cb-0cd4c18ad56f</guid><dc:creator>yamazaki seiji</dc:creator><description>&lt;p&gt;I am using SDK is nRF5_SDK_13.0.0_04a0bfd.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry,
Correct the 186th line of the source code ble_nus_c_toppan.c as follows
Please check.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#if 0
To
#if 1
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112449?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2017 10:14:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2926af91-10c4-4b3c-b740-87acdaef3d25</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Which SDK are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112447?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2017 09:31:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc18bd95-bc5d-4e02-97ee-779f69f7bc19</guid><dc:creator>yamazaki seiji</dc:creator><description>&lt;p&gt;Thank you for your help.
SoftDevice is s132_nrf52_4.0.2_softdevice.hex.
Please set ble_nus_c/ble_nus_c_toppan.[ch] to components\ble\ble_services .
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/prg.zip"&gt;prg.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112448?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2017 08:52:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:213f8de6-5612-44b0-ac90-74582433bad3</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Edit your question and use the paper clip icon. Please upload complete project. Also let me know which SDK and SoftDevice you are using.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112446?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2017 08:04:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:369c24a2-a880-4309-af64-9f312117fcfd</guid><dc:creator>yamazaki seiji</dc:creator><description>&lt;p&gt;Yes, how can I send a file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112445?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2017 08:00:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed141573-5434-4232-b34c-b1d2f7e62ae2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Would it be possible for you to share your complete project so I can test it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112465?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 12:19:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba721d22-c518-4720-bce9-db88c3662098</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I see. I&amp;#39;m not sure why it is NULL. It is a bit difficult to say without knowing what kind of modifications you have made to your code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112450?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 01:05:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f108fbc9-983c-404f-a36e-7cb0f5599000</guid><dc:creator>yamazaki seiji</dc:creator><description>&lt;p&gt;Thank you for your reply.
What I added is as follows.&lt;/p&gt;
&lt;p&gt;■added&lt;/p&gt;
&lt;p&gt;uart_uuid.type = p_ble_nus_c-&amp;gt;uuid_type;
uart_uuid.uuid = 0x0001;&lt;/p&gt;
&lt;p&gt;err_code = ble_db_discovery_evt_register(&amp;amp;uart_uuid);&lt;/p&gt;
&lt;p&gt;in function ble_nus_c_init&lt;/p&gt;
&lt;p&gt;■added&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;else if (p_evt-&amp;gt;evt_type == BLE_DB_DISCOVERY_COMPLETE &amp;amp;&amp;amp;
    p_evt-&amp;gt;params.discovered_db.srv_uuid.uuid == 0x0001 &amp;amp;&amp;amp;
    p_evt-&amp;gt;params.discovered_db.srv_uuid.type == p_ble_nus_c-&amp;gt;uuid_type)
{
	.....
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in function  ble_nus_c_on_db_disc_evt&lt;/p&gt;
&lt;p&gt;■added&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint16_t nus_rx_handle2;      /**&amp;lt; Handle of the NUS RX characteristic as provided by a discovery. */
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to struct ble_nus_c_handles_t&lt;/p&gt;
&lt;p&gt;I think there are other things I have to do,
I do not know what it is.&lt;/p&gt;
&lt;p&gt;Is there a sample source code for multiservice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112444?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 10:16:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0aa3fc8-c396-4da5-adb7-16ded363d5cc</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Exactly which function returns the error? ble_nus_c_handles_assign()?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112443?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 09:18:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5852e110-8f9d-4c1e-8316-f0a6d9fdd7c1</guid><dc:creator>yamazaki seiji</dc:creator><description>&lt;p&gt;I knew the reason of reset.
p_ble_nus_evt-&amp;gt;handles is NULL in function ble_nus_c_evt_handler
But I do not know why p_ble_nus_evt-&amp;gt;handles is NULL.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112441?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2017 09:12:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2019fe16-a705-435d-bad8-ab6b77277ea7</guid><dc:creator>yamazaki seiji</dc:creator><description>&lt;p&gt;I found both services by LightBlue application of android.
I will try to do your advise later.
Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central device can not find 2 services(0x1001,0x0001)</title><link>https://devzone.nordicsemi.com/thread/112464?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2017 08:58:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e05f4992-88d6-4beb-a68c-3e8ce3da4cf4</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Have you tested your peripheral with for example nRF Connect? Are you able to find both services there?&lt;/p&gt;
&lt;p&gt;If you get a reset you probably have a call to APP_ERROR_CHECK() with an error code somewhere.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure what SDK you are using, but you should turn off compiling optimizations, define DEBUG, and put a breakpoint in the app_error_handler(). Then you can see an error code, a line number and a file name.&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;this&lt;/a&gt; for more information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>