[srp] update config for auto-start mode to be enabled by default (#9738)

Config `OPENTHREAD_CONFIG_SRP_CLIENT_AUTO_START_DEFAULT_MODE` is
changed to use `1` by default (unless explicitly overridden in
project configs).

It also updates related test scripts to utilize auto-start mode or
explicitly disable it for manual SRP client control, reflecting this
default change.
This commit is contained in:
Abtin Keshavarzian
2024-01-10 10:37:03 -08:00
committed by GitHub
parent 36133b93c2
commit b28bb1d1e0
16 changed files with 27 additions and 39 deletions
-4
View File
@@ -237,10 +237,6 @@ class TestDnssd(thread_cert.TestCase):
weight,
addrs,
subtypes=''):
client.netdata_show()
srp_server_port = client.get_srp_server_port()
client.srp_client_start(server.get_mleid(), srp_server_port)
client.srp_client_set_host_name(hostname)
client.srp_client_set_host_address(*addrs)
client.srp_client_add_service(instancename, SERVICE + subtypes, port, priority, weight)