mirror of
https://github.com/espressif/openthread.git
synced 2026-08-14 14:47:46 +00:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user