Lines Matching refs:aResult
227 Error Mac::ConvertBeaconToActiveScanResult(const RxFrame *aBeaconFrame, ActiveScanResult &aResult) in ConvertBeaconToActiveScanResult() argument
237 ClearAllBytes(aResult); in ConvertBeaconToActiveScanResult()
244 aResult.mExtAddress = address.GetExtended(); in ConvertBeaconToActiveScanResult()
246 if (kErrorNone != aBeaconFrame->GetSrcPanId(aResult.mPanId)) in ConvertBeaconToActiveScanResult()
248 IgnoreError(aBeaconFrame->GetDstPanId(aResult.mPanId)); in ConvertBeaconToActiveScanResult()
251 aResult.mChannel = aBeaconFrame->GetChannel(); in ConvertBeaconToActiveScanResult()
252 aResult.mRssi = aBeaconFrame->GetRssi(); in ConvertBeaconToActiveScanResult()
253 aResult.mLqi = aBeaconFrame->GetLqi(); in ConvertBeaconToActiveScanResult()
263 aResult.mVersion = beaconPayload->GetProtocolVersion(); in ConvertBeaconToActiveScanResult()
264 aResult.mIsJoinable = beaconPayload->IsJoiningPermitted(); in ConvertBeaconToActiveScanResult()
265 aResult.mIsNative = beaconPayload->IsNative(); in ConvertBeaconToActiveScanResult()
266 IgnoreError(AsCoreType(&aResult.mNetworkName).Set(beaconPayload->GetNetworkName())); in ConvertBeaconToActiveScanResult()
267 VerifyOrExit(IsValidUtf8String(aResult.mNetworkName.m8), error = kErrorParse); in ConvertBeaconToActiveScanResult()
268 aResult.mExtendedPanId = beaconPayload->GetExtendedPanId(); in ConvertBeaconToActiveScanResult()