Function otBorderAgentGetMeshCoPServiceTxtData

Source
pub unsafe extern "C" fn otBorderAgentGetMeshCoPServiceTxtData(
    aInstance: *mut otInstance,
    aTxtData: *mut otBorderAgentMeshCoPServiceTxtData,
) -> otError
Expand description

Gets the MeshCoP service TXT data.

@param[in] aInstance A pointer to an OpenThread instance. @param[out] aTxtData A pointer to a MeshCoP Service TXT data struct to get the data.

@retval OT_ERROR_NONE If successfully retrieved the Border Agent MeshCoP Service TXT data. @retval OT_ERROR_NO_BUFS If the buffer in @p aTxtData doesn’t have enough size.