Closed ZhangLe2016 closed 2 months ago
The mesh-local prefix can already be retrieved with the GetActiveDataset()
API, right?
The mesh-local prefix can already be retrieved with the
GetActiveDataset()
API, right?
do you mean there is no need to provide a dedicated API for the mesh-local prefix?
Discussed with @wgtdkp, the mesh local prefix could be obtained by GetActiveDataset()
from the app layer, so lets close this PR.
The primary purpose of providing this API is to enable external apps to generate the mesh local address(pefix + rloc) of a Thread device, which serves as the destination address for external commissioner to send UDP proxy commands.
Tested with CLI command: