Releases: ryanjh/qthread
Release-v1.1
pc@pc-Latitude-E7450:~/Desktop$ ./qt_console
Hello Qt_console!
[1] [INFO]-API-----: otInstance Initialized
sInstance = 0x794760
ENV OT_ADDRESS: "172.16.10.255"
otLinkSetPanId (0)
panid = 0x1234
otIp6SetEnabled (0)
ifconfig up
otThreadSetEnabled (0)
waiting thread network ...
switch detached
"OT_DEVICE_ROLE_LEADER"
Device RLOC 0xbc00
"fdde:ad00:beef:0:0:ff:fe00:fc00"
"fdde:ad00:beef:0:0:ff:fe00:bc00"
"fdde:ad00:beef:0:2185:fcb6:f333:9f61"
"fe80:0:0:0:bc6d:5bb3:8d5b:2cd9"
switch leader, rloc16 = 0xbc00
=================================================================
ryanpi2@ryanpi2-desktop:~$ ./qt_console 1 2
Hello Qt_console!
[2] [INFO]-API-----: otInstance Initialized
sInstance = 0x1dec080
ENV OT_ADDRESS: "172.16.10.255"
otLinkSetPanId (0)
panid = 0x1234
otIp6SetEnabled (0)
ifconfig up
otThreadSetEnabled (0)
waiting thread network ...
switch detached
switch child, rloc16 = 0xbc01
"OT_DEVICE_ROLE_CHILD"
Device RLOC 0xbc01
"fdde:ad00:beef:0:0:ff:fe00:bc01"
"fdde:ad00:beef:0:4b6f:effd:4cf:2dcf"
"fe80:0:0:0:4c0f:40dc:f3e7:c982"
switch router, rloc16 = 0x1000
Release-v1.0
$ ./build/qt_console/qt_console 2 1 2
Hello Qt_console!
[1] [INFO]-API-----: otInstance Initialized
sInstance = 0x1628be0
ENV OT_ADDRESS: "172.17.255.255"
otLinkSetPanId (0)
panid = 0x1234
otIp6SetEnabled (0)
ifconfig up
otThreadSetEnabled (0)
waiting thread network ...
switch detached
switch leader, rloc16 = 0x9c00
[2] [INFO]-API-----: otInstance Initialized
sInstance = 0x162e4d0
ENV OT_ADDRESS: "172.17.255.255"
otLinkSetPanId (0)
panid = 0x1234
otIp6SetEnabled (0)
ifconfig up
otThreadSetEnabled (0)
waiting thread network ...
switch detached
switch child, rloc16 = 0x9c01
"OT_DEVICE_ROLE_LEADER"
Device RLOC 0x9c00
"fdde:ad00:beef:0:0:ff:fe00:fc00"
"fdde:ad00:beef:0:0:ff:fe00:9c00"
"fdde:ad00:beef:0:13f8:f90e:aea8:ad68"
"fe80:0:0:0:30c9:5746:d981:61ee"
"OT_DEVICE_ROLE_CHILD"
Device RLOC 0x9c01
"fdde:ad00:beef:0:0:ff:fe00:9c01"
"fdde:ad00:beef:0:6527:b516:21e2:677f"
"fe80:0:0:0:b017:e63f:3a40:e49b"
"[PING_REQ] 8 bytes from fdde:ad00:beef:0:0:ff:fe00:9c00 : icmp_seq=1 hlim=64 time=3227ms"
"[PING_REP] 8 bytes from fdde:ad00:beef:0:6527:b516:21e2:677f : icmp_seq=1 hlim=64 time=3227ms"
switch router, rloc16 = 0xf800