<?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>Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102754/commissioner-not-responding-to-join-request</link><description>nrf52840 
 NCS 1.9.1 
 We have a Thread project based on the Coap Client and Server example. The Coap server acts as the Commissioner, and other devices join using a known pskd. Sometimes this works fine, but after the server has been running a while</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 May 2024 20:27:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102754/commissioner-not-responding-to-join-request" /><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/482132?ContentTypeID=1</link><pubDate>Mon, 06 May 2024 20:27:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88e1051b-a0f7-485b-a141-4630dcab942c</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;It seems that there is a conversation between the Commissioner and the Leader before Joining is fully enabled.&amp;nbsp; The signal that this has completed is a Thread state change with the &lt;span&gt;OT_CHANGED_THREAD_NETDATA flag set.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So, I implemented a work around.&lt;/p&gt;
&lt;p&gt;When the commissioner allows joining, start a timer (joinerstart_timer) with a 2 second timeout.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// Called in workqueue joining_work
static void activate_joining(struct k_work *item)
{
	ARG_UNUSED(item);

	struct openthread_context *ot_context = openthread_get_default_context();
	otError err;

	otInstance *instance = ot_context-&amp;gt;instance;

	otCommissionerState state;
	if ((state = otCommissionerGetState(instance)) == OT_COMMISSIONER_STATE_ACTIVE)
	{
		openthread_api_mutex_lock(ot_context);
		err = otCommissionerAddJoiner(instance, NULL, pskd, JOINER_TIMEOUT); 
		openthread_api_mutex_unlock(ot_context);
		if (err != OT_ERROR_NONE)
		{
			printk(&amp;quot;\r\notCommissionerAddJoiner() failed [%d]\r\n&amp;quot;, err);
		}
		else
		{
			g_joining_allowed = true;

			printk(&amp;quot;\r\nCommissioner joiner started for %d seconds...\r\n&amp;quot;, JOINER_TIMEOUT);
			printk(&amp;quot;Commissioner SessionID: [%d]\r\n\n&amp;quot;, otCommissionerGetSessionId(instance));
			k_timer_start(&amp;amp;joinerstart_timer, K_MSEC(2000), K_MSEC(2000));
		}
	}
	else
	{
		printk(&amp;quot;\r\nCommissioner state = %d. Restarting...&amp;quot;, state);

		openthread_api_mutex_lock(ot_context);
		err = otCommissionerStart(ot_context-&amp;gt;instance, commissioner_state_cb, commissioner_joiner_cb, ot_context);
		openthread_api_mutex_unlock(ot_context);
		if (err != OT_ERROR_NONE)
			printk(&amp;quot;otCommissionerStart() failed [%d]\r\n&amp;quot;, err);
		else
			g_start_joiner = true;		// trigger AddJoiner when &amp;quot;commissioner active&amp;quot; happens
	}
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If the Thread state changes with OT_CHANGED_THREAD_NETDATA, stop the timer.&amp;nbsp; Everything is ok.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void on_thread_state_changed(otChangedFlags flags, struct openthread_context *ot_context, void *user_data)
{
	otError err;

	printk(&amp;quot;\r\nThread state changed: role: %d  flags: 0x%x\r\n&amp;quot;, otThreadGetDeviceRole(ot_context-&amp;gt;instance), flags);

	if (flags &amp;amp; OT_CHANGED_THREAD_ROLE) 
	{
		switch (otThreadGetDeviceRole(ot_context-&amp;gt;instance)) {
		case OT_DEVICE_ROLE_CHILD:
		case OT_DEVICE_ROLE_ROUTER:
		case OT_DEVICE_ROLE_LEADER:
			ot_is_connected = true;

			if (otCommissionerGetState(ot_context-&amp;gt;instance) == OT_COMMISSIONER_STATE_DISABLED)
			{
				openthread_api_mutex_lock(ot_context);
				err = otCommissionerStart(ot_context-&amp;gt;instance, commissioner_state_cb, commissioner_joiner_cb, ot_context);
				openthread_api_mutex_unlock(ot_context);
				if (err != OT_ERROR_NONE)
					printk(&amp;quot;otCommissionerStart() failed [%d]\r\n&amp;quot;, err);
			}
			break;

		case OT_DEVICE_ROLE_DISABLED:
		case OT_DEVICE_ROLE_DETACHED:
		default:
			ot_is_connected = false;
			break;

		} // endswitch: role
	} // endif: role changed

	if (flags &amp;amp; OT_CHANGED_THREAD_NETDATA)
	{
		k_timer_stop(&amp;amp;joinerstart_timer);
	}
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But, if the timer expires first.&amp;nbsp; Stop the commissioner.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void on_joinerstart_timeout(struct k_work *work)
{
	otError err;
	struct openthread_context *ot_context = openthread_get_default_context();

	printk(&amp;quot;\r\nJoiner Start timed out. Restarting commissioner.&amp;quot;);

	// Net Data Changed was not received, restart commissioner
	openthread_api_mutex_lock(ot_context);
	err = otCommissionerStop(ot_context-&amp;gt;instance);
	openthread_api_mutex_unlock(ot_context);

	if (err != OT_ERROR_NONE)
		printk(&amp;quot;otCommissionerStop() failed [%d]\r\n&amp;quot;, err);
}

K_WORK_DEFINE(joinerstarttimout_work, on_joinerstart_timeout);

void joinerstart_timer_handler(struct k_timer *p_timer)
{
	k_timer_stop(&amp;amp;joinerstart_timer);
	k_work_submit(&amp;amp;joinerstarttimout_work);		// stops commissioner
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The user will have to re-initiate joining (button press in our case), which will restart the Commissioner, then call activate_joining().&lt;/p&gt;
&lt;p&gt;I still don&amp;#39;t know why the process fails occasionally, but the workaround has succeeded several times.&lt;/p&gt;
&lt;p&gt;Mary&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/462596?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2024 22:34:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93c176e3-65de-4bf2-a901-e4e72dcb0251</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;When joining fails, I do not see this line in the log:&lt;/p&gt;
&lt;p&gt;[00:09:06.992,126] &amp;lt;inf&amp;gt; [I] JoinerRouter--: Joiner Router: start&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The code that creates this log message is in&lt;/p&gt;
&lt;p&gt;&amp;lt;sdk&amp;gt;/modules/lib/openthread/src/core/meshcop/joiner_router.cpp, line 67&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;void JoinerRouter::Start(void)
{
    VerifyOrExit(Get&amp;lt;Mle::MleRouter&amp;gt;().IsFullThreadDevice());

    if (Get&amp;lt;NetworkData::Leader&amp;gt;().IsJoiningEnabled())
    {
        uint16_t port = GetJoinerUdpPort();

        VerifyOrExit(!mSocket.IsBound());

        IgnoreError(mSocket.Open(&amp;amp;JoinerRouter::HandleUdpReceive, this));
        IgnoreError(mSocket.Bind(port));
        IgnoreError(Get&amp;lt;Ip6::Filter&amp;gt;().AddUnsecurePort(port));
        LogInfo(&amp;quot;Joiner Router: start&amp;quot;);
    }
    else
    {
        VerifyOrExit(mSocket.IsBound());

        IgnoreError(Get&amp;lt;Ip6::Filter&amp;gt;().RemoveUnsecurePort(mSocket.GetSockName().mPort));

        IgnoreError(mSocket.Close());
    }

exit:
    return;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My main question is why wasn&amp;#39;t joining enabled?&lt;/p&gt;
&lt;p&gt;How can I detect and correct this situation?&lt;/p&gt;
&lt;p&gt;Mary&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/462327?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2024 14:28:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5790344-2326-4175-b180-cd431c86d234</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;As noted in my reply on Nov 9, the project was migrated to NCS 2.4.1&lt;/p&gt;
&lt;p&gt;Mary&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/461445?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2023 13:34:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf5d703b-2a2b-46c1-98a9-abffd55830e7</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;This function was introduced in Openthread API somewhere around November this year.&amp;nbsp; Thus this function is not available at NCS 1.9.1. You will have to move to the latest version of NCS.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;-Amanda H.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/461337?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2023 19:16:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36db4e7c-b86d-4428-952d-9676391fd1c6</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;I&amp;#39;m trying to look at the &lt;span&gt;Commissioning&amp;nbsp;&lt;/span&gt;data (which includes steering data) with this call:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;otNetDataGetCommissioningDataset()&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;described here:&amp;nbsp;&lt;a href="https://openthread.io/reference/group/api-thread-general#otnetdatagetcommissioningdataset"&gt;https://openthread.io/reference/group/api-thread-general#otnetdatagetcommissioningdataset&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;In prj.conf, I have&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_OPENTHREAD_FTD&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_OPENTHREAD_NETDATA_PUBLISHER&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;And, in the compiler output I see:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;- OT_NETDATA_PUBLISHER=ON --&amp;gt; OPENTHREAD_CONFIG_NETDATA_PUBLISHER_ENABLE=1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;But, the end result of compilation is this error:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;../src/coap_server.c:387: undefined reference to `otNetDataGetCommissioningDataset&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;How do I include this function?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Mary&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/461165?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 21:47:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b8f7853-874f-47fb-8271-d578d82cabfd</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;Here is another log, when joining succeeded.&lt;/p&gt;
&lt;p&gt;Joining is allowed at time&amp;nbsp;[00:09:06.215,393], line 287&lt;/p&gt;
&lt;p&gt;The Joiner Router is started at time&amp;nbsp;[00:09:06.992,126], line 319.&amp;nbsp; This event is missing in the failed example above.&lt;/p&gt;
&lt;p&gt;The Discovery Request is at time&amp;nbsp;[00:09:10.185,638, line 335.&amp;nbsp; And the joining process follows.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Joining_5F00_when_5F00_not_5F00_leader_5F00_ok.txt"&gt;devzone.nordicsemi.com/.../Joining_5F00_when_5F00_not_5F00_leader_5F00_ok.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It seems that&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;bool&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;LeaderBase&lt;/span&gt;&lt;span&gt;::&lt;/span&gt;&lt;span&gt;IsJoiningEnabled&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;void&lt;/span&gt;&lt;span&gt;) &lt;/span&gt;&lt;span&gt;const om network_data_leader.cpp is returning false.&amp;nbsp; I think the steering data is not getting set.&amp;nbsp; Why would that be?&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Mary&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/461162?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 20:55:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97b6eeb2-9cde-4b29-8550-d72fb325b543</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;It failed again today.&amp;nbsp; Here is a log with more debug information.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_OPENTHREAD_LOG_LEVEL_INFO&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Joining is allowed at time [01:21:36.502,502], line 44&lt;/p&gt;
&lt;p&gt;A Discovery request is received at time&amp;nbsp;[01:21:53.936,798], line 84&lt;/p&gt;
&lt;p&gt;and again at time&amp;nbsp;[01:22:25.932,647] line 586&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/joining_5F00_failed_5F00_security.txt"&gt;devzone.nordicsemi.com/.../joining_5F00_failed_5F00_security.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Do you see anything helpful?&lt;/p&gt;
&lt;p&gt;Mary&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/458572?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2023 16:01:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deb6aa1f-0824-411f-920a-40228d8f01fb</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;I added the&amp;nbsp; mutex lock/unlock around the calls to &lt;span&gt;otCommissionerAddJoiner() and any other calls that change something.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Some days later, the problem reappeared.&amp;nbsp; I tested on two units running identical code.&amp;nbsp; I verified that using nrfjprog --verify.&amp;nbsp; One unit allowed a device to join, and the other didn&amp;#39;t.&amp;nbsp; I did a factory reset on the one that failed, and then joining succeeded.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Mary&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/455545?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 13:53:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1e42f14-da7a-45c5-8009-12ba1d77a9fc</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;I&amp;#39;m just now noticing that you don&amp;#39;t use&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;void openthread_api_mutex_lock(struct openthread_context *ot_context);
&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;and&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;void&amp;nbsp;openthread_api_mutex_unlock(struct&amp;nbsp;openthread_context&amp;nbsp;*ot_context);
&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;when you&amp;#39;re&amp;nbsp;calling the openthread API directly. Not sure if this is the cause of the problem. Please verify the problem still exists after fixing this.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;-Amanda H.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/455005?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 17:40:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b5a5a4e-6b18-4b10-873e-eee2f292018e</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;I have migrated the project to NCS 2.4.1, and I saw the same problem today.&lt;/p&gt;
&lt;p&gt;The server/commissioner has been running overnight, ~16 hours.&lt;/p&gt;
&lt;p&gt;Here is the Wireshark file:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Client_5F00_join_5F00_failed.pcapng"&gt;devzone.nordicsemi.com/.../Client_5F00_join_5F00_failed.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Mary&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/443423?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2023 14:50:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fb3079c-5b2f-4000-b66b-1e05f48c9a41</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Certifications are listed in the&amp;nbsp;&lt;a title="nRF52840 nRF Connect SDK Thread CIDs" href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcomp_matrix_nrf52840%2FCOMP%2Fnrf52840%2Fnrf52840_thread_cids.html"&gt;nRF52840 nRF Connect SDK Thread CIDs&lt;/a&gt;&amp;nbsp;table.&lt;/p&gt;
&lt;p&gt;Certification for NCS 1.9.X has been deprecated due to the security issue and we didn&amp;#39;t release a patch for this version.&lt;/p&gt;
&lt;p&gt;It is recommended to use the 2.4.1 release (certification we have already received, but infocenter update is pending).&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/443042?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2023 18:03:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:053f6748-cef3-4f78-8848-c6b2376d0b81</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;That is not our actual PSKd, I edited over it to keep ours confidential.&lt;/p&gt;
&lt;p&gt;What NCS versions can be certified?&lt;/p&gt;
&lt;p&gt;Mary&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/443010?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2023 14:14:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0be5e492-d436-4c88-9299-82c7773fab22</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From what can be seen in logs, we&amp;#39;re surprised the &amp;quot;OK&amp;quot; case passes - PSKd that is set there is invalid, as it can&amp;#39;t contain characters &amp;quot;O&amp;quot; and &amp;quot;I&amp;quot;. Other than this, the provided code looks fine and it&amp;#39;s difficult to pinpoint the problem from the logs. Would it be possible for the client to share the wireshark pcap file?&lt;/p&gt;
&lt;p&gt;One other thing to note is that this is an old version of NCS, and you won&amp;#39;t be able to certify devices based on it (because of the Thread security vulnerability).&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/442840?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 19:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba711292-2504-478d-8d82-7bd60786aaaf</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;Sorry for the delay.&amp;nbsp; I increased the log level for openthread to &amp;#39;Info&amp;#39;.&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_OPENTHREAD_LOG_LEVEL_INFO&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;I have been attempting joining for days, and it succeeds.&amp;nbsp; I finally had one failure today, though it looks different from what I describe above.&amp;nbsp; The joining process begins but does not complete.&amp;nbsp; After the the Coap Server&amp;#39;s commissioner joiner timed out,&amp;nbsp; I restarted it and the joining process completed successfully.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I&amp;#39;ve attached logs for both success and failure.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Joiner_5F00_log_5F00_ok.txt"&gt;devzone.nordicsemi.com/.../Joiner_5F00_log_5F00_ok.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Joiner_5F00_log_5F00_fail.txt"&gt;devzone.nordicsemi.com/.../Joiner_5F00_log_5F00_fail.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Mary&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/441617?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 12:50:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b59643d-f76a-4346-8694-dd45b26f467e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Would it be possible for you to collect more logs from both the commissioner and the joiner?&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/441202?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 14:34:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29d448f7-da3a-4510-b24f-6cb4e710efa6</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;I recompiled with this change to the prf.conf:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_OPENTHREAD_DEBUG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_OPENTHREAD_DEBUG=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_OPENTHREAD_LOG_LEVEL_NOTE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;When a client is trying to join, I saw this message on the Server:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;W: [WARN]-MLE: Failed to process Discovery Request: Security&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I see this message before I press the &amp;quot;Allow Joining&amp;quot; button, and again when it tries to join after I press the button.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;otCommissionerAddJoiner(instance, NULL, pskd, JOINER_TIMEOUT);&amp;nbsp; is not returning an error, but it doesn&amp;#39;t seem like it worked.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Mry&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioner not responding to join request</title><link>https://devzone.nordicsemi.com/thread/441003?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2023 15:45:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:148b6a7d-5e86-4aed-95a8-8de2419c1d3f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am looking into your case and will update it next week.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>