mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
758e647d91
This commit updates the APIs `otDatasetSendMgmtActiveGet` and `otDatasetSendMgmtPendingGet` to be similar to MgmtSet APIs and use an `otOperationalDatasetComponents` as input to specify the Dataset components to be requested. The implementation of APIs in `DatasetManager` and their use in in CLI is also updated. It also defines new spinel properties `MGMT_GET_ACTIVE_DATASET` and `THREAD_MGMT_GET_PENDING_DATASET` (with their set handlers) to add support for sending `MGMT_GET` meshcop command for Active/Pending Operational Dataset. It also renames the existing properties used for sending `MGMT_SET` (include `MGMT_SET` in the property name). It also adds a new property to allow an optional destination IPv6 address to be specified (for sending `MGMT_GET` command) as part of spinel dictionary representation of Dataset instance.