Home
last modified time | relevance | path

Searched refs:mServiceData (Results 1 – 7 of 7) sorted by relevance

/openthread-3.5.0/src/core/thread/
Dnetwork_data_types.cpp240 (memcmp(mServiceData, aOther.mServiceData, mServiceDataLength) == 0) && in operator ==()
254 serviceData.CopyBytesTo(mServiceData); in SetFrom()
Dnetwork_data_types.hpp365 …void GetServiceData(ServiceData &aServiceData) const { aServiceData.Init(mServiceData, mServiceDat… in GetServiceData()
/openthread-3.5.0/src/core/api/
Dserver_api.cpp56 serviceData.Init(&aConfig->mServiceData[0], aConfig->mServiceDataLength); in otServerAddService()
/openthread-3.5.0/include/openthread/
Dnetdata.h135 uint8_t mServiceData[OT_SERVICE_DATA_MAX_SIZE]; ///< Service data bytes. member
/openthread-3.5.0/src/cli/
Dcli_network_data.cpp164 OutputBytes(aConfig.mServiceData, aConfig.mServiceDataLength); in OutputService()
Dcli.cpp4892 length = sizeof(cfg.mServiceData); in Process()
4893 SuccessOrExit(error = aArgs[2].ParseAsHexString(length, cfg.mServiceData)); in Process()
4955 error = otServerRemoveService(GetInstancePtr(), cfg.mEnterpriseNumber, cfg.mServiceData, in Process()
/openthread-3.5.0/src/ncp/
Dncp_base_mtd.cpp1106 VerifyOrExit((dataLen <= sizeof(cfg.mServiceData)), error = OT_ERROR_INVALID_ARGS); in HandlePropertyInsert()
1107 memcpy(cfg.mServiceData, data, dataLen); in HandlePropertyInsert()
1109 …static_assert((sizeof(cfg.mServiceData) <= UINT8_MAX), "Cannot handle full range of buffer length"… in HandlePropertyInsert()
1159 SuccessOrExit(error = mEncoder.WriteDataWithLen(cfg.mServiceData, cfg.mServiceDataLength)); in HandlePropertyGet()
1184 SuccessOrExit(error = mEncoder.WriteDataWithLen(cfg.mServiceData, cfg.mServiceDataLength)); in HandlePropertyGet()