mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
2cf0bdae62
This commit introduces support for configuring and retrieving a vendor OUI-24 (Organizationally Unique Identifier). It defines the new `OPENTHREAD_CONFIG_NET_DIAG_VENDOR_OUI` configuration option and adds the `otThreadGetVendorOui()` and `otThreadSetVendorOui()` APIs. When specified, the vendor OUI is included in the `BorderAgent` mDNS/DNS-SD TXT data under the `vo` key. The `VendorInfo` class is updated to manage the OUI value. This commit also adds the `vendor oui` CLI command to get or set this property. Finally, it updates the tests to validate the presence and correctness of the new `vo` key in the TXT data.