$ cd <openthread-master> $ ./bootstrap $ make -f examples/Makefile-nrf52840
$ nrfjprog -f nrf52 --chiperase --program output/nrf52840/bin/arm-none-eabi-ot-cli-ftd.hex $ nrfjprog -f nrf52 -r
Initializing NCP ,Opening wpantund .
$ sudo /usr/local/sbin/wpantund -o NCPSocketNme /dev/ttyACM1 -o WPANInterfaceName wpan1
similarly i flashed the CLI application and using a serial application (putty) i'm configuring CLI.
So what could be the reason that i'm unable to ping with cli node from Linux terminal.
Thanks and Regards
R Madhu.
route -A inet6 add ::/0 wpan0
This message contains confidential information and is intended only for the individual(s) named. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this mail and attached file/s is strictly prohibited. Please notify the sender immediately and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.
--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to openthread-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/47a9de4c-eda2-4c17-b286-1cf58858b873%40googlegroups.com.
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.
route -A inet6 add ::/0 wpan0
$ cd <openthread-master> $ ./bootstrap $ make -f examples/Makefile-nrf52840
$ cd output/nrf52840/bin
$ arm-none-eabi-objcopy -O ihex arm-none-eabi-ot-cli-ftd arm-none-eabi-ot-cli-ftd.hex
$ arm-none-eabi-objcopy -O ihex arm-none-eabi-ot-ncp-ftd arm-none-eabi-ot-ncp-ftd.hex
on board 1 cli
$ nrfjprog -f nrf52 --chiperase --program output/nrf52840/bin/arm-none-eabi-ot-cli-ftd.hex $ nrfjprog -f nrf52 -r
on board 2 ncp
$ nrfjprog -f nrf52 --chiperase --program output/nrf52840/bin/arm-none-eabi-ot-ncp-ftd.hex
$ nrfjprog -f nrf52 -r
Through serial console i configured cli Node,
>panid 0x1234
>ifconfig up
>thread state
>state
leader.
Initializing NCP ,Opening wpantund .
$ sudo /usr/local/sbin/wpantund -o NCPSocketNme /dev/ttyACM0 -o WPANInterfaceName wpan0--------
In another terminal opening wpanctl
$ sudo wpanctl -I wpan0
wpanctl:wpan0>status
wpan0 => [
"NCP:State" => "offline".
.
.
wpanctl:wpan0> scan
| Joinable | NetworkName | PAN ID | Ch | XPanID | HWAddr | RSSI
---+----------+--------------------+--------+----+------------------+------------------+------
1 | NO | "OpenThread" | 0x1234 | 11 | DEAD00BEEF00CAFE | 264E90B129D304AE | -44
wpanctl:wpan0> join 1
Joining "OpenThread" DEAD00BEEF00CAFE as node type "end-device"
Successfully Joined!
wpanctl:wpan0>status
wpan0 => [
"NCP:State" => "associated"
"Daemon:Enabled" => true
"NCP:Version" => "OPENTHREAD/0.01.00; NRF52840; Mar 27 2017 10:06:23"
"Daemon:Version" => "0.07.00 (/f911961-dirty; Mar 3 2017 15:15:18)"
"Config:NCP:DriverName" => "spinel"
"NCP:HardwareAddress" => [B8DD443A6E973DEB]
"NCP:Channel" => 11
"Network:NodeType" => "end-device"
"Network:Name" => "OpenThread"
"Network:XPANID" => 0xDEAD00BEEF00CAFE
"Network:PANID" => 0x1234
"IPv6:LinkLocalAddress" => "fe80::f4df:5d2c:c9e1:b755"
"IPv6:MeshLocalAddress" => "fdde:ad00:beef:0:9a01:a0d9:9da2:553b"
"IPv6:MeshLocalPrefix" => "fdde:ad00:beef::/64"
"com.nestlabs.internal:Network:AllowingJoin" => false
]
from Linux terminal pinging to above ipv6 address is successfull
$ping6 fdde:ad00:beef:0:9a01:a0d9:9da2:553b -c 2
PING fdde:ad00:beef:0:9a01:a0d9:9da2:553b(fdde:ad00:beef:0:9a01:a0d9:9da2:553b) 56 data bytes
64 bytes from fdde:ad00:beef:0:9a01:a0d9:9da2:553b: icmp_seq=1 ttl=64 time=0.017 ms
64 bytes from fdde:ad00:beef:0:9a01:a0d9:9da2:553b: icmp_seq=2 ttl=64 time=0.048 ms
--- fdde:ad00:beef:0:9a01:a0d9:9da2:553b ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.017/0.032/0.048/0.016 ms
on cli
>ipaddr
fdde:ad00:beef:0:0:ff:fe00:fc00
fdde:ad00:beef:0:0:ff:fe00:400
fdde:ad00:beef:0:c4fe:4e74:4d8a:5c4d
fe80:0:0:0:244e:90b1:29d3:4ae
from linux terminal pinging to any of the above address is not working.
$ping6 fdde:ad00:beef:0:c4fe:4e74:4d8a:5c4d -c 2
PING fdde:ad00:beef:0:c4fe:4e74:4d8a:5c4d(fdde:ad00:beef:0:c4fe:4e74:4d8a:5c4d) 56 data bytes
--- fdde:ad00:beef:0:c4fe:4e74:4d8a:5c4d ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1007ms
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-users+unsubscribe@googlegroups.com.
To post to this group, send email to openthread-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/c972639d-2015-4f44-b4e5-a0a70198a346%40googlegroups.com.
This message contains confidential information and is intended only for the individual(s) named. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this mail and attached file/s is strictly prohibited. Please notify the sender immediately and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.
--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/e5b9ea0a-d7f2-43aa-85e9-26e6a3a2e74d%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to openthread-users+unsubscribe@googlegroups.com.
To post to this group, send email to openthread-users@googlegroups.com.
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.