Lines Matching refs:mDecoder
267 SuccessOrExit(error = mDecoder.ReadUint32(cslPeriod)); in HandlePropertySet()
285 SuccessOrExit(error = mDecoder.ReadUint32(cslTimeout)); in HandlePropertySet()
303 SuccessOrExit(error = mDecoder.ReadUint8(cslChannel)); in HandlePropertySet()
326 SuccessOrExit(error = mDecoder.OpenStruct()); in HandlePropertySet()
328 while (mDecoder.GetRemainingLengthInStruct()) in HandlePropertySet()
331 SuccessOrExit(error = mDecoder.ReadIp6Address(addresses[addressesCount])); in HandlePropertySet()
335 SuccessOrExit(error = mDecoder.CloseStruct()); in HandlePropertySet()
337 while (mDecoder.GetRemainingLengthInStruct()) in HandlePropertySet()
341 SuccessOrExit(error = mDecoder.OpenStruct()); in HandlePropertySet()
343 SuccessOrExit(error = mDecoder.ReadUint8(paramId)); in HandlePropertySet()
348 SuccessOrExit(error = mDecoder.ReadUint32(timeout)); in HandlePropertySet()
356 SuccessOrExit(error = mDecoder.CloseStruct()); in HandlePropertySet()
433 SuccessOrExit(error = mDecoder.ReadUint32(pollPeriod)); in HandlePropertySet()
456 SuccessOrExit(error = mDecoder.ReadUint8(maxFrameRetriesDirect)); in HandlePropertySet()
495 SuccessOrExit(error = mDecoder.ReadBool(enabled)); in HandlePropertySet()
513 SuccessOrExit(error = mDecoder.ReadBool(enabled)); in HandlePropertySet()
567 SuccessOrExit(error = mDecoder.ReadUintPacked(role)); in HandlePropertySet()
604 SuccessOrExit(error = mDecoder.ReadUtf8(string)); in HandlePropertySet()
623 SuccessOrExit(error = mDecoder.ReadData(ptr, len)); in HandlePropertySet()
648 SuccessOrExit(error = mDecoder.ReadData(ptr, len)); in HandlePropertySet()
668 SuccessOrExit(error = mDecoder.ReadUint32(keySeqCounter)); in HandlePropertySet()
691 SuccessOrExit(error = mDecoder.ReadUint32(keyGuardTime)); in HandlePropertySet()
889 while (mDecoder.GetRemainingLengthInStruct() >= sizeof(uint16_t)) in HandlePropertySet()
893 SuccessOrExit(error = mDecoder.ReadUint16(port)); in HandlePropertySet()
924 SuccessOrExit(error = mDecoder.ReadBool(value)); in HandlePropertySet()
1005 SuccessOrExit(error = mDecoder.ReadIp6Address(borderRouterConfig.mPrefix.mPrefix)); in HandlePropertyInsert()
1006 SuccessOrExit(error = mDecoder.ReadUint8(prefixLength)); in HandlePropertyInsert()
1007 SuccessOrExit(error = mDecoder.ReadBool(stable)); in HandlePropertyInsert()
1008 SuccessOrExit(error = mDecoder.ReadUint8(flags)); in HandlePropertyInsert()
1023 …if ((mDecoder.ReadBool(isLocal) == OT_ERROR_NONE) && (mDecoder.ReadUint16(rloc16) == OT_ERROR_NONE… in HandlePropertyInsert()
1024 (mDecoder.ReadUint8(flagsExtended) == OT_ERROR_NONE)) in HandlePropertyInsert()
1046 SuccessOrExit(error = mDecoder.ReadIp6Address(ip6Prefix.mPrefix)); in HandlePropertyRemove()
1047 SuccessOrExit(error = mDecoder.ReadUint8(prefixLength)); in HandlePropertyRemove()
1079 SuccessOrExit(error = mDecoder.ReadBool(value)); in HandlePropertySet()
1106 SuccessOrExit(error = mDecoder.ReadUint32(cfg.mEnterpriseNumber)); in HandlePropertyInsert()
1107 SuccessOrExit(error = mDecoder.ReadDataWithLen(data, dataLen)); in HandlePropertyInsert()
1115 SuccessOrExit(error = mDecoder.ReadBool(stable)); in HandlePropertyInsert()
1117 SuccessOrExit(error = mDecoder.ReadDataWithLen(data, dataLen)); in HandlePropertyInsert()
1140 SuccessOrExit(error = mDecoder.ReadUint32(enterpriseNumber)); in HandlePropertyRemove()
1141 SuccessOrExit(error = mDecoder.ReadDataWithLen(serviceData, serviceDataLength)); in HandlePropertyRemove()
1206 return mDecoder.ReadBool(mDiscoveryScanJoinerFlag); in HandlePropertySet()
1216 return mDecoder.ReadBool(mDiscoveryScanEnableFiltering); in HandlePropertySet()
1226 return mDecoder.ReadUint16(mDiscoveryScanPanId); in HandlePropertySet()
1420 while (!mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1424 SuccessOrExit(error = mDecoder.OpenStruct()); in DecodeOperationalDataset()
1425 SuccessOrExit(error = mDecoder.ReadUintPacked(propKey)); in DecodeOperationalDataset()
1431 if (!aAllowEmptyValues || !mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1433 SuccessOrExit(error = mDecoder.ReadUint64(aDataset.mActiveTimestamp.mSeconds)); in DecodeOperationalDataset()
1443 if (!aAllowEmptyValues || !mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1445 SuccessOrExit(error = mDecoder.ReadUint64(aDataset.mPendingTimestamp.mSeconds)); in DecodeOperationalDataset()
1455 if (!aAllowEmptyValues || !mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1460 SuccessOrExit(error = mDecoder.ReadData(key, len)); in DecodeOperationalDataset()
1470 if (!aAllowEmptyValues || !mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1475 SuccessOrExit(error = mDecoder.ReadUtf8(name)); in DecodeOperationalDataset()
1486 if (!aAllowEmptyValues || !mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1491 SuccessOrExit(error = mDecoder.ReadData(xpanid, len)); in DecodeOperationalDataset()
1501 if (!aAllowEmptyValues || !mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1506 SuccessOrExit(error = mDecoder.ReadIp6Address(addr)); in DecodeOperationalDataset()
1507 SuccessOrExit(error = mDecoder.ReadUint8(prefixLen)); in DecodeOperationalDataset()
1517 if (!aAllowEmptyValues || !mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1519 SuccessOrExit(error = mDecoder.ReadUint32(aDataset.mDelay)); in DecodeOperationalDataset()
1527 if (!aAllowEmptyValues || !mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1529 SuccessOrExit(error = mDecoder.ReadUint16(aDataset.mPanId)); in DecodeOperationalDataset()
1537 if (!aAllowEmptyValues || !mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1541 SuccessOrExit(error = mDecoder.ReadUint8(channel)); in DecodeOperationalDataset()
1550 if (!aAllowEmptyValues || !mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1555 SuccessOrExit(error = mDecoder.ReadData(psk, len)); in DecodeOperationalDataset()
1565 if (!aAllowEmptyValues || !mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1570 SuccessOrExit(error = mDecoder.ReadUint16(aDataset.mSecurityPolicy.mRotationTime)); in DecodeOperationalDataset()
1571 SuccessOrExit(error = mDecoder.ReadUint8(flags[0])); in DecodeOperationalDataset()
1572 … if (otThreadGetVersion() >= OT_THREAD_VERSION_1_2 && mDecoder.GetRemainingLengthInStruct() > 0) in DecodeOperationalDataset()
1574 SuccessOrExit(error = mDecoder.ReadUint8(flags[1])); in DecodeOperationalDataset()
1585 if (!aAllowEmptyValues || !mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1591 while (!mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1593 SuccessOrExit(error = mDecoder.ReadUint8(channel)); in DecodeOperationalDataset()
1604 if (!aAllowEmptyValues || !mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1609 SuccessOrExit(error = mDecoder.ReadData(tlvs, len)); in DecodeOperationalDataset()
1627 if (!aAllowEmptyValues || !mDecoder.IsAllReadInStruct()) in DecodeOperationalDataset()
1631 SuccessOrExit(error = mDecoder.ReadIp6Address(addr)); in DecodeOperationalDataset()
1645 SuccessOrExit(error = mDecoder.CloseStruct()); in DecodeOperationalDataset()
1683 SuccessOrExit(error = mDecoder.ReadData(tlvs, len)); in HandlePropertySet()
1700 SuccessOrExit(error = mDecoder.ReadData(tlvs, len)); in HandlePropertySet()
1766 SuccessOrExit(error = mDecoder.ReadData(data, len)); in HandlePropertySet()
1846 SuccessOrExit(error = mDecoder.ReadBool(action)); in HandlePropertySet()
1854 SuccessOrExit(error = mDecoder.ReadUtf8(psk)); in HandlePropertySet()
1858 if (!mDecoder.IsAllReadInStruct()) in HandlePropertySet()
1860 SuccessOrExit(error = mDecoder.ReadUtf8(provisioningUrl)); in HandlePropertySet()
1863 if (!mDecoder.IsAllReadInStruct()) in HandlePropertySet()
1865 SuccessOrExit(error = mDecoder.ReadUtf8(vendorName)); in HandlePropertySet()
1868 if (!mDecoder.IsAllReadInStruct()) in HandlePropertySet()
1870 SuccessOrExit(error = mDecoder.ReadUtf8(vendorModel)); in HandlePropertySet()
1873 if (!mDecoder.IsAllReadInStruct()) in HandlePropertySet()
1875 SuccessOrExit(error = mDecoder.ReadUtf8(vendorSwVersion)); in HandlePropertySet()
1878 if (!mDecoder.IsAllReadInStruct()) in HandlePropertySet()
1880 SuccessOrExit(error = mDecoder.ReadUtf8(vendorData)); in HandlePropertySet()
1932 SuccessOrExit(error = mDecoder.ReadUint8(discerner.mLength)); in HandlePropertySet()
1941 SuccessOrExit(error = mDecoder.ReadUint64(discerner.mValue)); in HandlePropertySet()
1976 SuccessOrExit(error = mDecoder.ReadIp6Address(meshLocalPrefix)); in HandlePropertySet()
1977 SuccessOrExit(error = mDecoder.ReadUint8(prefixLength)); in HandlePropertySet()
2037 SuccessOrExit(error = mDecoder.ReadIp6Address(netifAddr.mAddress)); in HandlePropertyInsert()
2038 SuccessOrExit(error = mDecoder.ReadUint8(netifAddr.mPrefixLength)); in HandlePropertyInsert()
2039 SuccessOrExit(error = mDecoder.ReadUint32(preferredLifetime)); in HandlePropertyInsert()
2040 SuccessOrExit(error = mDecoder.ReadUint32(validLifetime)); in HandlePropertyInsert()
2057 SuccessOrExit(error = mDecoder.ReadIp6Address(addrPtr)); in HandlePropertyRemove()
2087 SuccessOrExit(error = mDecoder.ReadBool(enabled)); in HandlePropertySet()
2116 SuccessOrExit(error = mDecoder.ReadIp6Address(addrPtr)); in HandlePropertyInsert()
2134 SuccessOrExit(error = mDecoder.ReadIp6Address(addrPtr)); in HandlePropertyRemove()
2181 SuccessOrExit(error = mDecoder.ReadUint8(spinelMode)); in HandlePropertySet()
2219 SuccessOrExit(error = mDecoder.ReadBool(enabled)); in HandlePropertySet()
2308 SuccessOrExit(error = mDecoder.ReadIp6Address(routeConfig.mPrefix.mPrefix)); in HandlePropertyInsert()
2309 SuccessOrExit(error = mDecoder.ReadUint8(prefixLength)); in HandlePropertyInsert()
2310 SuccessOrExit(error = mDecoder.ReadBool(stable)); in HandlePropertyInsert()
2311 SuccessOrExit(error = mDecoder.ReadUint8(flags)); in HandlePropertyInsert()
2334 SuccessOrExit(error = mDecoder.ReadIp6Address(ip6Prefix.mPrefix)); in HandlePropertyRemove()
2335 SuccessOrExit(error = mDecoder.ReadUint8(prefixLength)); in HandlePropertyRemove()
2361 SuccessOrExit(error = mDecoder.ReadDataWithLen(framePtr, frameLen)); in HandlePropertySet()
2362 SuccessOrExit(error = mDecoder.ReadData(metaPtr, metaLen)); in HandlePropertySet()
2425 SuccessOrExit(error = mDecoder.ReadBool(enabled)); in HandlePropertySet()
2445 SuccessOrExit(error = mDecoder.ReadInt8(threshold)); in HandlePropertySet()
2458 SuccessOrExit(error = mDecoder.ReadUint8(window)); in HandlePropertySet()
2471 SuccessOrExit(error = mDecoder.ReadUint8(busy)); in HandlePropertySet()
2504 SuccessOrExit(error = mDecoder.ReadUint16(timeout)); in HandlePropertySet()
3054 while (mDecoder.GetRemainingLengthInStruct() > 0) in HandlePropertySet()
3059 SuccessOrExit(error = mDecoder.OpenStruct()); in HandlePropertySet()
3060 SuccessOrExit(error = mDecoder.ReadEui64(extAddress)); in HandlePropertySet()
3062 if (!mDecoder.IsAllReadInStruct()) in HandlePropertySet()
3064 SuccessOrExit(error = mDecoder.ReadInt8(rss)); in HandlePropertySet()
3071 SuccessOrExit(error = mDecoder.CloseStruct()); in HandlePropertySet()
3108 SuccessOrExit(error = mDecoder.ReadBool(enabled)); in HandlePropertySet()
3128 while (mDecoder.GetRemainingLengthInStruct() > 0) in HandlePropertySet()
3132 SuccessOrExit(error = mDecoder.OpenStruct()); in HandlePropertySet()
3133 SuccessOrExit(error = mDecoder.ReadEui64(extAddress)); in HandlePropertySet()
3134 SuccessOrExit(error = mDecoder.CloseStruct()); in HandlePropertySet()
3159 SuccessOrExit(error = mDecoder.ReadBool(enabled)); in HandlePropertySet()
3179 while (mDecoder.GetRemainingLengthInStruct() > 0) in HandlePropertySet()
3184 SuccessOrExit(error = mDecoder.OpenStruct()); in HandlePropertySet()
3186 if (mDecoder.GetRemainingLengthInStruct() > sizeof(otExtAddress)) in HandlePropertySet()
3188 SuccessOrExit(error = mDecoder.ReadEui64(extAddress)); in HandlePropertySet()
3195 SuccessOrExit(error = mDecoder.ReadInt8(rss)); in HandlePropertySet()
3197 SuccessOrExit(error = mDecoder.CloseStruct()); in HandlePropertySet()
3232 SuccessOrExit(error = mDecoder.ReadIp6Address(address)); in HandlePropertySet()
3233 SuccessOrExit(error = mDecoder.ReadUint8(seriesId)); in HandlePropertySet()
3250 SuccessOrExit(error = mDecoder.ReadIp6Address(address)); in HandlePropertySet()
3251 SuccessOrExit(error = mDecoder.ReadUint8(seriesId)); in HandlePropertySet()
3252 SuccessOrExit(error = mDecoder.ReadUint8(length)); in HandlePropertySet()
3267 SuccessOrExit(error = mDecoder.ReadIp6Address(address)); in HandlePropertySet()
3268 SuccessOrExit(error = mDecoder.ReadUint8(controlFlags)); in HandlePropertySet()
3289 SuccessOrExit(error = mDecoder.ReadIp6Address(address)); in HandlePropertySet()
3290 SuccessOrExit(error = mDecoder.ReadUint8(seriesId)); in HandlePropertySet()
3291 SuccessOrExit(error = mDecoder.ReadUint8(types)); in HandlePropertySet()
3339 SuccessOrExit(error = mDecoder.ReadUint8(numericMode)); in HandlePropertySet()
3363 SuccessOrExit(error = mDecoder.ReadUint32(timeout)); in HandlePropertySet()
3383 return mDecoder.ReadBool(mRequireJoinExistingNetwork); in HandlePropertySet()
3396 SuccessOrExit(error = mDecoder.ReadDataWithLen(framePtr, frameLen)); in HandlePropertySet()
3397 SuccessOrExit(error = mDecoder.ReadData(metaPtr, metaLen)); in HandlePropertySet()
3443 SuccessOrExit(error = mDecoder.ReadUint16(port)); in HandlePropertyInsert()
3458 SuccessOrExit(error = mDecoder.ReadEui64(extAddress)); in HandlePropertyInsert()
3460 if (!mDecoder.IsAllRead()) in HandlePropertyInsert()
3462 SuccessOrExit(error = mDecoder.ReadInt8(rss)); in HandlePropertyInsert()
3488 SuccessOrExit(error = mDecoder.ReadEui64(extAddress)); in HandlePropertyInsert()
3507 if (mDecoder.GetRemainingLength() > sizeof(int8_t)) in HandlePropertyInsert()
3509 SuccessOrExit(error = mDecoder.ReadEui64(extAddress)); in HandlePropertyInsert()
3512 SuccessOrExit(error = mDecoder.ReadInt8(rss)); in HandlePropertyInsert()
3534 SuccessOrExit(error = mDecoder.ReadUint16(port)); in HandlePropertyRemove()
3555 SuccessOrExit(error = mDecoder.ReadEui64(extAddress)); in HandlePropertyRemove()
3568 SuccessOrExit(error = mDecoder.ReadEui64(extAddress)); in HandlePropertyRemove()
3581 if (mDecoder.GetRemainingLength() > 0) in HandlePropertyRemove()
3583 SuccessOrExit(error = mDecoder.ReadEui64(extAddress)); in HandlePropertyRemove()
3622 SuccessOrExit(error = mDecoder.ReadBool(enabled)); in HandlePropertySet()
3712 SuccessOrExit(error = mDecoder.ReadBool(start)); in HandlePropertySet()
3720 SuccessOrExit(error = mDecoder.ReadIp6Address(serverAddr.mAddress)); in HandlePropertySet()
3721 SuccessOrExit(error = mDecoder.ReadUint16(serverAddr.mPort)); in HandlePropertySet()
3722 SuccessOrExit(error = mDecoder.ReadBool(callbackEnabled)); in HandlePropertySet()
3741 SuccessOrExit(error = mDecoder.ReadUint32(interval)); in HandlePropertySet()
3758 SuccessOrExit(error = mDecoder.ReadUint32(interval)); in HandlePropertySet()
3839 SuccessOrExit(error = mDecoder.ReadUtf8(name)); in HandlePropertySet()
3885 while (!mDecoder.IsAllReadInStruct()) in HandlePropertySet()
3889 SuccessOrExit(error = mDecoder.ReadIp6Address(addresses[numAddresses])); in HandlePropertySet()
3947 SuccessOrExit(error = mDecoder.ReadUtf8(serviceName)); in HandlePropertyInsert()
3952 SuccessOrExit(error = mDecoder.ReadUtf8(instanceName)); in HandlePropertyInsert()
3956 SuccessOrExit(error = mDecoder.ReadUint16(entry->mService.mPort)); in HandlePropertyInsert()
3957 SuccessOrExit(error = mDecoder.ReadUint16(entry->mService.mPriority)); in HandlePropertyInsert()
3958 SuccessOrExit(error = mDecoder.ReadUint16(entry->mService.mWeight)); in HandlePropertyInsert()
3980 SuccessOrExit(error = mDecoder.ReadUtf8(serviceName)); in HandlePropertyRemove()
3981 SuccessOrExit(error = mDecoder.ReadUtf8(instanceName)); in HandlePropertyRemove()
3983 if (!mDecoder.IsAllReadInStruct()) in HandlePropertyRemove()
3985 SuccessOrExit(error = mDecoder.ReadBool(toClear)); in HandlePropertyRemove()
4019 SuccessOrExit(error = mDecoder.ReadBool(removeKeyLease)); in HandlePropertySet()
4020 SuccessOrExit(error = mDecoder.ReadBool(sendUnregToServer)); in HandlePropertySet()
4145 SuccessOrExit(error = mDecoder.ReadBool(enabled)); in HandlePropertySet()
4166 SuccessOrExit(error = mDecoder.ReadBool(testMode)); in HandlePropertySet()
4513 SuccessOrExit(error = mDecoder.ReadDataWithLen(framePtr, frameLen)); in HandlePropertySet()
4514 SuccessOrExit(error = mDecoder.ReadUint16(peerPort)); in HandlePropertySet()
4515 SuccessOrExit(error = mDecoder.ReadIp6Address(peerAddr)); in HandlePropertySet()
4516 SuccessOrExit(error = mDecoder.ReadUint16(sockPort)); in HandlePropertySet()
4635 SuccessOrExit(error = mDecoder.ReadBool(enabled)); in HandlePropertySet()
4800 SuccessOrExit(error = mDecoder.ReadUint8(wakeupChannel)); in HandlePropertySet()