Thread commissioner mobile app not connecting to Border router[ issue : password is incorrect]

1,024 views
Skip to first unread message

Muthu

unread,
Aug 4, 2018, 8:28:13 AM8/4/18
to openthre...@googlegroups.com
BR formed using ti cc26x2r1 launchpad and rpi3

Thread form success, Wpanctl status below

wpan0 => [
        "NCP:State" => "associated"
        "Daemon:Enabled" => true
        "NCP:Version" => "TI-OPENTHREAD/1.2.0.0; CC2652; Aug  3 2018 11:55:11"
        "Daemon:Version" => "0.08.00d (/222a087; Aug  4 2018 06:26:25)"
        "Config:NCP:DriverName" => "spinel"
        "NCP:HardwareAddress" => [00124B0018A65132]
        "NCP:Channel" => 15
        "Network:NodeType" => "leader"
        "Network:Name" => "OpenThreadDemo"
        "Network:XPANID" => 0x1111111122222222
        "Network:PANID" => 0x1234
        "IPv6:LinkLocalAddress" => "fe80::f4fb:7acd:f6fc:6471"
        "IPv6:MeshLocalAddress" => "fd11:1111:1122:0:e458:e69c:bfdb:b766"
        "IPv6:MeshLocalPrefix" => "fd11:1111:1122::/64"
        "com.nestlabs.internal:Network:AllowingJoin" => false
]

 sudo wpanctl getprop Thread:OnMeshPrefixes
Thread:OnMeshPrefixes = [
        "fd11:22::              prefix_len:64   origin:user     stable:yes flags:0x33 [on-mesh:1 def-route:1 config:0 dhcp:0 slaac:1 pref:1 prio:med] rloc:0x0000"
        "fd11:22::              prefix_len:64   origin:ncp      stable:yes flags:0x33 [on-mesh:1 def-route:1 config:0 dhcp:0 slaac:1 pref:1 prio:med] rloc:0xd400"
]

sudo wpanctl getprop Network:PSKc
Network:PSKc = [61E1206D2C2B46E079EB775F41FC7219]

Used Web GUI to form Thread

External thread commissioner mobile app shows the available boarder router, when i try to connect to BR, in app bottom shows connection failed then prompt for thread admin password, after enter the same passphrase which is used to form the thread BR network it takes more than 10-15 sec to process and showing "Password is incorrect", "Connection failed". Any one  have this issue and need help to fix this issue

BR- Border Router

Thanks.

cabled

unread,
Aug 4, 2018, 9:13:00 AM8/4/18
to openthread-users
Have you tried the app troubleshooting steps at the bottom of this page:

Muthu

unread,
Aug 4, 2018, 11:19:36 AM8/4/18
to openthread-users
tried troubleshooting many time but still same problem exist

Yakun Xu

unread,
Aug 5, 2018, 9:35:14 AM8/5/18
to openthread-users
Hi Muthu,

Are you using latest openthread, wpantund and borderrouter? There were some changes being made recently, any part may cause incompatible issues if not up to date. Could you please pull the latest code and try again?

Muthu

unread,
Aug 5, 2018, 10:13:36 AM8/5/18
to openthread-users
Hi Yakun Xu,

Git commit status for borderrouter

git log -1
commit 5926d0c9271af771b251e7260f333df1fb146f2a
Author: Yakun Xu <x...@google.com>
Date:   Thu Aug 2 13:03:27 2018 -0400

Enhance MeshCoP test (#160)

Wpanctl version below

wpanctl -v
wpanctl 0.08.00d (/222a087; Aug  4 2018 06:06:13)

And for openthread, i used the Texas instrument latest sdk (simplelink_cc26x2_sdk_2_20_00_36) on cc26x2r1 lanchpad

I am using Raspberry Pi3 for BR as device. 
 
I followed the steps given in https://openthread.io/guides/border-router/build, Manual commission using the command on terminal working fine. But in mobile can't able to connect to the thread network.

   $ sudo wpanctl commissioner -e
   Commissioner command applied.
   $ sudo wpanctl commissioner -a J01NU5 000b57fffebe5874
   Joiner added.

Thanks

Yakun Xu

unread,
Aug 6, 2018, 5:53:26 AM8/6/18
to openthread-users
There were some incompatible issues with the old mobile app. Are you using the latest mobile app?

Muthu

unread,
Aug 6, 2018, 6:19:54 AM8/6/18
to openthre...@googlegroups.com
I installed the app from google play store on android version 7.0, recently 3 days back. Is there is any git source for app?. If have .apk or git source please send the link i will check and update.

Screenshot 



Thanks

Muthu

unread,
Aug 6, 2018, 7:56:19 AM8/6/18
to openthread-users
Hi yakun xu,

I download the RaspPi_OT_Border_Router_Demo_v1.0.0-1.alpha.img from Nordic semiconductor, now thread commissioner mobile app connected :-), I don't know exactly where the issue is, in mobile app or OTBR installation. I followed the steps given in openthread.io.

Nikhil Sarnaik

unread,
Jul 9, 2019, 4:57:13 AM7/9/19
to openthread-users
Hi Muthu,

I am seeing same issue with my OTBR. Did you managed to find what was missing?

Regards
Nik

Robert Cragie

unread,
Jul 12, 2019, 1:08:15 PM7/12/19
to openthread-users
I am having problems using the external commissioner app. (Android) as well.

I am using a RasPi 3 as OTBR with nRF52840 DK as NCP. I can commission OK using wpanctl but no luck with the external commissioner app.

The external commissioner app. gets the mDNS advertisement so can pick up the addresses - I pick 192.168.1.2. Using Wireshark on wlan0, I can see the ClientHello but there is no response. I also see in syslog that it says :

Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0000: 16 fe fd 00 00 00 00 00 00 00 07 01 98 01 00 01
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0010: 8c 00 00 00 00 00 00 01 8c fe fd 00 00 00 08 26
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0020: 2f ce d7 0d a8 8a d8 e7 50 91 63 7d ec 8e 79 6d
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0030: c0 d5 4b 5a d7 e7 92 43 f0 14 8b 00 00 00 06 c0
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0040: ff c0 a8 c0 37 01 00 01 5c 00 0a 00 04 00 02 00
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0050: 17 00 0b 00 02 01 00 01 00 01 4a 41 04 37 eb 85
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0060: 23 98 ca f0 4c 9b 95 46 65 d6 e6 e6 87 4e a5 dc
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0070: 93 a7 e1 20 09 93 84 2b 3b 90 41 dd ce e3 66 ef
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0080: d5 e5 c3 88 08 e5 0d 27 48 55 b9 99 94 bf 91 f7
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0090: c4 c9 0d 6a a8 84 fb 8b b8 ca c4 c5 e4 41 04 cf
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 00a0: c7 46 58 9e 4a 14 07 85 b3 bf 94 c7 26 9a d1 b1
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 00b0: 7a d2 59 fb e7 17 c2 76 ae 0b 0e 74 98 33 af 9e
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 00c0: e2 5d 02 0b 5b e9 79 be 4f 93 67 e2 71 32 2c e8
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 00d0: a1 00 6a ef 0e 41 f6 11 e7 bb 19 30 97 8e f8 20
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 00e0: a7 27 7d 05 3b ed ff 10 65 49 3a 46 24 bd 66 8c
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 00f0: e1 fe 48 43 52 95 7e 54 b4 de b1 af 88 04 ba bf
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0100: 41 04 88 22 f5 40 99 3e ff a9 3e 74 63 e7 29 9f
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0110: 19 43 7c 38 f1 54 95 29 72 17 a3 b2 9c 9a d6 1b
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0120: 25 6a 72 cd 99 1e b6 14 0b a9 d1 54 51 11 93 7e
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0130: 63 c9 30 07 c1 c5 df dd eb 9f 5c 15 0a 78 bd 0f
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0140: 24 e9 41 04 cf c7 46 58 9e 4a 14 07 85 b3 bf 94
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0150: c7 26 9a d1 b1 7a d2 59 fb e7 17 c2 76 ae 0b 0e
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0160: 74 98 33 af 9e e2 5d 02 0b 5b e9 79 be 4f 93 67
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0170: e2 71 32 2c e8 a1 00 6a ef 0e 41 f6 11 e7 bb 19
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0180: 30 97 8e f8 20 5e 1d b0 86 e6 d9 87 f8 e6 66 0c
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 0190: 9e 90 a1 b4 73 f1 36 3e 35 37 6e 93 70 25 4c fa
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 01a0: ea f2 d9 60 cc 98 4a 00 00 00 00 00 00 00 00 00
Jul 12 17:45:06 raspberrypi otbr-agent[573]: UdpForwardSend success: 01b0: 00 ff ff c0 a8 01 3d c0 27

at the point the ClientHello goes out and the data looks like a ClientHello. Using Segger RTT Client it also seems to appear and a response appears to go out:

[0000128177] [DEBG]-MESH-CP-: Dtls::HandleMbedtlsReceive
[0000128294] [DEBG]-MESH-CP-: Dtls::SetTimer
[0000128294] [DEBG]-MESH-CP-: Dtls::HandleMbedtlsTransmit
[0000128295] [DEBG]-MESH-CP-: Dtls::SetTimer
[0000128295] [DEBG]-MESH-CP-: Dtls::SetTimer
[0000128295] [DEBG]-MESH-CP-: Dtls::SetTimer

But I don't see any evidence of the MbedtlsTransmit going any further. Any idea what might be wrong?

Robert

Yakun Xu

unread,
Jul 14, 2019, 11:14:24 AM7/14/19
to openthread-users
Hi Nikhil and Robert,

Sorry for the late. I submitted a fix https://github.com/openthread/openthread, could you please try it?

Best Regards,
Yakun

Robert Cragie

unread,
Jul 15, 2019, 12:23:08 PM7/15/19
to openthread-users
I tried the latest (commit ID 6db6ad8) and it all seems to work now - thanks!

Robert

Jonathan Hui

unread,
Jul 15, 2019, 12:31:35 PM7/15/19
to Robert Cragie, openthread-users
Great to hear. Thanks for validating and reporting back!

--
Jonathan Hui

--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-use...@googlegroups.com.
To post to this group, send email to openthre...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/93ae91b6-b643-48ec-b58f-19f7eff8c192%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nikhil Sarnaik

unread,
Jul 16, 2019, 11:36:57 AM7/16/19
to openthread-users
Hi Yakun,

Thanks for the fix. The commissioner app now connects successfully to the ot-br for me as well now.

Regards
Nikhil
Reply all
Reply to author
Forward
0 new messages