• Home
  • Raw
  • Download

Lines Matching +full:simulation +full:- +full:local +full:- +full:host

1 # OpenThread CLI - SRP (Service Registration Protocol)
10 ./output/simulation/bin/ot-cli-ftd 1
23 Mesh Local Prefix: fded:5114:8263:1fe1::/64
25 Network Name: OpenThread-f7af
54 ./output/simulation/bin/ot-cli-ftd 2
76 > srp client host name my-host
78 > srp client host address fded:5114:8263:1fe1:44f9:cc06:4a2d:534
80 > srp client service add my-service _ipps._tcp 12345
86 The last command enables the auto-start mode on the client which then monitors the network data to …
107 Check if the host and service has been successfully registered on the client node:
110 > srp client host
111 name:"my-host", state:Registered, addrs:[fded:5114:8263:1fe1:44f9:cc06:4a2d:534]
114 instance:"my-service", name:"_ipps._tcp", state:Registered, port:12345, priority:0, weight:0
118 Make sure it shows `state:Registered` for both host and service commands.
120 Check the host & service on the server node:
123 > srp server host
124 my-host.default.service.arpa.
129 my-service._ipps._tcp.default.service.arpa.
136 key-lease: 1209600
138 host: my-host.default.service.arpa.
143 Make sure it shows `deleted: false` for both host and service commands.
150 > srp client service remove my-service _ipps._tcp
158 my-service._ipps._tcp.default.service.arpa.
165 ### Remove the host and service names
167 A host and service, along with their names, can be removed through the client node:
170 > srp client host remove 1
174 Confirm on the server node that no host or service entries are listed:
177 > srp server host
186 - [SRP Client CLI Reference](README_SRP_CLIENT.md)
187 - [SRP Server CLI Reference](README_SRP_SERVER.md)