Home
last modified time | relevance | path

Searched refs:aRawPowerSetting (Results 1 – 13 of 13) sorted by relevance

/openthread-3.7.0/src/core/utils/
Dpower_calibration.cpp53 const uint8_t *aRawPowerSetting, in Init() argument
56 AssertPointerIsNotNull(aRawPowerSetting); in Init()
61 memcpy(mSettings, aRawPowerSetting, aRawPowerSettingLength); in Init()
64 Error PowerCalibration::CalibratedPowerEntry::GetRawPowerSetting(uint8_t *aRawPowerSetting, in GetRawPowerSetting() argument
69 AssertPointerIsNotNull(aRawPowerSetting); in GetRawPowerSetting()
73 memcpy(aRawPowerSetting, mSettings, mLength); in GetRawPowerSetting()
82 const uint8_t *aRawPowerSetting, in AddCalibratedPower() argument
89 AssertPointerIsNotNull(aRawPowerSetting); in AddCalibratedPower()
97 entry.Init(aActualPower, aRawPowerSetting, aRawPowerSettingLength); in AddCalibratedPower()
138 uint8_t *aRawPowerSetting, in GetPowerSettings() argument
[all …]
Dpower_calibration.hpp80 const uint8_t *aRawPowerSetting,
125 uint8_t *aRawPowerSetting,
140 …void Init(int16_t aActualPower, const uint8_t *aRawPowerSetting, uint16_t aRawPowerSettingLengt…
141 Error GetRawPowerSetting(uint8_t *aRawPowerSetting, uint16_t *aRawPowerSettingLength);
/openthread-3.7.0/examples/platforms/simulation/
Ddiag.c123 const uint8_t *aRawPowerSetting, in otPlatDiagRadioSetRawPowerSetting() argument
129 …otEXPECT_ACTION((aRawPowerSetting != NULL) && (aRawPowerSettingLength <= sizeof(sRawPowerSetting)), in otPlatDiagRadioSetRawPowerSetting()
131 memcpy(sRawPowerSetting, aRawPowerSetting, aRawPowerSettingLength); in otPlatDiagRadioSetRawPowerSetting()
139 uint8_t *aRawPowerSetting, in otPlatDiagRadioGetRawPowerSetting() argument
145 …otEXPECT_ACTION((aRawPowerSetting != NULL) && (aRawPowerSettingLength != NULL), error = OT_ERROR_I… in otPlatDiagRadioGetRawPowerSetting()
149 memcpy(aRawPowerSetting, sRawPowerSetting, sRawPowerSettingLength); in otPlatDiagRadioGetRawPowerSetting()
/openthread-3.7.0/include/openthread/platform/
Ddiag.h216 const uint8_t *aRawPowerSetting,
235 uint8_t *aRawPowerSetting,
298 uint8_t *aRawPowerSetting,
Dradio.h1322 const uint8_t *aRawPowerSetting,
1384 uint8_t *aRawPowerSetting,
/openthread-3.7.0/src/posix/platform/
Dpower.hpp168 otError Set(const char *aRawPowerSetting);
271 …void SetRawPowerSetting(const RawPowerSetting &aRawPowerSetting) { mRawPowerSetting = aRawPowerSet… in SetRawPowerSetting() argument
Dradio.cpp633 uint8_t *aRawPowerSetting, in otPlatDiagRadioGetPowerSettings() argument
648 … assert((aTargetPower != nullptr) && (aActualPower != nullptr) && (aRawPowerSetting != nullptr) && in otPlatDiagRadioGetPowerSettings()
657 …tils::CmdLineParser::ParseAsHexString(rawPowerSetting, *aRawPowerSettingLength, aRawPowerSetting)); in otPlatDiagRadioGetPowerSettings()
666 const uint8_t *aRawPowerSetting, in otPlatDiagRadioSetRawPowerSetting() argument
675 assert(aRawPowerSetting != nullptr); in otPlatDiagRadioSetRawPowerSetting()
681 … += snprintf(cmd + nbytes, sizeof(cmd) - static_cast<size_t>(nbytes), "%02x", aRawPowerSetting[i]); in otPlatDiagRadioSetRawPowerSetting()
692 uint8_t *aRawPowerSetting, in otPlatDiagRadioGetRawPowerSetting() argument
701 assert((aRawPowerSetting != nullptr) && (aRawPowerSettingLength != nullptr)); in otPlatDiagRadioGetRawPowerSetting()
706 …rror = ot::Utils::CmdLineParser::ParseAsHexString(str, *aRawPowerSettingLength, aRawPowerSetting)); in otPlatDiagRadioGetRawPowerSetting()
871 const uint8_t *aRawPowerSetting, in otPlatRadioAddCalibratedPower() argument
[all …]
Dpower.cpp77 otError RawPowerSetting::Set(const char *aRawPowerSetting) in Set() argument
82 …SuccessOrExit(error = ot::Utils::CmdLineParser::ParseAsHexString(aRawPowerSetting, length, mData)); in Set()
/openthread-3.7.0/src/core/diags/
Dfactory_diags.cpp671 Error Diags::GetRawPowerSetting(RawPowerSetting &aRawPowerSetting) in GetRawPowerSetting() argument
673 aRawPowerSetting.mLength = RawPowerSetting::kMaxDataSize; in GetRawPowerSetting()
674 …eturn otPlatDiagRadioGetRawPowerSetting(&GetInstance(), aRawPowerSetting.mData, &aRawPowerSetting.… in GetRawPowerSetting()
928 const uint8_t *aRawPowerSetting, in otPlatDiagRadioSetRawPowerSetting() argument
932 OT_UNUSED_VARIABLE(aRawPowerSetting); in otPlatDiagRadioSetRawPowerSetting()
939 uint8_t *aRawPowerSetting, in otPlatDiagRadioGetRawPowerSetting() argument
943 OT_UNUSED_VARIABLE(aRawPowerSetting); in otPlatDiagRadioGetRawPowerSetting()
977 uint8_t *aRawPowerSetting, in otPlatDiagRadioGetPowerSettings() argument
984 OT_UNUSED_VARIABLE(aRawPowerSetting); in otPlatDiagRadioGetPowerSettings()
Dfactory_diags.hpp200 Error GetRawPowerSetting(RawPowerSetting &aRawPowerSetting);
/openthread-3.7.0/src/lib/spinel/
Dradio_spinel.hpp973 const uint8_t *aRawPowerSetting,
Dradio_spinel.cpp2284 const uint8_t *aRawPowerSetting, in AddCalibratedPower() argument
2289 assert(aRawPowerSetting != nullptr); in AddCalibratedPower()
2292 … aChannel, aActualPower, aRawPowerSetting, aRawPowerSettingLength)); in AddCalibratedPower()
/openthread-3.7.0/tests/unit/
Dtest_platform.cpp709 const uint8_t *aRawPowerSetting, in otPlatRadioAddCalibratedPower() argument