Hi Developers,
The environment is:
OpenThread end device: RPi 4B with Ubuntu LTS 20.04 joined the OpenThread network as child
OTBR device: ARM64 based SoC running compatible posix Linux
The OpenThread end device can join the network formed by the OTBR. ping6 works between the OTBR and end device via IPV6.
But when I try to setup the SRP in the client end, found its status always the "ToAdd" and not the "Registered".
The instruction to enable SRP service of the SRP client are as below:
> dataset set active 0e080000000000010000000300000f35060004001fffe0020811111111222222220708fdd40f8e526c8ed8051000112233445566778899aabbccddeeff030e4f70656e54687265616444656
d6f01021234041061e1206d2c2b46e079eb775f41fc72190c0302a0ff
Done
> ifconfig up
Done
> thread start
Done
> state
detached
Done
> state
child
Done
> srp client autostart enable
Done
> srp client host name ot-host
Done
> ipaddr
fdd4:f8e:526c:8ed8:0:ff:fe00:f800
fd11:22:0:0:c3bb:8443:3bea:5980
fdd4:f8e:526c:8ed8:d15e:ef6f:e224:f139
fe80:0:0:0:e0af:aff2:f310:b27b
Done
> srp client host address fd11:22:0:0:c3bb:8443:3bea:5980
Done
> srp client service add ot-service _ipps._tcp 12345
Done
> srp client service
instance:"ot-service", name:"_ipps._tcp", state:ToAdd, port:12345, priority:0, weight:0
Done
> srp client service
instance:"ot-service", name:"_ipps._tcp", state:ToAdd, port:12345, priority:0, weight:0
Done
> netdata show
Prefixes:
fd11:22:0:0::/64 paros med ec00
Routes:
Services:
Done
In the OTBR, I run ot-ctl command, but not found any SRP command like "SRP server". I think the reason why the client service registered pending is because that no SRP server running.
Try to build OTBR with "$./scripts/cmake-build -DOT_SRP_SERVER=ON", it will report the build error due the default CMake config of the OTBR will mark OT_SRP_SERVER:OFF.
To play the OTBR codelab, is there anything I missed?
Very appreciate for you!